[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]
On 31/03/12 12:17, Philip Hudson wrote: > OK, I give up. How do you check whether the unix mail ('mail' or 'mailx' > or 'Mail') queue is empty from the command line? On *BSD/darwin it's > 'mail -e', which gives you an exit status telling you whether there's > anything queued or not. Depends what "mail" command you have. My /usr/bin/mail uses the alternatives system to point to /usr/bin/bsd-mailx from the Debian bsd-mailx package. So for me the command is "mail -e". If in doubt "man mail" will probably tell you on Debian, except it isn't documented for bsd-mailx - I'll file a bug. -- The Mailing List for the Devon & Cornwall LUG http://mailman.dclug.org.uk/listinfo/list FAQ: http://www.dcglug.org.uk/listfaq