Am Mit, 2004-06-16 um 13.48 schrieb Tomasz Papszun:
> On Wed, 16 Jun 2004 at 13:04:45 +0200, Harald Arnold wrote:
> > Yesterday I installed amavis_new together with clamav V 0.71
>
> Just for completeness: You probably mean amavisd-new (note "d").
Yes correct, amavisd-new-20030616-p5 !
[...]
> > Socket-entry in amavis.conf:
>
> Shouldn't it be spelled amavisd.conf?...
Yes, also correct ! /etc/amavisd.conf !
> > ['Clam Antivirus-clamd',
> > \&ask_daemon, ["CONTSCAN {}\n", '/var/spool/amavis/amavisd.sock'],
>
> You should call clamd's socket, not amavisd's one.
> I use such a fragment:
>
> \&ask_daemon, ["CONTSCAN {}\n", '/var/run/clamav/clamd.ctl'],
>
> > Socket-entry in clamav:
> > LocalSocket /var/spool/amavis/amavisd.sock
>
> Mine:
>
> $ grep LocalSocket /etc/clamav/clamav.conf
> LocalSocket /var/run/clamav/clamd.ctl
>
> Hmm, on the other hand, sockets used by you are consistent
> (the same in amavisd.conf and in clamav.conf), so it should
> work (though using other names than processes' is misleading.
> I.e., my corrections of your definitions can be totally
> unneeded.
But I can try your correction !
> > Socket definition:
> > srwxr-x--- 1 vscan vscan 0 Jun 16 10:29 amavisd.sock
>
> Again, just for completeness (the difference may have no negative
> results, but...), my socket:
>
> $ v /var/run/clamav/clamd.ctl
> srwxrwxrwx 1 amavis amavis 0 Jun 7 19:55 /var/run/clamav/clamd.ctl
OK, your are running both processes under user amavis - I think so.
Thanks Harald
-------------------------------------------------------
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users