Using an non-auth smtp relay works fine.
setting up a smtp relay that needs authentication results in the from address (either via sendmail, or web forum software) being my authentication username inside /etc/postfix/sasl_passwd
Forum software is set to send the from address as donotreply@
Am I missing something?
How To Relay Email On A Postfix Server
I installed postfix on a bare bones Ubuntu Server 12.04 by typing the following in the terminal.
sudo apt-get install postfix
When asked to choose a mail server configuration type, I chose Satellite system. For the System mail name, I entered ww1.example.com and for the SMTP relay host, I selected mail.example.com. Note that I replaced example.com with my own domain.
I want to use a Postfix box to do two things:
Relay mail from any host on the internet addressed to one of my domains to my Zimbra server
Relay mail from my Zimbra server to any address on the internet.
To try and accomplish this I have configured Postfix thusly:
mynetworks = 127.0.0.0/8, zimbra_ip/32
myorigin = zimbra_server
mydestination = localhost, zimbra_server
relay_domains = example.co
I have a postfix mail server that should relay all outgoing mail to an Exchange 2010 server (the Exchange box is my smarthost). I have administrator access to the Exchange 2010 system, but I'm not very familiar with it.
I'm trying to configure a basic postfix server to allow receipt of email from anywhere to local addresses but not be an open relay.
Current config, seemingly relevant rules:
mydestination = $myhostname, localhost.$mydomain, localhost
mynetworks = 0.0.0.0/0
relay_domains = $mydestination
If I change mynetworks back to 127.0.0.1/8 it doesn't receive external mail.
Leaving relay_domains blank see
I have been at this for a couple of hours, and apparently I am missing something in newer postfix versions. I have the server set up, and it works locally but when I try to send from a remote network through the submission port, I always get "Relay access denied".
I am trying to setup a Postfix server on a Linux box to relay all mail to our Office365 (Exchange, hosted by Microsoft) mail server, but, I keep getting an error regarding the sending address:
BB338140DC1: to= relay=pod51010.outlook.com[157.56.234.118]:587, delay=7.6, delays=0.01/0/2.5/5.1, dsn=5.7.1, status=bounced (host pod51010.outlook.com[157.56.234.118] said: 550 5.7.1 Client does not have p
Since I can't find a solution that works with my config, I lean on you guys to help me out with this.
I've installed postfix and dovecot on a CentOS server. Everything's running well.