[lsb-discuss] [Fwd: Re: Possible to get rid of /usr/bin/sendmail requirement in LSB 4.1?]
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
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.
User name not recognized.
Catchall meaning necessary resources were not available.
Syntax error in address.
Internal software error, including bad arguments.
Temporary operating system error, such as ‘‘cannot fork’’.
Host name not recognized.
Message could not be sent immediately, but was queued.
More information about the lsb-discuss