Advertisement
asanchez75

Linux/mail

Feb 23rd, 2012
457
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. http://www.cyberciti.biz/faq/exim-remove-all-messages-from-the-mail-queue/
  2. http://www.exim.org/exim-html-current/doc/html/spec_html/ch50.html#SECTfinindret
  3.  
  4.  
  5. sudo eximstats -nr -ne /var/log/exim4/mainlog
  6.  
  7. To print a list of the messages in the queue, enter:
  8.  
  9. # exim -bp
  10. To remove a message from the queue, enter:
  11.  
  12. # exim -Mrm {message-id}
  13. To remove all messages from the queue, enter:
  14.  
  15. # exim -bp | awk '/^ *[0-9]+[mhd]/{print "exim -Mrm " $3}' | bash
  16.  
  17. to clean queue
  18.  
  19. exim -qff
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement