Mail Systems

From Alessandro's Wiki
Revision as of 11:23, 20 April 2011 by Xunil (talk | contribs) (Created page with " == exim == === commands === * see the queue: mailq ** or exim -bp the output shows the message queue giving useful information to work with it: root@lingua:~# mailq 24...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)



exim

commands

  • see the queue:
mailq
    • or
exim -bp

the output shows the message queue giving useful information to work with it:

root@lingua:~# mailq
24h   379 1QC8cA-0001iy-B3 <ciaotest@server.company.n>
          hellobye@server.company.nl
  • 1QC8cA-0001iy-B3
    message ID (corresponds to a filename)
    24h
    time msg spent in the queue
    379
    the size in bytes.
  • find a queued message:
find /var/spool/ -name "1QC8cA-0001iy-B3*"
  • to un-queue messages, I delete the files found by the find command (to rude maybe?)... it works
  • flush the queue:
runq
  • or
exim -q
    • flush queue forcing frozen messages to be sent
exim -qf 
    • flush queue forcing frozen/non-frozen messages to be sent
exim -qff

postfix