A separate table could be used to hold "whitelist" data, by IP/segment. Then your greylisting code could first perform a lookup of the relaying IP in the whitelist table. If found there, skip the resto of your greylisting logic. Else, fall through to the rest of your logic and handle the greylisting/tempfailing as you currently do. That's what I do (along with tossing an entry into the log to indicate the exemption from greylisting.)
Ken -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Roland Pope Sent: Thursday, March 09, 2006 3:43 PM To: [email protected] Subject: [Mimedefang] Greylist Exclusions Hi, I have been running a Mimedefang Integrated MySQL variation of greylisting now for the past 3-4 months, which has dropped the amount of SPAM we have to reject after the DATA phase by 3 quarters! However, I am getting requests from users who want to have particular sender domains excluded from the greylisting. Does anyone have any ideas as to the best way to go about this? I know I could do a sub filter_sender { if $sender =~ /[EMAIL PROTECTED]>?$/i { $NO_GREYLISTING_FOR_THIS_MSG = 1; } But is there a better way of bypassing greylisting for selected sending domains? Thanks Roland _______________________________________________ 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 [email protected] http://lists.roaringpenguin.com/mailman/listinfo/mimedefang _______________________________________________ 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 [email protected] http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

