Subject: Re: bin/37226: Failure to send mail from cron when using STARTTLS client
To: None <gnats-bugs@NetBSD.org, gnats-admin@NetBSD.org,>
From: John Nemeth <email@example.com>
Date: 10/26/2007 18:47:37
On Feb 11, 7:02am, firstname.lastname@example.org wrote:
} >Number: 37226
} >Synopsis: Failure to send mail from cron when using STARTTLS client
} >Originator: Chris Ross
} >Release: 4.0_RC3
} NetBSD host.distal.com 4.0_RC3 NetBSD 4.0_RC3 (GENERIC) #6: Wed Oct 24 15:30:14 EDT 2007 email@example.com:/export/obj/NetBSD-4.sparc64/data/NetBSD/src-4/sys/arch/sparc64/compile/HARMONY sparc64
} This is approximately the problem described in PR lib/3204. While that was closed indicated that libexec/crond was deprecated, the problem still exists in usr.sbin/cron.
} I have a machine using sendmail as the local MTA, and configured to use STARTTLS for outgoing email. My mail server is also allowing STARTTLS, so that this works.
} 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.
}-- End of excerpt from firstname.lastname@example.org