|
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: John Fawcett (johnml
michaweb.net)
Date: Fri Jul 01 2005 - 12:35:48 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Francisco Reyes wrote:
> On Fri, 1 Jul 2005, John Fawcett wrote:
>
>> 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.
>
If you are going to change the options to sendmail you should do this
where you call sendmail from (i.e. in your script).
However I think you need to debug your script itself not the sendmail
command, since it is the script that is passing invalid input to the
sendmail command.
Try capturing that input to a file when cron runs the job and examine it.
John
> Also I see that postfix sendmail is a symbolic link to mailwrapper,
> but didn't see mailwrapper either in the master.cf
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]