mailscanner only sees the envelope TO - solved

Ken Anderson ka at PACIFIC.NET
Fri Jul 18 14:30:18 IST 2003


Peter Peters wrote:

> On Thu, 17 Jul 2003 08:23:31 -0700, you wrote:
>
>
>>Here's what I did. If any sendmail gurus out there thing this is a bad
>>idea, please let me know what a mess I've made of things :-)
>
>
> It looks good.
>
>
>>Restart sendmail, and things like this start showing up in the log when
>>messages with multiple recipients come in:
>>
>>Jul 17 08:14:31 host sendmail[7183]: h6HFDop8007183: split: maxrcpts=1,
>>rcpts=3, count=2, ids=h6HFDop9007183; h6HFDopA007183
>
>
> I use queue-ID's to track messages through our systems. I presume this
> logline appears next to the from=/to= lines from the incoming sendmail.

Yes, the first TO gets the original message id, and the new split
messages get the ids listed above as ids=xxxxx;xxxxx, so it's possible
to track them.

> After that the messages is processed by MS. Could you confirm that the
> new queue-ID's are used in de MS loglines. I presume that sendmail
> handles it correctly when he delivers the three messages after the
> scanning.

Yes, we put about 500k messages through it yesterday. Sendmail splits
the message before it puts the clones of the message into the mqueue.in
queue that is used by MailScanner as input. Each message has a unique
message id. The total number of messages that your system will then
process, and the load on mailscanner will increase a bit, but MS sees
these as individual messages having the ids that sendmail assigns in the
split log line.

Note: I wouldn't do this on a system that accepted messages with 100
recipients per message, since the load would skyrocket if a spammer sent
more than a few such messages to your system at a time. I'm not sure how
things like 'BadRecipient Throttle' work in combination with Queue
Groups, but it might help in such cases.

Ken



> --
> Peter Peters, senior netwerkbeheerder
> Dienst Informatietechnologie, Bibliotheek en Educatie (ITBE)
> Universiteit Twente,  Postbus 217,  7500 AE  Enschede
> telefoon: 053 - 489 2301, fax: 053 - 489 2383, http://www.utwente.nl/civ
>
>



More information about the MailScanner mailing list