[Mimedefang] stream_by_... and invalid users

John Nemeth jnemeth at victoria.tc.ca
Tue Oct 14 08:28:58 EDT 2003


On Jan 25,  8:04pm, "David F. Skoll" wrote:
} On Fri, 10 Oct 2003, John Nemeth wrote:
} 
} >      For the second test, I specified an invalid return address with a
} > valid domain, <blah2 at cornerstoneservice.ca>, a valid recipient and an
} > invalid recipient.  sendmail gave me an error on the invalid recipient
} > as expected.  However, when MIMEDefang did stream_by_recipient(), it
} > generated a message for both recipients.  Why does it do this?
} 
} That shouldn't have happened.  MIMEDefang is passed the recipient list
} via milter calls, and it has no way of knowing if the recipient is

     I had a feeling you might say something like this.

} valid or not.  I didn't think Sendmail would make a milter callback
} for invalid recipients, but your experience seems to suggest it does.
} I'll look into it.  However, if this is the expected behavior of Sendmail,

     I dug through the sendmail source code.  The basic process is to
pass the recipient to the check_rcpt ruleset, then to give the milters
a crack at it, and finally to do local tests (i.e. look for aliases,
and check local users).  This means that milters may be passed invalid
recipients.  I've brought the issue up on one of the sendmail mailing
lists, but I haven't had any answers yet.

} there's nothing you can do about it.

    PERL isn't one of my strong suits, but C is...  "Sendmail, you're
going to have a chat with Mr. Vi, and then you're going to have a chat
with Mr. GCC," said I...  I will report back after it is fully tested
and/or I get some input from the sendmail people.

}-- End of excerpt from "David F. Skoll"



More information about the MIMEDefang mailing list