Sendmail Multiple recipients queue behaviour host lookups

From: Greg Kaloutsis (gregk@qld.gov.au)
Date: Thu Aug 26 2004 - 19:09:35 EDT


I have noticed what appears to be strange behavior for the processing of
emails in sendmail.

Assume you have an email with say 20 recipients
Sendmail goes to send the message. However about 5 recipients down the
list it cannot connect to the destination MX host.

A few questions:
    1. Does it keep trying the others or just put the message in the
mail queue?
    2. In the queue how does it know to whom in the list of recipients
it has sent the message?
    3. Processing the message in the queue it seems to do host lookups
on all the recipients.
        Surely it knows whom it has sent it to?

The reason I ask is that I have noticed when I try to manually do some
queue runs in debug mode for
domain that was down.
    /usr/lib/sendmail -v -d60.1 -qRdomainthatwasdown
Sendmail spends a very long time on some of the lookups
    map_lookup(host, ".....domains in the list of recipients"

What I'd really like to be able to do is tune this so that its not doing
lookups for recipients it has already sent the message to.

-- 
Greg Kaloutsis
Systems Administrator - GovNet
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers


This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:29:21 EDT