Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
relay_smtp_gmail [2016-02-12 14:39] Joakim Forsgren |
relay_smtp_gmail [2016-02-12 14:46] Joakim Forsgren |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | == Installera förstnågra program | + | ====== Konfigurera Postfix att använda Gmail som SMTP (Ubuntu) ====== |
+ | |||
+ | |||
+ | Installera först några program | ||
< | < | ||
sudo apt-get install postfix mailutils libsasl2-2 ca-certificates libsasl2-modules | sudo apt-get install postfix mailutils libsasl2-2 ca-certificates libsasl2-modules | ||
Line 5: | Line 8: | ||
När du installerar postfix välj din server **Internet Site** och **FQDN** tex. ditt // | När du installerar postfix välj din server **Internet Site** och **FQDN** tex. ditt // | ||
- | == Redigera konfigurationsfilen (jag använder vim)== | + | Redigera konfigurationsfilen (jag använder vim) |
< | < | ||
vim / | vim / | ||
Line 38: | Line 41: | ||
Starta om postfix | Starta om postfix | ||
- | </code> | + | < |
sudo / | sudo / | ||
</ | </ | ||
- | == Ställa om säkerheten i ditt google konto == | + | Ställa om säkerheten i ditt google konto |
Längst ner på sidan\\ | Längst ner på sidan\\ | ||
+ | {{:: | ||
https:// | https:// | ||
- | == Testa == | + | Testa |
< | < | ||
echo "Test mail from postfix" | echo "Test mail from postfix" | ||
</ | </ | ||
- | |||
- | |||
- | |||
- | |||
- | https:// |