Dear all, I have two remarks concerning the sendmail applet:
1st: anti-spam timeout =================== I had to add the following line to mailutils/sendmail.c in order to make it work with my company server: (line 149) sleep(5); // some servers have a 5s timeout before answering (as an anti-spam measure) I know I won't get the good code award for this, as obviously it should be coded with a timeout: sendmail shouldn't sleep if the server responds faster. Is there someone who knows where to find the timeout code that could do this, or tell me where to look? 2nd: "-f sender" option =================== the docs state: "-f sender Sender (required)" This is correct: sendmail won't let you send the mail without it. But I've noticed that it's not used! I send mails using: cat header.txt /mnt/jffs2/report-20120404-153857174.csv | busybox sendmail -f [email protected] -S mailserver.abm.be where header.txt contains my from: / to: / subject: lines. I see that the address in the "from:" line in header.txt is used instead of the -f option. And when I leave out the from: line, my outlook client receives an email with an empty "from:" field... Any suggestions? Regards, Brecht _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
