Email sent out from server is just me@servername, not me@domain.com

Tags:

Answer: 1

33 hours ago

I'm successfully sending out email from a server using Postfix smtpd, but on the receiving end, the emails are just coming from dan@emerson (emerson is the name of the originating host), and not dan@mydomain.com. Thus they get put in spam. In main.cf I've set mydomain and myorigin to "mydomain.com" (the real domain withheld). Is there anything else I should check so I can get the outgoing emails to be sent from dan@mydomain.com?

Added by: Eriberto Huel

Answer: 2

8 hours ago

Try with:

echo "Message body" | mail -s "Some subject" -r dan@mydomain.com  destination@receiver.com
Added by: Christine Hoppe

Popular Search

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z 1 2 3 4 5 6 7 8 9