User Tools

Site Tools


linux:emailserver:exim_mta

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

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:
-====== Exim MTA ======+====== 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.
 +
 +/etc/ssmtp/ssmtp.conf:
 +
 +  # 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://support.google.com/mail/answer/78799
 +  mailhub=smtp.gmail.com:587
 +  
 +  # 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/Password
 +  AuthUser=username
 +  AuthPass=password
 +  
 +  # Email 'From header's can override the default domain?
 +  FromLineOverride=yes
 +
 +
 +info copied from: https://wiki.archlinux.org/index.php/SSMTP
 +
linux/emailserver/exim_mta.1368290073.txt.gz ยท Last modified: 2013/05/11 18:34 by tkilla