24 Jan 2012 23:30
Pseudo code included. Is it a small step towards better LSB compliance for sendmail interface?
Regid Ichira <regid23 <at> yahoo.com>
2012-01-24 22:30:20 GMT
2012-01-24 22:30:20 GMT
Continuing http://lists.untroubled.org/?list=nullmailer&cmd=threadindex&month=201002&threadid=hobkhempdacmpcpddmbi Is this pseudo code a small step towards better lsb compliance for sendmail interface? --- sendmail.cc.orig 2012-01-24 23:42:10.000000000 +0200 +++ sendmail.cc 2012-01-25 00:09:35.000000000 +0200 <at> <at> -92,7 +92,11 <at> <at> int parseargs() if(!setenvelope(o_from)) return -1; if (o_mode && !strcmp(o_mode, "s")) { - ferr << "sendmail: option -bs is unsupported" << endl; + + Wait for input on stdin. What ever 1st line you get + + fstdout << "550 Refuse communication by SMTP commands on stdin/stdoutd" << endl; + return -1; } return 0;
RSS Feed