Re: [Mimedefang] Timeout on md_check_against_smtp_server?

2015-08-17 Thread Dave Osbourne
Dianne, Thank you very much for this! Changes effected and tested over the w/end and all seems OK. I'd never thought to do this if it weren't for that little prod. Regards, Dave On 15/08/2015 15:42, Dianne Skoll wrote: On Sat, 15 Aug 2015 12:39:04 +0100 Dave Osbourne

[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

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 d...@osbourne.uk.eu.org 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