Topic: Allow Relay from web server to Iredmail mail server
I have Iredmail setup and running fine, but I want to relay emails from my web server (different server) to this machine.
I have setup Postfix on the webserver and added 'relayhost = xxx.xxx.xxx.xxx' to the main.cf
and then added the webservers ip address to the $mynetworks in main.cf on the mail server
which I thought should work fine, but it doesn't I get:
Nov 29 11:34:43 digitalquill postfix/error: B6A071FF473E: to=<-----@-------.co.uk>, relay=none, delay=389128, delays=389100/27/0/0.1, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to xx.xx.xx.xx[xx.xx.xx.xx]:25: Connection timed out)
When I try to ping the Iredmail mail server (ip address or domain name) from anywhere else (i.e. my web server) I can not ping
Any help would be great as I am really struggling with this one