DISQUS

dmiessler.com | grep understanding: Linux: Filtering Spam And Viruses Without Amavis

  • Pigeon · 3 years ago
    Useful summary. Thanks. Found it while looking for something else, and it turned out to be the answer to the next question I would have asked :-)

    Couple of points though:

    - the "no-summary" and "stdout" parameters need to be prefixed with -- not - (two minuses not one)
    - VSCANNER is not defined in the else clause
    - if processing speed is important install clamav-daemon and use "clamdscan" in place of "clamscan"
    - the quote characters you've used are incorrect so you can't just cut and paste the text, you have to edit the quotes in by hand
    - it can go in /etc/maildroprc (with suitable modification to the mailbox used) for system-wide scanning if you want.
  • Daniel Miessler · 3 years ago
    Thanks for posting, man. Nice to have you. :)