Hi all,

I have a mimedefang filter that discards all messages with "relayaddr
ne 127.0.0.1".  It is a sort of journaling server for mail.  Sometimes
I am finding that some (a very small number) of mails are somehow
being sent out.  These mails are coming from an external system
originally, but they don't seem to hit mimedefang's filter.  Any
ideas?

pseudo-code:

filter_end {
  if($RelayAddr ne '127.0.0.1') {
    do processing;
    discard;
  }
}

server log entry:

Oct 20 10:16:09 inbound sendmail[12981]: s9K1G8oB012981: from=<a@b>,
size=32820, class=0, nrcpts=1, msgid=<z@z>, proto=ESMTP, daemon=MTA,
relay=ip-10-0-4-5 [10.0.4.5]
Oct 20 10:31:21 inbound sendmail[6491]: s9K1G8oB012981: to=<d@e>,
delay=00:15:12, xdelay=00:00:00, mailer=esmtp, pri=242820,
relay=abc.com., dsn=5.3.5, stat=Local configuration error
Oct 20 10:31:21 inbound sendmail[6491]: s9K1G8oB012981:
s9K1VGlK006491: DSN: Local configuration error
Oct 20 10:31:22 inbound sendmail[6491]: s9K1G8oB012981:
s9K1VGlL006491: postmaster notify: Local configuration error

Ignoring the fact that this is failing with an error, the important
thing is that somehow sendmail is trying to send out some of my mails
on a server with a discard all milter.  In the first log entry, it
shows a relay address that isn't 127.0.0.1.  However the code should
digest all non-local mails.  Is this mail somehow being turned into a
local relay message (say if the server is overloaded and it has to
queue some messages) ?

My apologies if my terminology isn't spot on.

Regards,
Nate
_______________________________________________
NOTE: If there is a disclaimer or other legal boilerplate in the above
message, it is NULL AND VOID.  You may ignore it.

Visit http://www.mimedefang.org and http://www.roaringpenguin.com
MIMEDefang mailing list MIMEDefang@lists.roaringpenguin.com
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

Reply via email to