Hi all,
I am using this guide.
http://ubuntu-tutorials.com/2008/11/...-smtpgmailcom/
But it is not working for me. When I check the logs, postfix is trying to send email directly instead of via the relay I configured.
What am I missing.
Hi all,
I am using this guide.
http://ubuntu-tutorials.com/2008/11/...-smtpgmailcom/
But it is not working for me. When I check the logs, postfix is trying to send email directly instead of via the relay I configured.
What am I missing.
Can you post your main.cf file? It shouldn't be too big.
Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide
Tomorrow's an illusion and yesterday's a dream, today is a solution...
Thank you for making me look at that file again to sanitize it before posting.
I discovered that I was setting relayhost early up, but then later down I missed that it was being unset by another relayhost entry that was already there in the default file. After addressing that outgoing mail was sent, but not as I expected. When it reached the relay server (gmail) it not only stored the mail in gmail's sent folder but when the mail arrived at the intended recipient the from field was the gmail user!?!?! and not the original user that sent the email. sighs.
Last edited by sefs; September 14th, 2013 at 10:56 PM.
Ok, then it's working as intended.
What did you want to accomplish?
Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide
Tomorrow's an illusion and yesterday's a dream, today is a solution...
Send an email from a@domainX.com to b@domainY.com, and have it relayed from a to b vis mail.domainZ.com and to arrive at b@domainY.com with all sender information intact and not the sender information of the relayer.
You'd need to set up your own mail server for that.
Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide
Tomorrow's an illusion and yesterday's a dream, today is a solution...
Not sure, but the mail server at mail.domainZ.com would need to be setup to allow it to relay mail from domainX.
Otherwise you can just have one mail server send mail for all your domains, if you set it up as such.
Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide
Tomorrow's an illusion and yesterday's a dream, today is a solution...
My ISP blocks outgoing 25, which is why I was trying with the relay thing.
I think this is special behavior by the big G. I will have to find another relay server and test.
Thanks.
Bookmarks