Mail only sent to the first recipient

Status
Not open for further replies.

garfunkel

Dabbler
Joined
Jun 15, 2012
Messages
41
It seems FreeNAS's MTA is only sending mail to the first recipient listed when using sendmail (symlinked to /usr/sbin/mailwrapper). The same issue affects mail/mailx commands.

On a fully up-to-date 9.3.1 installation, I run this:

Code:
echo "test" | mail -s "test" example1@domain.com,example2@domain.com


Only the first address is ever sent mail. I've tried the same command on Arch (using the same SMTP settings) and it works fine there.

As stated above, constructing the message with sendmail also fails.

Is this a bug, or is this some sort of rather goofy intended behaviour?
 

garfunkel

Dabbler
Joined
Jun 15, 2012
Messages
41
I don't think that's correct either. When I do that, the second address simply gets BCC'd instead.
 

Mirfster

Doesn't know what he's talking about
Joined
Oct 2, 2015
Messages
3,215
I don't think that's correct either. When I do that, the second address simply gets BCC'd instead.
Just did the command to three e-mail accounts and each got them directly.

Just for giggles, I enclosed each address in single quotes as well. Again each got the e-mail correctly..
echo "test" | mail -s "test" 'example1@domain.com' 'example2@domain.com'
 

garfunkel

Dabbler
Joined
Jun 15, 2012
Messages
41
:( This most certainly doesn't work for me. I also tried the single quotes as you suggested, when doing that the first email address given receives a BCC, whereas the second receives the email directly

Any other suggestions? - this is really weird.

If it matters, I'm using my Google Apps gmail for SMTP, but as stated up above, it works fine on my normal Linux machines using sendmail.
 

Mirfster

Doesn't know what he's talking about
Joined
Oct 2, 2015
Messages
3,215
Status
Not open for further replies.
Top