Re: [Mimedefang] Timeout on md_check_against_smtp_server?

2015-08-15 Thread Dianne Skoll
On Sat, 15 Aug 2015 12:39:04 +0100 Dave Osbourne wrote: > I wonder if there is away to enforce a timeout on > md_check_against_smtp_server? The general-purpose way of enforcing timeouts is with alarm. { local $SIG{ALRM} = sub { die "Timeout"; }; my @result; eval { alarm(60

[Mimedefang] Timeout on md_check_against_smtp_server?

2015-08-15 Thread Dave Osbourne
Hi Everyone, I wonder if there is away to enforce a timeout on md_check_against_smtp_server? We have 1 client that seems to have a dodgy AD binding that means every few months the callout gets stuck indefinitley waiting for the response to the RCPT TO: test and eventually all the MD slaves a