Here is my current greylist mimedefang filter. put both files in /etc/mail/ then in mimedefang-filter put in. require "greylist.mimedefang-filter.pl";
Greylisting is called as part of filter_sender, filter_relay, filter_sender. filter_sender. I also do some helo and ip checking, (and reject mail based on this!) and sender verification from sial.org; posted code. Understand it before you deploy it. Download from here: http://www.cs.montana.edu/support/greylist.mimedefang-filter.pl http://www.cs.montana.edu/support/greylist.mimedefang.pl This should answer your questions... I got much of this from code Big DFS posted awhile ago and sial.org. --Luke David F. Skoll said: > On Tue, 22 Jun 2004, Jeff Grossman wrote: > >> But, for some reason the macro is still not making it to MIMEDefang. > > The %SendmailMacros hash is available only in filter_begin, filter and > filter_end, not in filter_recipient. If you want to test for > authentication in filter_recipient, you need to parse the COMMANDS > file, whose format is described in the mimedefang-protocol(7) man > page. > > Regards, > > David. > _______________________________________________ > Visit http://www.mimedefang.org and http://www.canit.ca > MIMEDefang mailing list > [EMAIL PROTECTED] > http://lists.roaringpenguin.com/mailman/listinfo/mimedefang > -- Luke Computer Science System Administrator Security Administrator,College of Engineering Montana State University-Bozeman,Montana _______________________________________________ Visit http://www.mimedefang.org and http://www.canit.ca MIMEDefang mailing list [EMAIL PROTECTED] http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

