4 messages in net.sourceforge.lists.courier-users[courier-users] Re: BOFH badfrom
FromSent OnAttachments
Joe LaffeyMar 18, 2003 8:41 am 
Sam VarshavchikMar 18, 2003 2:51 pm 
Joe LaffeyMar 18, 2003 3:52 pm 
Sam VarshavchikMar 18, 2003 4:52 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[courier-users] Re: BOFH badfromActions...
From:Sam Varshavchik (mrs@courier-mta.com)
Date:Mar 18, 2003 4:52:43 pm
List:net.sourceforge.lists.courier-users

Joe Laffey writes:

On Tue, 18 Mar 2003, Sam Varshavchik wrote:

Joe Laffey writes:

How efficient is it to have a long list of badfrom's in bofh? Is there a more efficient way? This file is not hashed, right?

No, it's not. Still, even a couple of hundred of domains will not be too bad.

So the code iterates over every line in that file with every incoming connection? Or is the file read and parsed and then stored in memory? Is there currently and way to have this in a DB using courier?

The file is read each time. CPU cycles are cheap, and this occurs outside of the main processing loop.