[Mimedefang] md_check_against_smtp_server and md_graphdefang_log

James Curtis jameswcurtis at hotmail.com
Fri Mar 22 22:13:04 EDT 2013

> Date: Fri, 22 Mar 2013 18:56:44 -0700
> --- On Fri, 3/22/13, James Curtis <jameswcurtis at hotmail.com> wrote:
> > I'm trying to piece together a filter
> > that logs and blocks traffic that is unnecessary. I
> > can't get md_graphdefang_log to put in an entry for items
> > that are refused because of 'User unknown' responses.
> The problem is that when Sendmail has already determined an error has occurred based on its rulesets, the corresponding milter >function is NOT called - thus there will be no such log entry for the above error unless your MD filter code determines that the user >is unknown, not sendmail.

I don't have any sendmail configuration that checks for bad users.  
If I take out the "md_check_against_smtp_server($sender, $recip, "mail.hml.com", "");" it doesn't block any unknown users.


More information about the MIMEDefang mailing list