Re: Interworking of cron and sendmail applets

2014-02-04 Thread Denys Vlasenko
On Wed, Jan 22, 2014 at 5:37 PM, Kaarle Ritvanen kaarle.ritva...@datakunkku.fi wrote: On Tue, 21 Jan 2014, Harald Becker wrote: Beside modifying the Busybox binary, you can create a script file for sendmail: #!/bin/sh exec /bin/busybox sendmail -f ... $@ install this script as your

Re: Interworking of cron and sendmail applets

2014-02-04 Thread Kaarle Ritvanen
On Tue, 4 Feb 2014, Denys Vlasenko wrote: I am looking at Fedora's man sendmail and it says that -fSENDER is optional. When it's absent, sender is derived from From: header. Verbatim quote from the man page: Sets the name of the 'from' person (i.e., the envelope sender of the mail). This

Re: Interworking of cron and sendmail applets

2014-01-22 Thread Kaarle Ritvanen
On Tue, 21 Jan 2014, Harald Becker wrote: Beside modifying the Busybox binary, you can create a script file for sendmail: #!/bin/sh exec /bin/busybox sendmail -f ... $@ install this script as your sendmail and make it executable (chmod +x). Then cron shall pickup this script for sendmail and

Re: Interworking of cron and sendmail applets

2014-01-22 Thread Harald Becker
Hi Kaarle ! I would like to understand why the sendmail applet requires the use of the -f option. It used to be optional, but it was made mandatory in commit 88b8f0a, which has an informative commit log message: sendmail: update by Vladimir. I suggest the -f option be made optional again unless

Re: Interworking of cron and sendmail applets

2014-01-22 Thread Aaro Koskinen
Hi, On Wed, Jan 22, 2014 at 11:29:14PM +0100, Harald Becker wrote: I do not know, why this option has made mandatory, but as far as i know does BB sendmail always need some extra options to know where to send the mail (mail relay), and will not work without this information. So it is of no

Re: Interworking of cron and sendmail applets

2014-01-21 Thread Harald Becker
Hi Kaarle ! I think it would be reasonable to make the cron and sendmail applets interoperate. Any opinions on which applet this should be fixed in? Beside modifying the Busybox binary, you can create a script file for sendmail: #!/bin/sh exec /bin/busybox sendmail -f ... $@ install this