On Thu, 2016-12-15 at 18:23 +0000, David Jones wrote: > There are many valuable SMTP realtime checks that must be done at > the edge MTA. Since you don't have control of this, then you have to > resort to tuning SA constantly which is a never-ending game of > cat-n-mouse since spam changes characteristics all of the time. > It doen't *have* to be done at the edge MTA provided you are happy to accept and then bin the junk rather than rejecting it. My system has been working this way for years:
- I use getmail to retrieve mail from my mailbox at my ISP and use a locally written script as getmail's MDA. - My MDA script calls spamc to run each message through spamd and then passes it to my 'spamkiller' program. This throws spam into a quarantine directory and passes ham to Postfix via Postfix.sendmail for delivery within my local Lan - I have a cron job that summarises what's in quarantine and deletes any spam that's over 7 days old - I have a logwatch service that analyses spamd and spamkiller log entries on a daily basis. If this approach looks like it might be useful for you, visit http://www.libelle-systems.com/free/ and take a look at the three entries under Spamassassin (portmanteau, spamkiller and spamscan). All are downloadable source tarballs. Martin