[Mimedefang] Rejecting in filter_relay()

Jason Bertoch jason at electronet.net
Thu Feb 17 11:17:21 EST 2011

> -----Original Message-----
> From: mimedefang-bounces at lists.roaringpenguin.com [mailto:mimedefang-
> bounces at lists.roaringpenguin.com] On Behalf Of Delahunty, Mark
> Hi
> I want to reject RBL-listed relays, but I also want to notify any
> genuine RBL-listed senders that they are listed, e.g:

Why not use the rejection built into your MTA?  For Sendmail:

FEATURE(`enhdnsbl', `zen.spamhaus.org', `"Mail from "$&{client_addr}" rejected.
Refer your mail administrator to
http://www.spamhaus.org/query/bl?ip="$&{client_addr}', `t')dnl

Jason A. Bertoch

More information about the MIMEDefang mailing list