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; 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?
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.
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