Discussion:
clamav-milter kill
christian laubscher
2004-10-24 08:06:56 UTC
Permalink
not a bug, but maybe a samll wish for a small feature:

being a devout user of clamav-milter, and changing my clamav package
ever so often upon the current recommendations of the development team,
i always try to shutdown sendmail, calamav-milter, freshclam, and clamd
prior to replacing the clamav package.
for killing the clamav components, i use the .pids in /var/run/clamav/.

while frechclam and clamd gracefully stop, clamav-milter doesn't - i am
doing something wrong or am i simply expecting to much? i always have
to issue SIGKILL to shutdown clamav-milter...

when looking at the code, i can easily find the event signal handling
code for both clamd and freshclam, though not so for clamav-milter.

i guess it would be simpler for a lot of users if
'kill `cat /var/run/clamav/clamav-milter.pid`
would get honoured.

a big 'thank you' to the developers!
--
Please avoid sending me Microsoft Office attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html
_______________________________________________
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
Joe Maimon
2004-10-24 13:30:14 UTC
Permalink
Post by christian laubscher
being a devout user of clamav-milter, and changing my clamav package
ever so often upon the current recommendations of the development team,
i always try to shutdown sendmail, calamav-milter, freshclam, and clamd
prior to replacing the clamav package.
for killing the clamav components, i use the .pids in /var/run/clamav/.
while frechclam and clamd gracefully stop, clamav-milter doesn't - i am
doing something wrong or am i simply expecting to much? i always have
to issue SIGKILL to shutdown clamav-milter...
when looking at the code, i can easily find the event signal handling
code for both clamd and freshclam, though not so for clamav-milter.
libmilter handles the signals for milters
Post by christian laubscher
i guess it would be simpler for a lot of users if
'kill `cat /var/run/clamav/clamav-milter.pid`
would get honoured.
a big 'thank you' to the developers!
_______________________________________________
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
Doug Hardie
2004-10-24 16:30:45 UTC
Permalink
i guess it would be simpler for a lot of users if 'kill `cat
/var/run/clamav/clamav-milter.pid`
would get honoured.
On FreeBSD 4 that works fine. However, because sendmail-milter is
integrated with sendmail, it has a fair amount of cleanup that is
required for each active sendmail connection. I have seen that take a
couple minutes to complete before it shutsdown. It depends on the mail
load at that time.

_______________________________________________
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users

Loading...