This shows you the differences between two versions of the page.
linux:emailserver:exim_mta [2013/05/11 18:34] tkilla created |
linux:emailserver:exim_mta [2016/09/18 18:29] (current) tkilla |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== MTA - Mail transfer agents |
+ | ====== Exim ====== | ||
small mail transfer agent listening on port 25 - useful on local server | small mail transfer agent listening on port 25 - useful on local server | ||
sometimes it crashs.. ^^ | sometimes it crashs.. ^^ | ||
Line 20: | Line 21: | ||
remove all frozen messages from mailq: | remove all frozen messages from mailq: | ||
exim -bp | exiqgrep -i | xargs exim -Mrm | exim -bp | exiqgrep -i | xargs exim -Mrm | ||
+ | |||
+ | |||
+ | ====== SSMTP ====== | ||
+ | |||
+ | not even a daemon. it just forwards mails. very simple and useful for websites and system to just send mail. | ||
+ | |||
+ | / | ||
+ | |||
+ | # The user that gets all the mails (UID < 1000, usually the admin) | ||
+ | root=username@gmail.com | ||
+ | |||
+ | # The mail server (where the mail is sent to), both port 465 or 587 should be acceptable | ||
+ | # See also https:// | ||
+ | mailhub=smtp.gmail.com: | ||
+ | | ||
+ | # The address where the mail appears to come from for user authentication. | ||
+ | rewriteDomain=gmail.com | ||
+ | | ||
+ | # The full hostname | ||
+ | hostname=localhost | ||
+ | | ||
+ | # Use SSL/TLS before starting negotiation | ||
+ | UseTLS=Yes | ||
+ | UseSTARTTLS=Yes | ||
+ | | ||
+ | # Username/ | ||
+ | AuthUser=username | ||
+ | AuthPass=password | ||
+ | | ||
+ | # Email 'From header' | ||
+ | FromLineOverride=yes | ||
+ | |||
+ | |||
+ | info copied from: https:// | ||
+ |