Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Sat Jul 30, 2011 3:38 am 
Offline
Newbie

Joined: Sat Jul 30, 2011 2:08 am
Posts: 4
Hi,

I'm running ISP Config 3.0.3.2 (incl. Postfix) based server on Ubuntu 10.04. Everything has been working fine but suddenly SMTP connections from email clients stopped working for all domains.

This is what I know so far:

1) "telnet xxx.members.linode.com 25" reports immediately
220 xxx.members.linode.com ESMTP Postfix (Ubuntu)
so looks like postfix is alive

2) Thunderbird client reports "server timed out". Windows Live Mail same error, basically.

3) /var/log/mail.log and /var/log/mail.err don't have any errors.

Any ideas or suggestions? Would be greatly appreciated. Thanks!


Jani


Top
   
 Post subject: linode problem?
PostPosted: Sat Jul 30, 2011 3:47 am 
Offline
Newbie

Joined: Sat Jul 30, 2011 2:08 am
Posts: 4
Now I found out that telnet servername 25 works from *another Linode* but not outside Linode network (stupid of me to test it from another linode in the first place). So it appears Linode has blocked port 25 suddenly? My Linodes are in Dallas.


Top
   
 Post subject:
PostPosted: Sat Jul 30, 2011 4:18 am 
Offline
Senior Member
User avatar

Joined: Tue Aug 17, 2004 11:37 pm
Posts: 262
Website: http://www.our-lan.com
WLM: nf@our-lan.com
Location: Brisbane, Australia
linode do not block port 25.
Either you have firewall rules in place that are causing this, or your other test source is blocking 25 outbound.

Whats your ip? ill test from here

_________________
ServerAdmin - www.our-lan.com
"Diplomacy is the art of saying nice doggy whilst looking for a really big stick"
"In my experiece, any attempt to make any system idiot proof will only challenge God to make a better idiot"


Top
   
 Post subject:
PostPosted: Sat Jul 30, 2011 10:47 am 
Offline
Senior Member

Joined: Fri Jan 09, 2009 5:32 pm
Posts: 634
Internat wrote:
linode do not block port 25.
Either you have firewall rules in place that are causing this, or your other test source is blocking 25 outbound.


exactly, it's actually likely that your ISP is blocking outbound 25. Set your server to listen to 2525 or something like that in addition to 25 and try it out.


Top
   
 Post subject:
PostPosted: Sat Jul 30, 2011 12:12 pm 
Offline
Newbie

Joined: Sat Jul 30, 2011 2:08 am
Posts: 4
Yep telnet didn't work because of my ISP, tried from another server and it works fine.

So it does look like ISP firewall issue. However, what puzzles me is that email clients suddenly stopped working from multiple locations in multiple countries - including several US ISPs and several Vietnam-based ISPs. I have not changed any server settings or anything, so "something in the middle" has changed.

I guess I try next to change the port. Thanks for your suggestion! I report back here if I have any success fixing this.

Thanks again,
Jani


Top
   
 Post subject:
PostPosted: Mon Aug 01, 2011 9:35 pm 
Offline
Newbie

Joined: Sat Jul 30, 2011 2:08 am
Posts: 4
The issue "fixed itself". Suddenly after being two days unreachable through port 25, the port magically opened.


Top
   
 Post subject:
PostPosted: Sun Sep 11, 2011 11:46 pm 
Offline
Senior Newbie

Joined: Thu Feb 28, 2008 1:29 pm
Posts: 19
Save yourself future headaches by enabling MSA port 587 now.

A two-second change, add a firewall rule to allow the traffic in, and restart your postfix instance & firewall instance and you're done.

To listen on both tcp port 25 and 587, modify /etc/postfix/master.cf (or whatever path your Postfix configuration resides within), and uncomment the line beginning with "submission inet", which should be found immediately below your 'smtp inet' line:


Code:
smtp      inet  n       -       n       -       -       smtpd
submission inet n       -       n       -       -       smtpd



Modify your firewall to allow inbound tcp 587 traffic (as wide open or as restricted for the port as you prefer), reload your firewall rules/restart your firewall and reload or restart Postfix. You can confirm postfix is bound to port 587 via netstat -plan as root:

Code:
# netstat -plan | grep "master" | grep tcp
tcp        0      0 0.0.0.0:587                 0.0.0.0:*                   LISTEN      3227/master
tcp        0      0 0.0.0.0:25                  0.0.0.0:*                   LISTEN      3227/master
tcp        0      0 :::587                      :::*                        LISTEN      3227/master
tcp        0      0 :::25                       :::*                        LISTEN      3227/master


Here Postfix is listening on all interfaces on both IPv4 and IPv6 on both tcp ports 25 and 587.

Additionally, you can just telnet to port 587 from localhost and from your ISP connection.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group