[Mimedefang] OT:Sendmail qtool.pl question

Kelsey Cummings kgc at sonic.net
Wed Feb 25 18:04:25 EST 2004


On Wed, Feb 25, 2004 at 03:27:55PM -0500, David F. Skoll wrote:
> On Wed, 25 Feb 2004, Lucas Albers wrote:
> 
> > I am trying to use qtool to clean queue items on my sendmail queue that
> > have the following error codes on delivery:
> > Diagnostic-Code: SMTP; 554 5.7.1*
> 
> I assume you want to clean out messages *from* your mail server *to*
> recipients that have that code.  Because Sendmail won't keep a 5xx-failed
> message in the queue.
> 
> I'd recommend an alternate strategy:  Check the sender of the message;
> if it is "<>"; you might as well nuke it after it's been in the queue for
> a day or two, because it's a bounce notification that won't be going
> anywhere.

David, Got a bit of example code to take care of that? 

-- 
Kelsey Cummings - kgc at sonic.net           sonic.net, inc.
System Administrator                      2260 Apollo Way
707.522.1000 (Voice)                      Santa Rosa, CA 95407
707.547.2199 (Fax)                        http://www.sonic.net/
Fingerprint = D5F9 667F 5D32 7347 0B79  8DB7 2B42 86B6 4E2C 3896



More information about the MIMEDefang mailing list