By danb391996
I’ve been trying to open port 25 for postfix, and I can’t figure out what I’m doing wrong. I can’t telnet to the server with port 25, while I can telnet to other, like TeamSpeak3s port (30033). This is what my iptables looks like.
*filter :INPUT ACCEPT [1326:1570360] :FORWARD ACCEPT [0:0] :OUTPUT ACCEPT [841:176823] -A INPUT -p tcp -m tcp --dport 25 -j ACCEPT COMMIT
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
sudo netstat -plutn | grep 25 <br>tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 28291/master <br>tcp 0 0 ::1:25 :::* LISTEN 28291/master <br>
I am trying to open the port for posfix, but the server can’t receive any emails. After a while I get this response on gmail, trying to send an email: <br> <br>Technical details of temporary failure: <br>The recipient server did not accept our requests to connect. Learn more at http://support.google.com/mail/bin/answer.py?answer=7720 <br>[(0) mydomain.com. [xxx.xxx.xxx.xxx]:25: Connection refused]
Postfix is listening on the loopback interface. You have to configure it to listen on 0.0.0.0. See <a href=“http://www.cyberciti.biz/faq/postfix-receive-mail-on-specific-network-interfaces/”>http://www.cyberciti.biz/faq/postfix-receive-mail-on-specific-network-interfaces/</a>.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.