|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re: MAILER-DAEMON gets copies
From: Ahmed RAHAL (arahal
taranis-services.fr)
Date: Mon Sep 18 2006 - 10:38:37 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi again,
I'm sorry for the noise, but I already had searched around.
Anyway, I think I found the origin of my problem.
It seems, that if I use the 'sendmail' command in the following way :
sendmail -f "sender_e-mail" "dest_e-mail" ""
the latter "" are interpreted and spawn a copy to "MAILER-DAEMON".
My script used an optionnal shell variable that held additional
receivers, but this list was empty most of the time. Result of this was
that 'sendmail' tryed to send my mail to an 'empty' address.
Tests I made tend to validate this, but maybe could you confirm that
behaviour ?
thanks for reading,
Ahmed Rahal.
Wietse Venema wrote:
> Ahmed RAHAL:
>
>>Hi there,
>>
>>I am using postfix 2.2.8 on fedora core 5.
>>
>>I am meeting an apparently strange behaviour on this server, and am out
>>of ideas.
>>
>>I have some script that sends out mail. This is done with a command line
>>of the form :
>>cat message_file | /usr/sbin/sendmail -f "sender_e-mail" "dest_e-mail"
>>
>>The script itself is run as 'root'
>>
>>For a reason I don't understand, for every e-mail sent out (and received
>>by receipient) a second e-mail is sent out to MAILER-DAEPON
my_fqdn.
>>This being an alias to root.
>>
>>This 'blind copy' is just an exact replica of the initial e-mail.
>>No imbedded error message or hint.
>>
>>I'd be glad if anyone could point in the right direction. I guess there
>>is a very good reason for this e-mail, but I just can't figure out what
>>I have missed.
>>
>>Thanks for reading,
>
>
> See line 10 of the welcome message.
>
> Wietse
>
> 1 Welcome to the postfix-users mailing list.
> 2
> 3 This list is for questions and discussions concerning the installation,
> 4 configuration and operation of the Postfix mail system.
> 5
> 6 =================================================================
> 7 IMPORTANT INFORMATION IMPORTANT INFORMATION IMPORTANT INFORMATION
> 8 =================================================================
> 9
> 10 To report trouble, see http://www.postfix.org/DEBUG_README.html#mail
> 11
> 12 To unsubscribe, see http://www.postfix.org/lists.html
> 13
> 14 =================================================================
> 15 IMPORTANT INFORMATION IMPORTANT INFORMATION IMPORTANT INFORMATION
> 16 =================================================================
> 17
> 18 Thank you for using Postfix.
>
>
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]