store | blogs | forums | twitter | facebook | wiki | mailing lists | downloads | support portal
Atomic Secure Linux
It is currently Tue May 21, 2013 3:21 pm

» Feed - Atomicorp

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic Share/Bookmark  [ 8 posts ] 
Author Message
 Post subject: Using port 2525 with qmail / Plesk 10 - Help!
Unread postPosted: Wed Feb 23, 2011 10:18 am 
Offline
Forum User
Forum User

Joined: Sat Jan 20, 2007 6:57 pm
Posts: 82
I used the following article to add port 2525 to qmail:
http://wiki.mediatemple.net/w/(dv):Enable_alternate_SMTP_email_port
It was working fine for a while. I could telnet into qmail on port 2525 and get a response but suddenly it just stopped working.
Now when I try to telnet in on port 2525 it just hangs. I can see that xinetd is listening on 2525 and 25 but no joy telnetting in on port 2525. Telnetting in on port 25 works though.

netstat output:
tcp 0 0 0.0.0.0:2525 0.0.0.0:* LISTEN 12253/xinetd
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN 12253/xinetd

Any ideas on how to address this or how to troubleshoot?


Top
 Profile  
 
 Post subject: Re: Using port 2525 with qmail / Plesk 10 - Help!
Unread postPosted: Wed Feb 23, 2011 11:07 am 
Offline
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin

Joined: Wed Dec 31, 1969 8:00 pm
Posts: 7424
Location: earth
Are you sure you even need to do that? You've already got 465 and 587 as alt SMTP ports enabled by default.


Top
 Profile  
 
 Post subject: Re: Using port 2525 with qmail / Plesk 10 - Help!
Unread postPosted: Wed Feb 23, 2011 9:05 pm 
Offline
Forum User
Forum User

Joined: Sat Jan 20, 2007 6:57 pm
Posts: 82
I enabled it because I often am in locations where the default email ports are blocked.
Its nice to have a nonstandard port to use to send mail.
I have heard that this method (or similar) can create an open relay which I dont want.

I have another issue:
On port 465 I get:

telnet mail.smallgod.net 465
Trying 72.10.34.217...
Connected to mail.smallgod.net.
Escape character is '^]'.
454 TLS no valid RSA private key: error:02001002:system library:fopen:No such file or directory (#4.3.0)
Connection closed by foreign host.


Top
 Profile  
 
 Post subject: Re: Using port 2525 with qmail / Plesk 10 - Help!
Unread postPosted: Wed Feb 23, 2011 9:13 pm 
Offline
Forum User
Forum User

Joined: Sat Jan 20, 2007 6:57 pm
Posts: 82
Nevermind I got the SSL issue fixed.
It seems I pasted the private key in vi without it being in insert mode so it began with:
N RSA PRIVATE KEY-----

If you have any thoughts on the alternate smtp port though...
Thanks for your help!


Top
 Profile  
 
 Post subject: Re: Using port 2525 with qmail / Plesk 10 - Help!
Unread postPosted: Wed Feb 23, 2011 9:15 pm 
Offline
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin

Joined: Wed Dec 31, 1969 8:00 pm
Posts: 7424
Location: earth
yup, 465 is SSL smtp, and 587 is the submission port which supports STARTTLS


Top
 Profile  
 
 Post subject: Re: Using port 2525 with qmail / Plesk 10 - Help!
Unread postPosted: Thu Feb 24, 2011 8:33 pm 
Offline
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
User avatar

Joined: Thu Feb 07, 2008 7:49 pm
Posts: 3245
Location: Chantilly, VA
On the port 2525 issue, do you have a firewall setup, and is the port 2525/tcp open?

_________________
Michael Shinn
Atomicorp - Security For Everyone

Co-Author of Troubleshooting Linux Firewalls.


Top
 Profile  
 
 Post subject: Re: Using port 2525 with qmail / Plesk 10 - Help!
Unread postPosted: Thu Feb 24, 2011 8:55 pm 
Offline
Forum User
Forum User

Joined: Sat Jan 20, 2007 6:57 pm
Posts: 82
When I open up the firewall completely it works so That must be it. (doh!)
Thanks!


Top
 Profile  
 
 Post subject: Re: Using port 2525 with qmail / Plesk 10 - Help!
Unread postPosted: Thu Feb 24, 2011 11:26 pm 
Offline
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
User avatar

Joined: Thu Feb 07, 2008 7:49 pm
Posts: 3245
Location: Chantilly, VA
Glad we could help, and to be a completely shameless author - you know we wrote a book about just this:

http://www.amazon.com/Troubleshooting-L ... 369&sr=8-1

:-)

_________________
Michael Shinn
Atomicorp - Security For Everyone

Co-Author of Troubleshooting Linux Firewalls.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic Share/Bookmark  [ 8 posts ] 

» Feed - Atomicorp

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


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
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group