差異處
這裏顯示兩個版本的差異處。
Both sides previous revision 前次修改 下次修改 | 前次修改 | ||
mail [2016/10/21 21:43] jz |
mail [2016/10/23 00:10] (目前版本) jz |
||
---|---|---|---|
行 1: | 行 1: | ||
+ | 以下操作是在 FreeBSD | ||
+ | |||
===== mail ===== | ===== mail ===== | ||
行 40: | 行 42: | ||
mailhub=smtp.example.com:587 | mailhub=smtp.example.com:587 | ||
UseSTARTTLS=YES | UseSTARTTLS=YES | ||
+ | UseTLS=Yes | ||
FromLineOverride=YES | FromLineOverride=YES | ||
rewriteDomain=example.com | rewriteDomain=example.com | ||
+ | </code> | ||
+ | |||
+ | 別名設定 /usr/local/etc/ssmtp/revaliases | ||
+ | <code> | ||
+ | root:[email protected]:smtp.example.com:587 | ||
</code> | </code> | ||
行 52: | 行 60: | ||
</code> | </code> | ||
+ | 除了 ssmtp 也可以用 msmtp | ||
+ | |||
+ | |||
+ | 參考 | ||
+ | * https://fourdollars.blogspot.tw/2009/08/ssmtp-gmail.html | ||
+ | * https://www.freebsd.org/doc/handbook/mail-changingmta.html#mail-disable-sendmail | ||
+ | * https://wiki.freebsd.org/SecureSSMTP | ||
+ | * http://linuxpitstop.com/install-ssmtp-to-send-emails-to-gmail-and-office3655/ | ||
+ | * https://wiki.archlinux.org/index.php/SSMTP | ||
+ | * http://lang.idv.tw/doku.php/os/linux/%E5%AF%84mail | ||
+ | * https://www.freebsd.org/cgi/man.cgi?query=msmtp&apropos=0&sektion=0&manpath=FreeBSD+6.4-RELEASE+and+Ports&format=html | ||
+ | * https://wiki.archlinux.org/index.php/mutt | ||
+ | * http://tecadmin.net/ways-to-send-email-from-linux-command-line/ |