--- On Tue, 1/24/12, Regid Ichira wrote: > From: Regid Ichira > Subject: Pseudo code included. Is it a small step towards better LSB > compliance for sendmail interface? > To: nullmailer -- lists.untroubled.org > Date: Tuesday, January 24, 2012, 10:30 PM > 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? > > --- src/sendmail.cc.orig 2012-01-24 > 23:42:10.000000000 +0200 > +++ src/sendmail.cc 2012-01-25 00:09:35.000000000 +0200 > @@ -92,7 +92,11 @@ 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; > >
-- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org