• Edit
  • Delete

exim cheatsheet

http://bradthemad.org/tech/notes/exim_cheatsheet.php

Show mails in queue

  • mailq

Log

/var/log/exim4/mainlog

Flush queue

  • exim -qff

Remove all messages from queue

  • exim -bp | exiqgrep -i | xargs exim -Mrm

exim exim4 configuration smtp_accept_queue_per_connection

 
I was getting the warning:  
 
no immediate delivery: more than 10 messages received in one connection
 
It was driving me crazy because I needed to send more mails, faster... ; )
 
I suffered to find this one out, and it was a stupid stupid detail....
 
I did:
 

vim /etc/exim4/update-exim4.conf.conf

and added the line at the end of the file:

 

smtp_accept_queue_per_connection=100

 

then reloaded exim's configuration

update-exim4.conf



 $ sudo /etc/init.d/exim4 reload
 * Reloading exim4 configuration files   [ OK ]

From Joli

Wichtige Files & Kommandos:
o    /home/assp/maillog.txt ? ASSP Maillog In/Out Log
o    /var/log/exim4/mainlog ? Mail Out Spooler Log
o    /var/log/syslog
o    /home/assp/quarantine ? geblockte attachments & Virus Mails
Exim (Mail out spooling):
o    mailq ? zeigt alle mails in der queue an
o    exim -qff ? startet sofort einen queue run
o    exim -Mrm <msgid> ? Löscht die Mail aus der queue
o    exim -Mvh <message id> ? zeigt den Header
o    exim -Mvb <message id> ? zeigt den Body
o    exim -Mvl <message id> ? zeit das spool log der Message an
o    exim_dumpdb /var/spool/exim4 retry ? zeigt die RetryDB an
o    exim_tidydb -t 0d /var/spool/exim4 retry ? löscht alle einträge aus der RetryDB

Exim commandline reference:
http://www.exim.org/exim-html-4.66/doc/html/spec_html/ch05.html