> > I have a file that contains a list of all the IP's that have > successfully POP3'ed there email within last 15 minutes. Its used for > POPB4SMTP. Naturally the IP's in the file are constantly changing. > > /etc/virtual/pophosts > > Is there anyway to setup Spamassassin to whitelist all IP's in that > file? Right now I have it setup in Exim to just not scan messages > from those IP's but I think it would be better to scan and whitelist > them that way bayes would have more good messages to learn from. Or > will it help bayes any? If not I'll just leave it the way it is. > > Matt
Matt, Are you talking about a whitelist type scoring that "you" generate to get emails learned as ham or something??? Yes there is a way to do it, yet we don't use Exim.... We are doing the opposite, yet you could use this with negative scoring to work at and achieve what you desire. Trial and error eh? We do it with rbldnsd and a simple custom SA .cf file and score and a local "zones" in dns Our /etc/sysconfig/rbldnsd file looks like this RBLDNSD="dsbl -r/var/lib/rbldns -b 127.0.0.1/530 -4 -e -f \ -l log/rbldnsd.log -s log/statfile.log \ uri.badzone1.local:dnset:work/localfiledir/uri.badzone1file.local.rbldnsd \ " The .cf file will look like other URI type in 25_uribl.cf # ########################################################################### ## # urirhssub URIBL_BADLOCAL1 uri.badzone1.local. A 2 body URIBL_BADLOCAL1 eval:check_uridnsbl(' URIBL_BADLOCAL1') describe URIBL_BADLOCAL1 Contains an URL listed in the localuri blacklist tflags URIBL_BADLOCAL1 net #################################################################### # # # score URIBL_BADLOCAL1 0 4 0 4 This is scored to ADD score for flagging or "rejection" type purposes. It appears that you would want to do it negatively. Don't forget you will want to add the zones to your dns... zone "uri.badzone1.local" in { type forward; forward first; forwarders { 127.0.0.1 port 530; }; }; We recently implemented because of a new system being testing out there. :-) There are other working examples in the 25_uribl.cf file from SA on your server Just remember, it appears you will want negative scores for a whitelist type effect. Hope this helps or gives one type of direction There are probably easier ways with Exim or SA - rh