Bill Moseley <moseley(_at_)netcom(_dot_)com> writes:
Is there something special about "Resent-" headers?
Yes.
...
Can anyone explain why deleting the "Resent-" headers made sendmail happy
and willing to deliver the message?
And why passing an email address in the sendmail command line worked without
having to delete the Resent- headers?
And what happened to the messages that sendmail accepted but didn't delete?
Where are they?
Sendmail follows (roughly) the following rules when deciding who to send
a message to:
If the '-t' flag is *not* given, then send the message to the recipients
listed on the command line.
If the '-t' flag *is* given, ignore any addresses on the command line,
and scan the headers for recipients.
If "Resent-" versions of any of the key headers (From, To, Cc, Bcc,
etc. This list varies) exist, then *only* scan the "Resent-"
headers for addresses.
When scanning for addresses, look at the "To", "Cc" and "Bcc" headers
(or "Resent-To", "Resent-Cc" and "Resent-Bcc").
Does that explain it?
Philip Guenther
----------------------------------------------------------------
Philip Guenther UNIX Systems and Network Administrator
Internet: guenther(_at_)gac(_dot_)edu Phonenet: (507) 933-7596
Gustavus Adolphus College St. Peter, MN 56082-1498
Source code never lies (it just misleads). (Programming by Purloined Letter?)