[lsb-discuss] [Fwd: Re: Possible to get rid of /usr/bin/sendmail requirement in LSB 4.1?]

Alan Cox alan at lxorguk.ukuu.org.uk
Sat Jun 13 08:13:47 PDT 2009


> But then the LSB fails to specify what happens if you call sendmail to
> send a mail which it cannot handle. In particular, if it just sends
> mail into oblivion, this wouldn't be a sensible interface for
> applications?

The standard behaviour is well documented elsewhere so could be
referenced quite easily. The return codes are all precisely defined

I would disagree about not mandating that interface. If it is absent then
there is no way for apps to send mail.

----------


     Sendmail  returns an exit status describing what it did.  The codes
     are defined in <sysexits.h>:

       EX_OK  Successful completion on all addresses.

       EX_NOUSER
              User name not recognized.

       EX_UNAVAILABLE
              Catchall meaning necessary resources were not available.

       EX_SYNTAX
              Syntax error in address.

       EX_SOFTWARE
              Internal software error, including bad arguments.

       EX_OSERR
              Temporary operating system error, such as ‘‘cannot fork’’.

       EX_NOHOST
              Host name not recognized.

       EX_TEMPFAIL
              Message could not be sent immediately, but was queued.





More information about the lsb-discuss mailing list