boricua,

> > You are editing the wrong AV entry.
>
> which one then?

If you want clamd (you do), then edit (if necessary) the entry:

  ['ClamAV-clamd',
    \&ask_daemon, ["CONTSCAN {}\n", "/var/run/clamav/clamd"],
    qr/\bOK$/, qr/\bFOUND$/,
    qr/^.*?: (?!Infected Archive)(.*) FOUND$/ ],

If you want clamscan (probably as a backup scanner, in
a @av_scanners_backup list), then edit (if necessary) the:

  ['ClamAV-clamscan', 'clamscan',
    "--stdout --no-summary -r --tempdir=$TEMPBASE {}",
    [0], qr/:.*\sFOUND$/, qr/^.*?: (?!Infected Archive)(.*) FOUND$/ ],

> # lsof -p 20473 

> clamav    0u  unix 0xd43b9040          262681
>   /var/run/clamav-milter/clamd.sock

Aha, this one.

> but i still get this message
> pepino amavis[20458]: (20458-05) (!)ClamAV-clamd: Can't connect to UNIX
> socket /var/run/clamav-milter/clamd: No such file or

The  /var/run/clamav/clamd  !=  /var/run/clamav-milter/clamd.sock

Adjust one or the other, does not matter, but both must be the same.

  Mark

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to