Subject: Re: bin/37226: Failure to send mail from cron when using STARTTLS client
To: gnats-bugs@NetBSD.org, John Nemeth <jnemeth@victoria.tc.ca>
From: Chris Ross <cross+netbsd@distal.com>
List: netbsd-bugs
Date: 10/26/2007 22:04:10
On Oct 26, 2007, at 21:50, John Nemeth wrote:
>  } The definition of MAILARGS in usr.sbin/cron/config.h still is:
>  }
>  } #define MAILARGS "%s -FCronDaemon -odi -oem -oi -or0s -t"      / 
> *-*/
>
>       This is setting a bunch of timeouts to "0".  I assume the  
> idea is
>  to not have cron hang indefinitely if there are mail problems.
>  However, it probably takes a bit of time to do crypto processing.   
> Try
>  changing the "-or0s" to "-or1m".  This should allow a considerable
>  ammount of time for processing without having cron hang forever.

   Yup.  As you expected, this causes it to work.  Even trying the
command-line test I was using with -or10s works alright for me,
on my 450Mhz sparc64.

   I'd be happy if anything of the like was committed, and would
request a pull-up to netbsd-4.

   Thanks!

                       - Chris