On Mon, 2014-05-12 at 11:33 +0100, Timothy Murphy wrote:
> Any and all advice or suggestions gratefully received,
> including pointers to helpful documentation.
> 
I use a similar mail collection chain to your remote set-up except that:

- I use getmail rather than fetchmail to collect email from my ISP.
  Unlike fetchmail, getmail doesn't leave read but undeleted mail 
  to fester in the ISP's mailbox. Its only drawback, if it is one, is
  that getmail is run periodically as a cronjob while fetchmail has a
  built-in wait loop. 

- I use an MDA script that is basically a pipeline. Its content is:

  spamc | spamkiller --> sendmail 

  to filter the incoming mail and deliver the ham to Postfix for
  distribution. The same MDA script worked without modification
  when I replaced fetchmail with getmail. The '-->' is meant to show
  that spamkiller executes sendmail each time it has a piece of ham to
  deliver, rather than using a simple pipeline.

- spamkiller is mine: a C program that accepts spamc output and,
  depending on the score, stuffs it into a quarantine directory
  or hands it to sendmail for delivery to Postfix. As the program
  spamkiller uses for onward delivery is specified and configured 
  as part of the spamkiller command line in the MDA script, anything
  else is easily substituted. Quarantining spam is optional: it can also
  be configured to discard spam. Either way, it logs the fate of each
  message. 

- spamkiller 1.3.4 is available as a tarball that also includes a
  variety of support scripts should you want to try it. These include
  quarantine management scripts and logwatch extensions for spam
  reporting. The tarball is downloadable from the 'Free' page at
  www.libelle-systems.com - if it looks old that's because I haven't
  needed to make changes for some time.

Martin



Reply via email to