[NTLUG:Discuss] Sendmail - queued messages

kbrannen@gte.net kbrannen at gte.net
Mon Jan 21 22:22:42 CST 2002


Greg Edwards wrote:

> Seems to be something that would be simple but:)
> 
> How do you tell sendmail to stop trying to send a message that was not
> delieverd and the server has said it would keep trying.
> 
> "message not deliverable in the last 4 hours"
> 
> "will keep trying for 5 days"
> 
> TIA,
> 

Hmm, how about (as root) go into /var/spool/mqueue, find the message and 
delete it?  There should be 2 files, 1 with a "d" and 1 with a "q" but with 
the same "random" number after the letter, IIRC.  One's the message, the other 
is a control file, remove them both.

HTH,
Kevin






More information about the Discuss mailing list