I know the setup is simple but for some reason its not working on my systems. I can send email to external locations and its sent without a problem but the source address is coming up as [email protected] instead of [email protected]. I am running centos 4 with postfix 2.2.10. I have set up the following in main.cf: myhostname = host.mydomain.com mydomain = mydomain.com myorigin = $myhostname masquerade_domains = $mydomain Has anyone else ran into this same problem or does anyone have any suggestions? TIA!!
I also checked the logs and when mail is sent it shows as being sent from [email protected]. Everything else in the logs look ok. Thanks! (I can provide the full my.cnf if necessary)
This should give you the idea: http://mail.cs.uiuc.edu/relay/outlook-config.html (the last screenshot is not necessary).
i am not using a windows client. i am sending mail from the command line on the same linux server that i am running postfix
Then you must specify the sender address on the command line. You can read the man page for the command you use.