[Mimedefang] Multiple Recipients

Rick Mallett rmallett at ccs.carleton.ca
Wed Nov 27 10:04:01 EST 2002


David F. Skoll writes:
> 
> On Tue, 26 Nov 2002, Rick Mallett wrote:
> 
> > I've noticed in my sendmail logs that a single incoming message
> > (single from= entry) can result in multiple mimedefang scannings of
> > the message, presumably because multiple recipients are specified in
> > the envelope. Is there any way to avoid this?
> 
> This should not be happening; could you post the logs?  MD should scan only
> once per SMTP transaction, regardless of the number of recipients, unless
> you use one of the stream_by_xxx functions.
> 

I'm not using one of the stream_by_xxx functions, and I'm seeing
repeated scannings of the same message (same message ID) frequently
in the log file. 

Here is a sample where I've manually re-formatted the records for
readability, and I've changed the local addresses to mask the real
valid address (eg. "xxxxxx at ccs.carleton.ca"). I've only shown 3 of 10
mimedefang.pl entries - all were to users in the same domain in this
case. It would be great of there was a solution to this problem. We
process about 100,000 messages a day and the overhead of repeated
scannings is considerable.

------------

Nov 27 00:06:41 driftwood sendmail[17155]: gAR56fKK017155: \
   Milter (mimedefang): init success to negotiate

Nov 27 00:06:41 driftwood sendmail[17155]: gAR56fKK017155: \
   Milter: connect to filters

Nov 27 00:06:42 driftwood sendmail[17155]: gAR56fKK017155: \
   from=<bmays52217g64 at yahoo.com>, size=18879, class=0, nrcpts=10, \
   msgid=<010d05a48b2c$2774b8b1$7bd35bb3 at hyceam>, proto=ESMTP, \
   daemon=Daemon0,  relay=root at sebastian [134.117.12.53]

Nov 27 00:06:43 driftwood.ccs.carleton.ca mimedefang.pl[15792]: \
   MDLOG,gAR56fKK017155,spam,25.2,134.117.12.53, \
   <bmays52217g64 at yahoo.com>,<xxxxxx at ccs.carleton.ca>, \
   Looking for that someone?                                      \
                                  4288LvVV6-179pLti7304TGAm9-09-27

Nov 27 00:06:43 driftwood.ccs.carleton.ca mimedefang.pl[15792]: \
   MDLOG,gAR56fKK017155,spam,25.2,134.117.12.53, \
   <bmays52217g64 at yahoo.com>,<yyyyyy at ccs.carleton.ca>, \
   Looking for that someone?                                      \
                                  4288LvVV6-179pLti7304TGAm9-09-27

Nov 27 00:06:43 driftwood.ccs.carleton.ca mimedefang.pl[15792]: \
   MDLOG,gAR56fKK017155,spam,25.2,134.117.12.53, \
   <bmays52217g64 at yahoo.com>,<zzzzzz at ccs.carleton.ca>, \
   Looking for that someone?                                      \
                                  4288LvVV6-179pLti7304TGAm9-09-27
   .
   .
   .

Nov 27 00:06:43 driftwood.ccs.carleton.ca mimedefang.pl[15792]: \
   filter: gAR56fKK017155:  discard=1

Nov 27 00:06:43 driftwood sendmail[17155]: gAR56fKK017155: \
   Milter: data, discard

Nov 27 00:06:43 driftwood sendmail[17155]: gAR56fKK017155: 
   to=<xxxxxx at ccs.carleton.ca>, delay=00:00:02, pri=301221, stat=discarded

Nov 27 00:06:43 driftwood sendmail[17155]: gAR56fKK017155: 
   to=<yyyyyy at ccs.carleton.ca>, delay=00:00:02, pri=301221, stat=discarded

Nov 27 00:06:43 driftwood sendmail[17155]: gAR56fKK017155: \
   to=<zzzzzz at ccs.carleton.ca>, delay=00:00:02, pri=301221, stat=discarded

   .
   .
   .

- rick --




More information about the MIMEDefang mailing list