Am 26.01.2010 um 15:08 schrieb Jan-Pieter Cornet:
Op 26 jan 2010, om 10:47 heeft Petra Humann het volgende geschreven:
I'm using message_contains_virus_sophie for virus checking.
Sometimes (rarely) the sophie daemon dies, but the socket file
persists.
Because of this mimedefang-filter can't
Hello,
I'm using message_contains_virus_sophie for virus checking.
Sometimes (rarely) the sophie daemon dies, but the socket file persists.
Because of this mimedefang-filter can't get results from the subroutine
and the mail server is temp failing any mail.
... sm-mta[15124]: o0PFjX0p015124:
Petra Humann wrote:
Is it possible to set a timeout value for getting the result
of virus scanning in message_contains_virus_sophie?
Well, not directly, but you could do something like:
eval {
local $SIG{'ALRM'} = sub { die Timeout\n; };
alarm(10);
# Do your virus scanning
Op 26 jan 2010, om 10:47 heeft Petra Humann het volgende geschreven:
I'm using message_contains_virus_sophie for virus checking.
Sometimes (rarely) the sophie daemon dies, but the socket file
persists.
Because of this mimedefang-filter can't get results from the
subroutine
and the mail
4 matches
Mail list logo