[Mimedefang] Question on placement of filter_helo & other function

David F. Skoll dfs at roaringpenguin.com
Wed Mar 21 13:27:20 EST 2007

David Reta wrote:

> To combat the impersonating of our domain and IP's I am in the process
> of implementing filter_helo. Should this be placed in
> /etc/mail/mimedefang-filter or /usr/local/bin/mimedefang.pl? 

/etc/mail/mimedefang-filter.  You should **NEVER** add site-specific
configuration code to mimedefang.pl.

> On another note I will also be implementing a function that discards
> mail sent to invalid addresses. We gets lots of spam sent to invalid
> addresses. This will be done by keeping a table of valid smtp addresses
> which are retreived via ldap from our domain controllers. Should I call
> this function from filter_begin?

No; it should be called from filter_recipient.

> This email and attachments may contain Narus, Inc. confidential
> material. If you are not the intended recipient, contact the sender
> immediately and delete all instances of this email and attachments.

Please see http://lists.roaringpenguin.com/mailman/listinfo/mimedefang



More information about the MIMEDefang mailing list