Outils pour utilisateurs

Outils du site


informatique:reseau:exim4

Exim4

MTA, Service SMTP

Voir aussi Postfix

Tips & Tricks

Vider le queue

Forcer le traitement de la queue:

# /usr/sbin/exim -qf

Ainsi que les messages “frozen”:

# /usr/sbin/exim -qff

Compter le nombre de messages dans la queue:

# /usr/sbin/exim -bpr | grep "<" | wc -l 

Helpful Exim Commands

/usr/sbin/exim   -M   email-id        => Force delivery of one message
/usr/sbin/exim -qf                  => Force another queue run
/usr/sbin/exim -qff                 => Force another queue run and attempt to flush the frozen message
/usr/sbin/exim  -Mvl   messageID  => View the log for the message
/usr/sbin/exim  -Mvb  messageID  => View the body of the message
/usr/sbin/exim  -Mvh  messageID  => View the header of the message
/usr/sbin/exim -Mrm  messageID  =>  Remove message without sending any error message
/usr/sbin/exim  -Mg  messageID   =>  Giveup and fail message to bounce the message to the Sender

/usr/sbin/exim -bpr | grep “<” | wc -l    =>Number of emails in the que
/usr/sbin/exim -bpr | grep frozen | wc -l   => How many Frozen mails on the queue
/usr/sbin/exim -bpr | grep frozen | awk {‘print $3’} | xargs exim -Mrm   =>  Deleteing Frozen Messages
informatique/reseau/exim4.txt · Dernière modification: 02/03/2016 12:38 par cyrille