[Mimedefang] Whitelisting Outbound E-Mail Addresses

Lee Dilkie lee at dilkie.com
Wed Jun 9 18:56:20 EDT 2004


>
>> I implemented this using the access.db feature of Sendmail, 
>> with scripts
>> every five minutes scanning the logs and adding new entries.  
>
>Any particular reason for doing it this way vs. implementing something
>within the mimedefang-filter to do it real-time much as greylisting
>does?  I'm asking because the next item on my development list is
>implementing something similar to what you are doing, but I 
>had intended
>on doing it real-time in the mimedefang-filter with a separate 
>.db file.
>
>Any thoughts?
>
>Charles

I modded up my (well, the code that was posted here some time ago)
greylisting code to track authenticated outbound mail as well. Coupled
with a db expiry scheme which deletes singleton inbound entries (one's
that have a count of 1) after two days, decrements the count of
non-singleton entries every 10 days and leaves any singleton entries that
have a reverse entry (whitelist) alone. It was my first perl program from
scratch after having cut my teeth on mimedefang-filter (with the o'reilly
book in my lap). I run it as a cron every night.

I like the results.

-lee


More information about the MIMEDefang mailing list