OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: postfix/sendmail: fatal: No recipient addresses found in message header

From: Tony Earnshaw (tonyebilly.demon.nl)
Date: Fri Jul 01 2005 - 09:47:43 CDT


fre, 01.07.2005 kl. 16.03 skrev Francisco Reyes:

> > presumably the sendmail command is being run with the -t option to extract
> > the receipients from the message header, but the message you are sending
> > does not contain any receipients (when it is generated from cron).
> >
> > You should examine the input that your cron job is providing to sendmail.
> > John
>
> I had some thoughts along those lines... I was trying to add "-v" option,
> but could not figure out where I need to add it to. In particular I
> think it's probably in the master.cf but don't know which line I need to
> add it to. Don't see a "sendmail" in that file.

Postfix's sendmail is an independent entity and doesn't have anything to
do with master.cf or much of the rest of the Postfix conglomerate, for
that matter.

> Also I see that postfix sendmail is a symbolic link to mailwrapper, but
> didn't see mailwrapper either in the master.cf

No, well you wouldn't. This is terrible and the only reason why I'm
posting at all. The whole mailwrapper idea is to couple between Sendmail
sendmail and Postfix sendmail on brain-dead Linux distros. Your
postfix.sendmail ought to be a binary and /usr/bin/sendmail should bet a
symlink to /usr/bin/sendmail.postfix. It looks horribly as if you're
using the Sendmail sendmail and something(one) has fscked up your
Postfix installation.

--Tonni

--
mail: tonyebilly.demon.nl
http://www.billy.demon.nl