OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: proper way to handle error from sendmail front-end in C

From: Wietse Venema (wietseporcupine.org)
Date: Tue Nov 10 2009 - 12:57:07 CST


Angus March:
> > If there is an ERROR, the Postfix sendmail command will NOT enqueue
> > the message, and it will return a non-zero exit status code as
> > defined in /usr/include/sysexits.h.

> sendmail: fatal: No recipient addresses found in message header

That is an ERROR. The Postfix sendmail command will NOT enqueue
the message, and it will return a non-zero exit status code as
defined in /usr/include/sysexits.h.

        Wietse