[Mailman-Users] mails send from sendmail with commandline to mailman become 'Message has implicit destination'

Mark Sapiro mark at msapiro.net
Sun Dec 27 00:00:16 EST 2015

On 12/26/2015 08:51 PM, MichaelLeung wrote:
> i have two sendmail server ,
> i send a test mail from the same machine to these two server
> one works fine ,
> the other one 's is what we facing for .
> On 12/27/2015 12:42 PM, Mark Sapiro wrote:
>> On 12/26/2015 08:33 PM, MichaelLeung wrote:
>>> if you are convenience , i can create a newlist for test  and grand you
>>> as the adminitrator.
>> The problem is not Mailman. The problem is the 'mail' command on your
>> system.

As I said, the problem is when you issue the command

> echo "please dont reply this email" | mail -v -s 'this is a test mail' -r mailman at maillist.com mailman at maillist.com

and it results in the message being held for implicit destination, it is
because that particular 'mail' command is not adding the Subject: and
To: headers to the message it creates. I.e., it is not doing what the
usual 'mail' command does.

Try doing

> echo "please dont reply this email" | mailx -v -s 'this is a test mail' -r mailman at maillist.com mailman at maillist.com

instead. I.e. use mailx rather than mail. also, as I asked before,

What output do the following commands produce:

ls -l `which mail`

ls -l `which sendmail`

ls -l `which mailx`

Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

More information about the Mailman-Users mailing list