Hello,
I've been having a heck of a time trying to set up postfix. I want it to send an email from a certain address, but it doesn't really work no matter what I do.
I own a domain bar.com. I have www.bar.com as a valid subdomain and the server's hostname. The main administrator account is named foo.
I'm trying to send an email from the address foobar@gmail.com. I've set up the SMTP relay (using this as reference), generic aliases, SASL passwords, the -F parameter in sendmail, and none of them are working. LS3 shows no connection whatsoever to any Gmail server, and the mail always comes from foo@www.bar.com. Even when I set mydomain, myorigin and myhostname as "server.bar.com" it still sends from foo@www.bar.com. I've opened ports 25, 465 and 587 for the appropriate processes as well.
What am I doing wrong here?
I've been having a heck of a time trying to set up postfix. I want it to send an email from a certain address, but it doesn't really work no matter what I do.
I own a domain bar.com. I have www.bar.com as a valid subdomain and the server's hostname. The main administrator account is named foo.
I'm trying to send an email from the address foobar@gmail.com. I've set up the SMTP relay (using this as reference), generic aliases, SASL passwords, the -F parameter in sendmail, and none of them are working. LS3 shows no connection whatsoever to any Gmail server, and the mail always comes from foo@www.bar.com. Even when I set mydomain, myorigin and myhostname as "server.bar.com" it still sends from foo@www.bar.com. I've opened ports 25, 465 and 587 for the appropriate processes as well.
What am I doing wrong here?