| Linode Forum https://forum.linode.com/ |
|
| Enabling postfix to allow email forwarders https://forum.linode.com/viewtopic.php?f=11&t=10163 |
Page 1 of 1 |
| Author: | creativetags [ Fri Jun 14, 2013 11:42 am ] |
| Post subject: | Enabling postfix to allow email forwarders |
I'm trying to setup postfix to create forwarding accounts for a client who wants emails to their new domain to forward to their existing account on an old domain. I've configured postfix for this and I know it's running via netstat: tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 9980/master I've checked the firewall via iptables -L -v -n | grep :25 0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:25 but when I test it via telnet from my own machine I get: telnet 176.58.103.165 25 Trying 176.58.103.165... telnet: connect to address 176.58.103.165: Operation timed out I've also trying setting it up on port 587 but it just says Connection refused. What am I doing wrong? |
|
| Author: | sweh [ Fri Jun 14, 2013 1:20 pm ] |
| Post subject: | Re: Enabling postfix to allow email forwarders |
Firstly postfix is only listening on 127.0.0.1 so it won't accept other addresses. eg Code: % telnet 176.58.103.165 25 The timeout you're seeing is because of a firewall. Clearly I didn't hit that firewall when I just did my test. Where did you try to connect from? If a home machine then be aware that many ISPs block outgoing port 25 these days. |
|
| Author: | creativetags [ Sat Jun 15, 2013 5:08 pm ] |
| Post subject: | Re: Enabling postfix to allow email forwarders |
Thanks sweh. I managed to get it listening globally rather than just locally by setting: inet_interfaces = all I'm now nervous about accidentally setting up an open relay. How do I set it up to make forwarder emails for a couple of domains e.g. info@example.com -> example@gmail.com without contributing to spam? I'm particularly concerned about "mydestination" |
|
| Author: | Main Street James [ Sat Jun 15, 2013 7:08 pm ] |
| Post subject: | Re: Enabling postfix to allow email forwarders |
creativetags wrote: I'm now nervous about accidentally setting up an open relay. There are plenty of websites you can use to test for an open relay situation. I use http://www.mxtoolbox.com/diagnostic.aspx |
|
| Page 1 of 1 | All times are UTC-04:00 |
| Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |
|