/Main_Page

::You must have ninja focus to complete your mission::NinjaFocus::

Exim

Views:


Various little things to do when running an exim mail server.

queue

$ exim -bp

queue summary:

$ exim -bp|exiqsumm
$ exim -brp | exiqsumm | tail         
    1       0    2252     36m     36m  windsorhoteis.com.br
    1       1    1126     37h     37h  ww.com
    1       1    6246     26h     26h  yahoo.co.th
    4       0    20KB      4m      0m  yahoo.co.uk
    9       6    22KB     47m      0m  yahoo.com
    2       2    2252     39h     19m  yahoo.de
    1       0   110KB     87m     87m  yorku.ca
---------------------------------------------------------------
  705     309    53MB      5d      0m  TOTAL


check routing:

bash-2.03$ exim -bt bob@example.com
bob@imap.example.com
    <-- bob@example.com
  router = imapmail, transport = imaptransport
  host imap.example.com [10.10.0.34]
  
 

headers

$ exim -Mvh 1Ni4hu-0000ri-KQ

body

$ exim -Mvb 1Ni4hu-0000ri-KQ


Stop attempting to deliver mails that have been on the queue for 4 days or more. (Bounce messages are discarded). Senders are sent an Error message "cancelled by administrator"

exiqgrep -i -o 345600 | xargs exim -Mg

Remove frozen messages:

exiqgrep -iz | xargs exim -Mrm
exim -bd -q15m
exim -Mc <msg id> 

-d debug 
-M <msg id>
-q process queue
-db daemon
-dbf don't fork off
-bP [setting] config dump
-bp [msg ids] show mail queue 
-bpr as -bp with messages not sorted in order of arrival
-bpc number of messages in queue

mailq = exim -bp 
runq = exim -q

Main Menu

Personal tools

Toolbox