View Single Post
  #4  
Old 17th October 2009, 23:16
KaiserGimmel KaiserGimmel is offline
Junior Member
 
Join Date: Oct 2009
Posts: 14
Thanks: 0
Thanked 1 Time in 1 Post
Default

Hello Falk,

thanks for your reply:

Code:
root@torchwood:~# netstat -tap
Aktive Internetverbindungen (Server und stehende Verbindungen)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 *:imaps                 *:*                     LISTEN      9677/couriertcpd
tcp        0      0 *:pop3s                 *:*                     LISTEN      9700/couriertcpd
tcp        0      0 *:10024                 *:*                     LISTEN      9142/amavisd (maste
tcp        0      0 localhost.localdo:10025 *:*                     LISTEN      9764/master
tcp        0      0 *:mysql                 *:*                     LISTEN      9208/mysqld
tcp        0      0 *:pop3                  *:*                     LISTEN      9688/couriertcpd
tcp        0      0 *:imap2                 *:*                     LISTEN      9664/couriertcpd
tcp        0      0 localhost.localdo:spamd *:*                     LISTEN      9286/spamd.pid
tcp        0      0 *:http-alt              *:*                     LISTEN      7874/apache2
tcp        0      0 *:www                   *:*                     LISTEN      7874/apache2
tcp        0      0 *:ftp                   *:*                     LISTEN      9775/pure-ftpd (SER
tcp        0      0 *:ssh                   *:*                     LISTEN      9115/sshd
tcp        0      0 *:smtp                  *:*                     LISTEN      473/smtpd
tcp        0      0 *:https                 *:*                     LISTEN      7874/apache2
tcp        1      0 torchwood.melcher.:smtp mx002.twitter.com:35603 CLOSE_WAIT  13470/smtpd
tcp        0      0 torchwood.melcher:49089 localhost.locald:sunrpc TIME_WAIT   -
tcp        1      0 torchwood.melcher.:smtp mx003.twitter.com:48117 CLOSE_WAIT  13340/smtpd
tcp        0      0 torchwood.melcher:imaps ppp-93-104-23-229:49175 VERBUNDEN   32444/couriertls
tcp        1      0 torchwood.melcher.:smtp mx003.twitter.com:56442 CLOSE_WAIT  14643/smtpd
tcp        0      0 torchwood.melc:http-alt ppp-93-104-23-229:49453 TIME_WAIT   -
tcp        1      0 torchwood.melcher.:smtp mx001.twitter.com:60968 CLOSE_WAIT  27205/smtpd
tcp        0      0 torchwood.melcher:imaps ppp-93-104-23-229:49215 VERBUNDEN   32574/couriertls
tcp        0      0 torchwood.melc:http-alt ppp-93-104-23-229:49463 TIME_WAIT   -
tcp        0      0 localhost.localdo:mysql torchwood.melcher:46900 TIME_WAIT   -
tcp        1      0 torchwood.melcher.:smtp mx001.twitter.com:60966 CLOSE_WAIT  9031/smtpd
tcp        1      0 torchwood.melcher.:smtp mx002.twitter.com:44990 CLOSE_WAIT  736/smtpd
tcp        1      0 torchwood.melcher.:smtp mx002.twitter.com:58734 CLOSE_WAIT  19082/smtpd
tcp        0      0 torchwood.melcher.i:www ppp-93-104-23-229:49306 TIME_WAIT   -
tcp        1      0 torchwood.melcher.:smtp moutng.kundenserv:62288 CLOSE_WAIT  13898/smtpd
tcp        0      0 torchwood.melc:http-alt ppp-93-104-23-229:49452 TIME_WAIT   -
tcp        1      0 torchwood.melcher.:smtp mx003.twitter.com:40247 CLOSE_WAIT  23661/smtpd
tcp        1      0 torchwood.melcher.:smtp mx003.twitter.com:39664 CLOSE_WAIT  15840/smtpd
tcp        0   3700 torchwood.melcher.i:ssh ppp-93-104-23-229:49167 VERBUNDEN   32432/sshd: kaos [p
tcp        0      0 torchwood.melcher.:smtp moutng.kundenserv:54078 VERBUNDEN   32529/smtpd
tcp        0      0 torchwood.melc:http-alt ppp-93-104-23-229:49454 TIME_WAIT   -
tcp        0      0 torchwood.melcher:imaps ppp-93-104-23-229:49214 VERBUNDEN   32572/couriertls
tcp        1      0 torchwood.melcher.:smtp mx004.twitter.com:44535 CLOSE_WAIT  14859/smtpd
tcp        1      0 torchwood.melcher.:smtp mx007.twitter.com:40430 CLOSE_WAIT  14271/smtpd
tcp        0      0 torchwood.melc:http-alt ppp-93-104-23-229:49455 TIME_WAIT   -
tcp        0      0 localhost.localdo:mysql torchwood.melcher:46901 TIME_WAIT   -
tcp        0      0 torchwood.melcher:60208 localhost.locald:sunrpc TIME_WAIT   -
i got it working after I added my external ip to the main.conf of postfix with
-o mynetworks=[external_ip]

at 05:00 i got this in the log and mails are not deliverd again:

Code:
Oct 17 05:10:51 torchwood amavis[30901]: (30901-14) (!)rw_loop: leaving rw loop, no progress
Oct 17 05:10:51 torchwood postfix/proxymap[26293]: warning: connect to mysql server 127.0.0.1: Host 'torchwood.melcher.it' is blocked because of many connection errors; unblock with 'mysqladmin flush-hosts'
Oct 17 05:10:51 torchwood postfix/proxymap[26293]: warning: connect to mysql server 127.0.0.1: Host 'torchwood.melcher.it' is blocked because of many connection errors; unblock with 'mysqladmin flush-hosts'
Oct 17 05:10:51 torchwood postfix/trivial-rewrite[23493]: fatal: proxy:mysql:/etc/postfix/mysql-virtual_domains.cf(0,lock|fold_fix): table lookup problem
Oct 17 05:10:51 torchwood postfix/trivial-rewrite[23494]: fatal: proxy:mysql:/etc/postfix/mysql-virtual_domains.cf(0,lock|fold_fix): table lookup problem
Oct 17 05:10:51 torchwood postfix/trivial-rewrite[23495]: fatal: proxy:mysql:/etc/postfix/mysql-virtual_domains.cf(0,lock|fold_fix): table lookup problem
Oct 17 05:10:51 torchwood postfix/trivial-rewrite[23501]: fatal: proxy:mysql:/etc/postfix/mysql-virtual_domains.cf(0,lock|fold_fix): table lookup problem
I'm wondering why this case is not covered by the installation of ipconfig...
I've done the flush-host thing and now I'm googling how to fix the queries per day thing... I assume that somehow connects from my local machine to my local machine are not treated as local connections - but I really dont know why... -.-

suggestions?
so long
Max

p.s. as you see in the netstat there are a lot of open connections - at least the mails didnt get bounced...
Reply With Quote