boricua,

> in my previous version of 2.2.1 i had
>
> >  ### http://www.clamav.net/   - backs up clamd or Mail::ClamAV
>   ['ClamAV-clamscan', 'clamscan',
>     "--stdout --disable-summary -r --tempdir=$TEMPBASE {}", [0], [1],
>     qr/^.*?: (?!Infected Archive)(.*) FOUND$/ ],

Both the 2.2.1 as well as 2.4.5 contain two ClamAV entries,
one is for a command line clamscan, and the other for interfacing
with a daemonized clamd. No change from 2.2.1 in this regard.

Use whichever you prefer: clamscan is terribly slow and easy
to install. It is suitable for a home mailer or as a backup scanner.
Clamd should be used for the more usual setups as a primary scanner.

> # ### http://www.clamav.net/
>  ['ClamAV-clamd',
>    \&ask_daemon, ["CONTSCAN {}\n", "/var/run/clamav-milter/clamd"],   <<<<<
> i change to that b/c qr/\bOK$/, qr/\bFOUND$/,
>    qr/^.*?: (?!Infected Archive)(.*) FOUND$/ ],

You are editing the wrong AV entry.

> bash-3.1# ps aux|grep spamd
> root     20145  1.2  4.0  22876 20636 pts/2    S    19:53   0:02
> /usr/bin/perl5.8.8 -T -w /usr/bin/spamd root     20147  0.0  4.0  22876
> 20640 pts/2    S    19:53   0:00 spamd child root     20148  0.0  4.0 
> 22876 20640 pts/2    S    19:53   0:00 spamd child root     20168  0.0  0.1
>   1788   604 pts/2    S+   19:56   0:00 grep spamd
>
> i can't find the pid now but i know its running
> how do i know where the socket is

Why do you bother with spamd? It is not needed in an amavisd setup,
just shut it down. Perhaps you wanted to look for clamd (not spamd)?!
In that case, lsof -p <PID> will show open files and sockets of a running
process - but you can just as well look into its config file.

  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