OpenBSD 3.3 / smtp-vilter-1.1.2 / clamav-0.65 port (flinn's) / spamassasin/spamd
My services all start up fine:
But when a message is inbound I cannot scan it:
(The following example assumes we are chrooted to /var/smtp-vilter)
The temporary directory must be readable by clamd.
/home/marc (1) $ ls -l /var/smtp-vilter/ total 6 drwx------ 2 _vilter _vilter 512 Nov 16 15:50 etc drwx------ 2 _vilter _vilter 512 Dec 14 22:24 run drwxrwx--T 2 _vilter _clamd 512 Dec 15 07:18 tmp /home/marc (2) $
Then the temporary files created by smtp-vilter must be made group readable, you need the following setting in /etc/smtp-vilter/smtp-vilter.conf:
tmpfiles=g+r
As the pathname for tempfiles is /tmp/filename for smtp-vilter, but /var/smtp-vilter/tmp/filename for clamd, you need to define chroot-scanrealpath in /etc/smtp-vilter/vilter-clamd.conf:
option=chroot-scanrealpath
With these settings it should work. Take care about the timouts in your sendmail config and in the backend. And make sure to read smtp-vilter(8).
- Marc
------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users