On Wed, 11 Oct 2017 20:45:10 -0700 Imam Toufique wrote: > Hi Martin, > > I have not had a chance to work on the problem yet, I was busy with > our stuff. I will test again with your suggestion later this week.
I would suggest you look at other ways of doing this. Filing spam files into a dedicated quarantine directory is IMO something that should be done as a last resort. If spam can't be rejected then ideally is should be made accessible to your mail client, so you can easily look for missing mail and generally spot FPs. This can be as simple as letting the spam through and having a mail client filter move the spam to a different folder. It could involve installing an MDA but it's not clear to me how that's any harder than installing spamkiller from source. spamkiller looks to have been been written for use with fetchmail; for getmail it would be better if it had a "pass-through" mode where it writes to stdout and exits with a return code. This would remove the unnecessary dependency on a working MTA, and allow getmail to keep to the principle of not deleting remote email until after locally delivery to the actual mailbox has completed successfully.