I have a score-reducing algorithm for SA based on known 'good' senders. From a simple one-address-per-line file (which can easily be manually or automatically edited) is built a local_welcoming.cf file which is used by SA - with lines like this:

score LOCAL_WELCOMING_4 -4
header LOCAL_WELCOMING_4 From =~ /(\@myfriend\.com|jennifer_smith\@btinternet\.com|\fred321@gmail\.com)>?\s*$/i

But this is a just a short example with 3 addresses. In reality I have a single line with c.2000 addresses all concatenated like this, and it is growing. It works fine, but I suspect it is sub-optimal i.e. horrible to read and perhaps slow to parse. Is there a line length limit in SA? Is there a better way? Most of the listed items are full email addresses but some are domains only.

Thanks for any suggestions.

Reply via email to