Differences

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

Link to this comparison view

exim [2017/10/15 14:43]
rzr [error frozen]
exim [2018/09/20 19:42] (current)
rzr
Line 2: Line 2:
  
   sudo apt-get install exim4-config exim4 mutt   sudo apt-get install exim4-config exim4 mutt
-  dpkg-reconfigure exim4-config+  sudo dpkg-reconfigure exim4-config
   # mail sent by smarthost; received via SMTP or fetchmail   # mail sent by smarthost; received via SMTP or fetchmail
   # www.${domain}.org___________________________________________________________________________________________________   # www.${domain}.org___________________________________________________________________________________________________
Line 8: Line 8:
   # Maildir format in home directory    # Maildir format in home directory 
   # Machines to relay mail for:   127.0.0.1   # Machines to relay mail for:   127.0.0.1
-  # IP address or host name of the outgoing smarthost: smtp.free.fr # TODO  +  # IP address or host name of the outgoing smarthost: TODO 
 +  ## smtp.free.fr # TODO   
 +  ## smtp.gmail.com::587 # TODO select one
   # Split configuration into small files? : YES   # Split configuration into small files? : YES
-  +  sudo less /var/log/exim4/mainlog 
   * http://newbiedoc.sourceforge.net/networking/exim.html#ABITMOREADVANCED   * http://newbiedoc.sourceforge.net/networking/exim.html#ABITMOREADVANCED
 +  * https://wiki.debian.org/GmailAndExim4
  
   cat /etc/email-addresses   cat /etc/email-addresses
Line 45: Line 49:
 EOF EOF
  
 +sudo systemctl restart exim4
 +
 +echo "$USER $EMAIL" | mail $EMAIL
 +sudo mailq
 +mutt
 </code> </code>
  
Line 175: Line 184:
 How to send and flush queue : How to send and flush queue :
  
-  sudo mailq | grep '*** frozen ***' | wc -l && sudo exim4 -qqff -d-all -v && mailq+  sudo mailq | grep '*** frozen ***' | wc -l && sudo exim4 -qqff -d-all -v && sudo mailq
  
 View body of queue messages: View body of queue messages:
exim.1508071402.txt.gz · Last modified: 2017/10/15 14:43 by rzr
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki