postfix+amavisd
Dear friend
I m using FC7 in my server. And using postfix as mail server. SO i configured amavis, clamav antivirus. My problem is when I send any mail, amavised try to scan it but failure... Quote:
|
Do you have SELinux properly set up to allow these programs' activities?
|
Selinux has been stooped.
|
What's the perms on /var/spool/amavisd?
Code:
ls -l /var/spool | grep amavisd |
Quote:
|
there is no amavised log., all in maillog, the msg is........
Quote:
|
Quote:
|
In clamd.conf, what do you have for LocalSocket, and what do you have set in amavisd.conf along the lines of
# ### http://www.clamav.net/ ['ClamAV-clamd', \&ask_daemon, ["CONTSCAN {}\n", "/var/run/clamav/clamd.socket"], qr/\bOK$/, qr/\bFOUND$/, qr/^.*?: (?!Infected Archive)(.*) FOUND$/ ], # # NOTE: run clamd under the same user as amavisd, or run it under its own # # uid such as clamav, add user clamav to the amavis group, and then add # # AllowSupplementaryGroups to clamd.conf; # # NOTE: match socket name (LocalSocket) in clamav.conf to the socket name in # # this entry; when running chrooted one may prefer socket "$MYHOME/clamd". They need to be the same file and if they are, then it's probably a permissions issue Do you have clamd running ("chkconfig clamd on" and "service clamd start" - second command before first reboot only)? |
I had this same issue and your answer lead me to the proper fix billmayday. Thanks for that. I am using FC6 and with amavisd and clamav the actual script to start is clamd.amavisd, so....
chkconfig clamd.amavisd on service clamd.amavisd start service postfix restart This got me up and running. Thanks so much for the help. |
All times are GMT -5. The time now is 04:29 PM. |