On Thu, 2008-12-04 at 15:20 -0600, Matt wrote: > Is there a way to tell Spamassassin to whitelist a dynamic list of > IP's in a file? I have have a dynamic list of IP's called ./pop_hosts > that have checked email by pop3 within last 15 minutes and I would > like to white list them all if thats possible. The IP's in the file > are constantly changing though. > Two suggestions:
- its easy enough to modify the SentOutDB plugin and associated rules to get the same effect. I'm using this approach to whitelist any address in my mail archive that I've sent mail to. I had to exclude my own domain from this list to avoid incorrectly whitelisting spam which has forged my domain as the sender. - alternatively, it might be possible to use the user preferences database as a dynamic whitelist store. It would be easy enough to add and remove whitelist items on the fly. That should work on a per-user basis, but is it possible to hold global whitelists in this table as well as user-related data? Martin