Subject: Re: bin/37226: Failure to send mail from cron when using STARTTLS client
To: None <gnats-admin@netbsd.org, netbsd-bugs@netbsd.org,>
From: Chris Ross <cross+netbsd@distal.com>
List: netbsd-bugs
Date: 10/27/2007 02:05:06
The following reply was made to PR bin/37226; it has been noted by GNATS.

From: Chris Ross <cross+netbsd@distal.com>
To: gnats-bugs@NetBSD.org, John Nemeth <jnemeth@victoria.tc.ca>
Cc: gnats-admin@NetBSD.org, netbsd-bugs@NetBSD.org
Subject: Re: bin/37226: Failure to send mail from cron when using STARTTLS client
Date: Fri, 26 Oct 2007 22:04:10 -0400

 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