postal icon indicating copy to clipboard operation
postal copied to clipboard

Clam AV

Open blakilox opened this issue 8 years ago • 3 comments

https://github.com/atech/postal/wiki/Spam-&-Virus-Checking was a great help Thank you and I set up Spamassassin though how to setup CLAM?

First steps I guess sudo apt install clamav clamav-daemon clamsmtp add CRON 00 01 * * * root /usr/share/clamav/freshclam-sleep

though how to get POSTAL to talk to the CLAM?

blakilox avatar Aug 20 '18 19:08 blakilox

You should add this code to your postal.ymlconfig file:

clamav:
  enabled: true
  host: 127.0.0.1
  port: 785 # port can be changed to preferred

igerzog avatar Aug 20 '18 20:08 igerzog

:-) Thankyou!

blakilox avatar Aug 20 '18 20:08 blakilox

OK Just to clarify for others - I did this and seems to be good

sudo apt-get install clamav clamav-freshclam clamav-daemon clamsmtp

crontab -e

00 01 * * * root freshclam

edit the postal.yml and ad the clamav bit as described by igerzog as above

:-) Excellent!!

blakilox avatar Aug 20 '18 21:08 blakilox