Linux: Filtering Spam And Viruses Without Amavis

By Daniel Miessler on April 12th, 2006: Tagged as Computers | Security | Spam
  • http://pigeon.dyndns.org/ Pigeon

    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.
  • http://pigeon.dyndns.org/ Pigeon

    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.
  • http://dmiessler.com/ Daniel

    Thanks for posting, man. Nice to have you. :)

  • http://dmiessler.com Daniel

    Thanks for posting, man. Nice to have you. :)


Top

Popular

Information Security / Technology

Politics

Philosophy & Religion

Technology & Science

Culture & Society

Miscellaneous

Arguments

Projects

Collections

Twitter

What I'm Reading

Favorite Books and Essays

Top Blog Categories

Inputs