Situation: small (young) company, one root server for web, mail with google apps. Mail to "foo@example.com" is sent to google, but webbrowsers are directed to the server (example.com and www.example.com - the dns has a wildcard entry), which is an ubuntu 12.04 machine.
Now I'd like to be able to send mails from the server (cron messages and others) to this google account (i.e.
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 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 am trying to setup an DKIM email signing for a postfix SMTP server.
This server is to be used by different services on the local network.
I have generated DKIM key pair, added it to my domain and was able to successfully send emails out from the server itself as seen here:
me@server:~$ telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 server.lan ESM
Currently it appears that somehow someone is using my server to send spam as I'm seeing 100's of rejection emails from other email services (such as gmail) saying the message could not be delivered "return to sender" and sent to mydomain.com.
Upon investigation these email are coming via RELAY from a remote IP and not actually from the server itself (e.g.
How To Relay Email On A Postfix Server
I have a postfix mail server serving domain example.com. I've set up another mail server serving sub.example.com, and it relays all outgoing mail to first mail server which sends it worldwide. But the main server keep responding me with "Relay access denied."
Which directive to use on the main server so it will send mails further, which are received with sub.example.com domain?
I just install mutt and postfix on my server and I've been playing around with it.
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