Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 4th May 2010, 09:15
dolmax dolmax is offline
Member
 
Join Date: Mar 2008
Posts: 33
Thanks: 2
Thanked 0 Times in 0 Posts
Default Cannot send message on the external [SOLVED]

I have a problem with one of my servers.

I'm running ISPconfig 3 on a Debian 5.0.4 deployment. I have used the Perfect Server guide to install and configure the server, without any errors.

The server was able to send and receive mail without any problems until yesterday. I have the volatile repo in my apt source-list. Last thing I did on the server was an apt update/upgrade.

Current status;
- I can receive e-mail from any host,
- I can send e-mail within my domain,
- I cannot send message to external hosts.

When I send a message to external hosts, I receive a "sent" confirmation in my mail.log file, but the message goes right into queue and is not delivered.

This is how a typical deferred message looks like;
Quote:
May 4 09:48:16 ispconfig postfix/smtp[4741]: 00AB9124A3DC: to=<dolmax@yahoo.com>, relay=none, delay=262, delays=112/0.03/150/0, dsn=4.4.1, status=deferred (connect to g.mx.mail.yahoo.com[98.137.54.238]:25: Connection timed out)
This is my netstat -tap output;

Code:
Active Internet connections (servers and established)              
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 *:52096                 *:*                     LISTEN      2124/rpc.statd  
tcp        0      0 localhost:10024         *:*                     LISTEN      2473/amavisd (maste
tcp        0      0 localhost:10025         *:*                     LISTEN      4730/master        
tcp        0      0 *:mysql                 *:*                     LISTEN      2537/mysqld        
tcp        0      0 *:submission            *:*                     LISTEN      4730/master        
tcp        0      0 localhost:spamd         *:*                     LISTEN      2616/spamd.pid     
tcp        0      0 *:sunrpc                *:*                     LISTEN      2113/portmap       
tcp        0      0 *:ftp                   *:*                     LISTEN      3422/pure-ftpd (SER
tcp        0      0 ispconfig.example.com:domain *:*                     LISTEN      3327/mydns         
tcp        0      0 localhost:domain        *:*                     LISTEN      3327/mydns         
tcp        0      0 *:ssh                   *:*                     LISTEN      2446/sshd          
tcp        0      0 localhost:ipp           *:*                     LISTEN      3312/cupsd         
tcp        0      0 *:smtp                  *:*                     LISTEN      4730/master        
tcp        0      0 localhost:41114         localhost:sunrpc        TIME_WAIT   -                  
tcp        0      0 localhost:38796         localhost:sunrpc        TIME_WAIT   -                  
tcp        0      0 localhost:35718         localhost:mysql         ESTABLISHED 2548/amavisd (ch4-a
tcp        0      0 localhost:33486         localhost:sunrpc        TIME_WAIT   -                  
tcp        0      0 localhost:mysql         localhost:35718         ESTABLISHED 2537/mysqld        
tcp        0      0 localhost:mysql         localhost:35743         ESTABLISHED 2537/mysqld        
tcp        0      0 localhost:51339         localhost:sunrpc        TIME_WAIT   -                  
tcp        0      0 localhost:46538         localhost:sunrpc        TIME_WAIT   -                  
tcp        0      0 localhost:35081         localhost:sunrpc        TIME_WAIT   -                  
tcp        0      0 localhost:34530         localhost:sunrpc        TIME_WAIT   -                  
tcp        0      0 localhost:52453         localhost:imap2         TIME_WAIT   -                  
tcp        0      0 localhost:50512         localhost:sunrpc        TIME_WAIT   -                  
tcp        0      0 localhost:33887         localhost:sunrpc        TIME_WAIT   -                  
tcp        0      0 localhost:52451         localhost:imap2         TIME_WAIT   -                  
tcp        0      0 localhost:37280         localhost:sunrpc        TIME_WAIT   -                  
tcp        0      0 localhost:58834         localhost:sunrpc        TIME_WAIT   -                  
tcp        0      0 localhost:55463         localhost:sunrpc        TIME_WAIT   -                  
tcp        0      0 localhost:42330         localhost:sunrpc        TIME_WAIT   -                  
tcp        0      0 localhost:35671         localhost:sunrpc        TIME_WAIT   -                  
tcp        0      0 localhost:50029         localhost:sunrpc        TIME_WAIT   -                  
tcp        0      0 localhost:46981         localhost:sunrpc        TIME_WAIT   -                  
tcp        0      0 localhost:40176         localhost:sunrpc        TIME_WAIT   -                  
tcp        0      0 localhost:52448         localhost:imap2         TIME_WAIT   -                  
tcp        0      0 localhost:43243         localhost:sunrpc        TIME_WAIT   -                  
tcp        0      0 localhost:44259         localhost:sunrpc        TIME_WAIT   -                  
tcp        0      0 localhost:35743         localhost:mysql         ESTABLISHED 2549/amavisd (ch3-a
tcp        0      0 localhost:49595         localhost:sunrpc        TIME_WAIT   -                  
tcp        0      0 localhost:39693         localhost:sunrpc        TIME_WAIT   -                  
tcp        0      0 localhost:47370         localhost:sunrpc        TIME_WAIT   -                  
tcp        0      0 ispconfig.example.com.:ssh mx.mail.yahoo.com:32797      ESTABLISHED 3833/0             
tcp        0      0 localhost:36003         localhost:sunrpc        TIME_WAIT   -                  
tcp        0      0 localhost:41402         localhost:sunrpc        TIME_WAIT   -                  
tcp        0      0 localhost:56524         localhost:sunrpc        TIME_WAIT   -                  
tcp        0      0 localhost:48703         localhost:sunrpc        TIME_WAIT   -                  
tcp        0      0 localhost:59893         localhost:sunrpc        TIME_WAIT   -                  
tcp        0      0 localhost:34233         localhost:sunrpc        TIME_WAIT   -                  
tcp        0      0 localhost:49009         localhost:sunrpc        TIME_WAIT   -                  
tcp        0      0 localhost:33020         localhost:sunrpc        TIME_WAIT   -                  
tcp        0      0 localhost:52445         localhost:imap2         TIME_WAIT   -                  
tcp        0      0 localhost:34162         localhost:sunrpc        TIME_WAIT   -                  
tcp        0      0 localhost:36013         localhost:sunrpc        TIME_WAIT   -                  
tcp        0      0 localhost:38464         localhost:sunrpc        TIME_WAIT   -
tcp6       0      0 [::]:imaps              [::]:*                  LISTEN      3274/couriertcpd
tcp6       0      0 [::]:pop3s              [::]:*                  LISTEN      3292/couriertcpd
tcp6       0      0 [::]:pop3               [::]:*                  LISTEN      3280/couriertcpd
tcp6       0      0 [::]:imap2              [::]:*                  LISTEN      3262/couriertcpd
tcp6       0      0 [::]:http-alt           [::]:*                  LISTEN      3620/apache2
tcp6       0      0 [::]:www                [::]:*                  LISTEN      3620/apache2
tcp6       0      0 [::]:tproxy             [::]:*                  LISTEN      3620/apache2
tcp6       0      0 [::]:ftp                [::]:*                  LISTEN      3422/pure-ftpd (SER
tcp6       0      0 localhost:domain        [::]:*                  LISTEN      3327/mydns
tcp6       0      0 [::]:ssh                [::]:*                  LISTEN      2446/sshd
tcp6       0      0 localhost:ipp           [::]:*                  LISTEN      3312/cupsd
tcp6       0      0 [::]:https              [::]:*                  LISTEN      3620/apache2
tcp6       0      0 localhost:imap2         localhost:52449         TIME_WAIT   -
tcp6       0      0 localhost:imap2         localhost:52456         TIME_WAIT   -
tcp6       0      0 localhost:imap2         localhost:52447         TIME_WAIT   -
tcp6       0      0 localhost:imap2         localhost:52457         TIME_WAIT   -
tcp6       0      0 localhost:imap2         localhost:52455         TIME_WAIT   -
tcp6       0      0 ispconfig.example.com.:www mx.mail.yahoo.com:60873      TIME_WAIT   -
Why do you think the last "TIME_WAIT" line is tyring on tcp6 level?

The server has no dns issues. I can dig all hosts that I'm sending message to.

This problem exists for any external host. It's not limited to yahoo or gmail.

What do you suggest?

Last edited by dolmax; 4th May 2010 at 12:55.
Reply With Quote
Sponsored Links
  #2  
Old 4th May 2010, 09:24
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,586
Thanks: 792
Thanked 4,982 Times in 3,903 Posts
Default

Please try to connect to the yahoo mailserver with telnet on port 25:

telnet g.mx.mail.yahoo.com 25

to check if port 25 is blocked.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 4th May 2010, 12:53
dolmax dolmax is offline
Member
 
Join Date: Mar 2008
Posts: 33
Thanks: 2
Thanked 0 Times in 0 Posts
 
Default

Dear Till,

You're always of great help. Thank you for your personal involvement.

This server that I'm talking about is burried inside an Active Directory structure. I'm providing help as a consultant. Later I have discovered that they have installed a new security appliance without notifying me.

The problem was an application called eSafe, a packet based firewall. The moment the software received multiple connections from my server, it blocked "outgoing" port 25 for that host.

Please disregard this thread. Sorry for extra work created.

Thanks all,
Hakan
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't recieve email from external account (no bounce message) sampson Installation/Configuration 4 30th April 2010 15:37
Exim Gateway with mailwatch (Unable to receive emails) siul0_0 HOWTO-Related Questions 10 8th May 2009 23:00
Can't send mail to external address? StevenD General 3 16th February 2009 11:52
Errors Installing Postfix, PostfixAdmin, Courier asyadiqin Installation/Configuration 15 13th November 2008 17:28
I can´t send message to hotmail, yahoo. leeeonardo Server Operation 2 7th April 2007 14:32


All times are GMT +2. The time now is 00:50.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.