Jim wrote:

>>>> There was a similar report on the Maia list and they ended up running
>>>> clamd as amavis.

>>> as user amavis died the socket at once (or instant?) ;)

>> I'm not sure I understand what you are asking.
>> http://www.renaissoft.com/pipermail/maia-users/2007-April/009458.html

>>> it`s a Unix socket, no tcp

>> Ok, I have only seen: "parts: lstat() failed." when using tcp sockets
>> so I assumed you were configured that way. Not sure what's going on
>> then.

> Thanx. Solved. I use now in the clamd.conf

> LocalSocket /var/run/amavis/clamd.ctl

> User amavis

> and evrything is ok. But why cannot the user clamav? Nobody
> know`s .. ask the wizard of Debian .. *gg*

So far I have not had this problem. I wonder what's going on here. I
would think if something unexpected happened that caused this change in
behavior that logcheck would have said something. I assume you are
running 0.90.1-2 (latest version available from Debian).

If running as amavis, don't forget to edit
/etc/logrotate.d/clamav-daemon and /etc/logrotate.d/clamav-freshclam
otherwise the amavis user may not be able to write to new log files
when they are created. Change:
create 640 clamav adm
to:
create 640 amavis adm

Gary V


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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