View Single Post
  #1  
Old 25th January 2012, 17:55
brianetilley brianetilley is offline
Member
 
Join Date: Oct 2005
Posts: 82
Thanks: 4
Thanked 3 Times in 3 Posts
Default Problem with fetchmail/getmail

ISPConfig 3.0.4.2
Debian 6.0 Squeeze

After much searching I have not found a solution as to why I can not receive email from the ISPConfig server. Thunderbird can access the email accounts I set up but fetchmail does not get mail from domain registrar server nor can I send email from Thunderbird. I think it is a DNS issue, but the more I read the more confusing it gets. Here are the outputs for mail.log...netstat -tap...tail -n100 /var/log/messages and iptables -L

Quote:
root@web:~# tail /var/log/mail.log
Jan 25 06:35:01 web dovecot: imap-login: Disconnected (no auth attempts): rip=127.0.0.1, lip=127.0.0.1, secured
Jan 25 06:35:01 web postfix/smtpd[5715]: connect from localhost.localdomain[127.0.0.1]
Jan 25 06:35:01 web postfix/smtpd[5715]: lost connection after CONNECT from localhost.localdomain[127.0.0.1]
Jan 25 06:35:01 web postfix/smtpd[5715]: disconnect from localhost.localdomain[127.0.0.1]
Jan 25 06:36:24 web dovecot: pop3-login: Login: user=<brian@sweatforhealth.com>, method=PLAIN, rip=70.79.230.136, lip=184.70.9.146, TLS
Jan 25 06:36:24 web dovecot: POP3(brian@sweatforhealth.com): Disconnected: Logged out top=0/0, retr=0/0, del=0/0, size=0
Jan 25 06:36:54 web dovecot: pop3-login: Login: user=<admin@earthstationproductions.com>, method=PLAIN, rip=70.79.230.136, lip=184.70.9.146, TLS
Jan 25 06:36:54 web dovecot: POP3(admin@earthstationproductions.com): Disconnected: Logged out top=0/0, retr=0/0, del=0/0, size=0
Jan 25 06:39:32 web dovecot: pop3-login: Login: user=<brian@earthstationproductions.com>, method=PLAIN, rip=70.79.230.136, lip=184.70.9.146, TLS
Jan 25 06:39:32 web dovecot: POP3(brian@earthstationproductions.com): Disconnected: Logged out top=0/0, retr=0/0, del=0/0, size=0
root@web:~#
Quote:
root@web:~# netstat -tap
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 localhost.localdo:10024 *:* LISTEN 1677/amavisd (maste
tcp 0 0 localhost.localdo:10025 *:* LISTEN 1966/master
tcp 0 0 *:mysql *:* LISTEN 1462/mysqld
tcp 0 0 *op3 *:* LISTEN 1979/dovecot
tcp 0 0 *:imap2 *:* LISTEN 1979/dovecot
tcp 0 0 *:sunrpc *:* LISTEN 793/portmap
tcp 0 0 *:ftp *:* LISTEN 1903/pure-ftpd (SER
tcp 0 0 web.espserver.co:domain *:* LISTEN 1324/named
tcp 0 0 localhost.locald:domain *:* LISTEN 1324/named
tcp 0 0 *:ssh *:* LISTEN 23706/sshd
tcp 0 0 *:smtp *:* LISTEN 1966/master
tcp 0 0 localhost.localdoma:953 *:* LISTEN 1324/named
tcp 0 0 *:42142 *:* LISTEN 805/rpc.statd
tcp 0 0 *:imaps *:* LISTEN 1979/dovecot
tcp 0 0 *op3s *:* LISTEN 1979/dovecot
tcp 0 0 localhost.localdo:mysql localhost.localdo:45685 ESTABLISHED 1462/mysqld
tcp 0 52 web.espserver.com:ssh S0106602ad08fbdf1.:1745 ESTABLISHED 6714/2
tcp 0 0 localhost.localdo:45685 localhost.localdo:mysql ESTABLISHED 1678/amavisd (ch5-a
tcp 0 0 web.espserver.com:ssh S0106602ad08fbdf1.:1066 ESTABLISHED 6323/1
tcp 0 0 web.espserver.com:ssh S0106602ad08fbdf1.:4400 ESTABLISHED 5929/0
tcp6 0 0 [::]:http-alt [::]:* LISTEN 5596/apache2
tcp6 0 0 [::]:www [::]:* LISTEN 5596/apache2
tcp6 0 0 [::]:tproxy [::]:* LISTEN 5596/apache2
tcp6 0 0 [::]:ftp [::]:* LISTEN 1903/pure-ftpd (SER
tcp6 0 0 [::]:domain [::]:* LISTEN 1324/named
tcp6 0 0 [::]:ssh [::]:* LISTEN 23706/sshd
tcp6 0 0 ip6-localhost:953 [::]:* LISTEN 1324/named
tcp6 0 0 [::]:https [::]:* LISTEN 5596/apache2
root@web:~#
Quote:
root@web:~# tail -n100 /var/log/messages
Jan 25 04:05:02 web pure-ftpd: (?@127.0.0.1) [INFO] New connection from 127.0.0.1
Jan 25 04:05:02 web pure-ftpd: (?@127.0.0.1) [INFO] Logout.
Jan 25 04:10:01 web pure-ftpd: (?@127.0.0.1) [INFO] New connection from 127.0.0.1
Jan 25 04:10:01 web pure-ftpd: (?@127.0.0.1) [INFO] Logout.
Jan 25 04:15:02 web pure-ftpd: (?@127.0.0.1) [INFO] New connection from 127.0.0.1
Jan 25 04:15:02 web pure-ftpd: (?@127.0.0.1) [INFO] Logout.
Jan 25 04:20:01 web pure-ftpd: (?@127.0.0.1) [INFO] New connection from 127.0.0.1
Jan 25 04:20:01 web pure-ftpd: (?@127.0.0.1) [INFO] Logout.
Jan 25 04:25:01 web pure-ftpd: (?@127.0.0.1) [INFO] New connection from 127.0.0.1
Jan 25 04:25:01 web pure-ftpd: (?@127.0.0.1) [INFO] Logout.
Jan 25 04:30:01 web pure-ftpd: (?@127.0.0.1) [INFO] New connection from 127.0.0.1
Jan 25 04:30:01 web pure-ftpd: (?@127.0.0.1) [INFO] Logout.
Jan 25 04:35:01 web pure-ftpd: (?@127.0.0.1) [INFO] New connection from 127.0.0.1
Jan 25 04:35:01 web pure-ftpd: (?@127.0.0.1) [INFO] Logout.
Jan 25 04:40:01 web pure-ftpd: (?@127.0.0.1) [INFO] New connection from 127.0.0.1
Jan 25 04:40:01 web pure-ftpd: (?@127.0.0.1) [INFO] Logout.
Jan 25 04:45:01 web pure-ftpd: (?@127.0.0.1) [INFO] New connection from 127.0.0.1
Jan 25 04:45:01 web pure-ftpd: (?@127.0.0.1) [INFO] Logout.
Jan 25 04:50:02 web pure-ftpd: (?@127.0.0.1) [INFO] New connection from 127.0.0.1
Jan 25 04:50:02 web pure-ftpd: (?@127.0.0.1) [INFO] Logout.
Jan 25 04:55:01 web pure-ftpd: (?@127.0.0.1) [INFO] New connection from 127.0.0.1
Jan 25 04:55:01 web pure-ftpd: (?@127.0.0.1) [INFO] Logout.
Jan 25 05:00:02 web pure-ftpd: (?@127.0.0.1) [INFO] New connection from 127.0.0.1
Jan 25 05:00:02 web pure-ftpd: (?@127.0.0.1) [INFO] Logout.
Jan 25 05:05:01 web pure-ftpd: (?@127.0.0.1) [INFO] New connection from 127.0.0.1
Jan 25 05:05:01 web pure-ftpd: (?@127.0.0.1) [INFO] Logout.
Jan 25 05:10:01 web pure-ftpd: (?@127.0.0.1) [INFO] New connection from 127.0.0.1
Jan 25 05:10:01 web pure-ftpd: (?@127.0.0.1) [INFO] Logout.
Jan 25 05:15:01 web pure-ftpd: (?@127.0.0.1) [INFO] New connection from 127.0.0.1
Jan 25 05:15:01 web pure-ftpd: (?@127.0.0.1) [INFO] Logout.
Jan 25 05:20:01 web pure-ftpd: (?@127.0.0.1) [INFO] New connection from 127.0.0.1
Jan 25 05:20:01 web pure-ftpd: (?@127.0.0.1) [INFO] Logout.
Jan 25 05:25:01 web pure-ftpd: (?@127.0.0.1) [INFO] New connection from 127.0.0.1
Jan 25 05:25:01 web pure-ftpd: (?@127.0.0.1) [INFO] Logout.
Jan 25 05:30:01 web pure-ftpd: (?@127.0.0.1) [INFO] New connection from 127.0.0.1
Jan 25 05:30:01 web pure-ftpd: (?@127.0.0.1) [INFO] Logout.
Jan 25 05:35:02 web pure-ftpd: (?@127.0.0.1) [INFO] New connection from 127.0.0.1
Jan 25 05:35:02 web pure-ftpd: (?@127.0.0.1) [INFO] Logout.
Jan 25 05:40:01 web pure-ftpd: (?@127.0.0.1) [INFO] New connection from 127.0.0.1
Jan 25 05:40:01 web pure-ftpd: (?@127.0.0.1) [INFO] Logout.
Jan 25 05:45:02 web pure-ftpd: (?@127.0.0.1) [INFO] New connection from 127.0.0.1
Jan 25 05:45:02 web pure-ftpd: (?@127.0.0.1) [INFO] Logout.
Jan 25 05:50:01 web pure-ftpd: (?@127.0.0.1) [INFO] New connection from 127.0.0.1
Jan 25 05:50:01 web pure-ftpd: (?@127.0.0.1) [INFO] Logout.
Jan 25 05:55:01 web pure-ftpd: (?@127.0.0.1) [INFO] New connection from 127.0.0.1
Jan 25 05:55:01 web pure-ftpd: (?@127.0.0.1) [INFO] Logout.
Jan 25 06:00:01 web pure-ftpd: (?@127.0.0.1) [INFO] New connection from 127.0.0.1
Jan 25 06:00:01 web pure-ftpd: (?@127.0.0.1) [INFO] Logout.
Jan 25 06:05:01 web pure-ftpd: (?@127.0.0.1) [INFO] New connection from 127.0.0.1
Jan 25 06:05:01 web pure-ftpd: (?@127.0.0.1) [INFO] Logout.
Jan 25 06:10:01 web pure-ftpd: (?@127.0.0.1) [INFO] New connection from 127.0.0.1
Jan 25 06:10:01 web pure-ftpd: (?@127.0.0.1) [INFO] Logout.
Jan 25 06:15:01 web pure-ftpd: (?@127.0.0.1) [INFO] New connection from 127.0.0.1
Jan 25 06:15:01 web pure-ftpd: (?@127.0.0.1) [INFO] Logout.
Jan 25 06:17:01 web kernel: [243737.886109] ADDRCONF(NETDEV_UP): eth0: link is not ready
Jan 25 06:17:01 web kernel: [243737.889148] e100: eth0 NIC Link is Up 100 Mbps Full Duplex
Jan 25 06:17:01 web kernel: [243737.889367] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Jan 25 06:17:20 web kernel: [243756.617123] ADDRCONF(NETDEV_UP): eth0: link is not ready
Jan 25 06:17:20 web kernel: [243756.620149] e100: eth0 NIC Link is Up 100 Mbps Full Duplex
Jan 25 06:17:20 web kernel: [243756.620378] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Jan 25 06:17:22 web kernel: [243758.517115] ADDRCONF(NETDEV_UP): eth0: link is not ready
Jan 25 06:17:22 web kernel: [243758.520150] e100: eth0 NIC Link is Up 100 Mbps Full Duplex
Jan 25 06:17:22 web kernel: [243758.520391] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Jan 25 06:17:24 web kernel: [243760.702107] ADDRCONF(NETDEV_UP): eth0: link is not ready
Jan 25 06:17:24 web kernel: [243760.705148] e100: eth0 NIC Link is Up 100 Mbps Full Duplex
Jan 25 06:17:24 web kernel: [243760.705389] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Jan 25 06:17:26 web kernel: [243762.598103] ADDRCONF(NETDEV_UP): eth0: link is not ready
Jan 25 06:17:26 web kernel: [243762.601149] e100: eth0 NIC Link is Up 100 Mbps Full Duplex
Jan 25 06:17:26 web kernel: [243762.601391] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Jan 25 06:17:28 web kernel: [243764.482109] ADDRCONF(NETDEV_UP): eth0: link is not ready
Jan 25 06:17:28 web kernel: [243764.485148] e100: eth0 NIC Link is Up 100 Mbps Full Duplex
Jan 25 06:17:28 web kernel: [243764.485365] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Jan 25 06:18:01 web kernel: [243797.542308] ADDRCONF(NETDEV_UP): eth0: link is not ready
Jan 25 06:18:01 web kernel: [243797.545151] e100: eth0 NIC Link is Up 100 Mbps Full Duplex
Jan 25 06:18:01 web kernel: [243797.545579] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Jan 25 06:19:01 web kernel: [243857.404978] nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
Jan 25 06:19:01 web kernel: [243857.405494] CONFIG_NF_CT_ACCT is deprecated and will be removed soon. Please use
Jan 25 06:19:01 web kernel: [243857.405500] nf_conntrack.acct=1 kernel parameter, acct=1 nf_conntrack module option or
Jan 25 06:19:01 web kernel: [243857.405505] sysctl net.netfilter.nf_conntrack_acct=1 to enable it.
Jan 25 06:20:01 web pure-ftpd: (?@127.0.0.1) [INFO] New connection from 127.0.0.1
Jan 25 06:20:01 web pure-ftpd: (?@127.0.0.1) [INFO] Logout.
Jan 25 06:25:01 web pure-ftpd: (?@127.0.0.1) [INFO] New connection from 127.0.0.1
Jan 25 06:25:01 web pure-ftpd: (?@127.0.0.1) [INFO] Logout.
Jan 25 06:25:03 web rsyslogd: [origin software="rsyslogd" swVersion="4.6.4" x-pid="959" x-info="http://www.rsyslog.com"] rsyslogd was HUPed, type 'lightweight'.
Jan 25 06:30:01 web pure-ftpd: (?@127.0.0.1) [INFO] New connection from 127.0.0.1
Jan 25 06:30:01 web pure-ftpd: (?@127.0.0.1) [INFO] Logout.
Jan 25 06:35:01 web pure-ftpd: (?@127.0.0.1) [INFO] New connection from 127.0.0.1
Jan 25 06:35:01 web pure-ftpd: (?@127.0.0.1) [INFO] Logout.
Jan 25 06:40:01 web pure-ftpd: (?@127.0.0.1) [INFO] New connection from 127.0.0.1
Jan 25 06:40:01 web pure-ftpd: (?@127.0.0.1) [INFO] Logout.
Jan 25 06:45:02 web pure-ftpd: (?@127.0.0.1) [INFO] New connection from 127.0.0.1
Jan 25 06:45:02 web pure-ftpd: (?@127.0.0.1) [INFO] Logout.
Jan 25 06:50:01 web pure-ftpd: (?@127.0.0.1) [INFO] New connection from 127.0.0.1
Jan 25 06:50:01 web pure-ftpd: (?@127.0.0.1) [INFO] Logout.
Jan 25 06:55:01 web pure-ftpd: (?@127.0.0.1) [INFO] New connection from 127.0.0.1
Jan 25 06:55:01 web pure-ftpd: (?@127.0.0.1) [INFO] Logout.
Jan 25 07:00:01 web pure-ftpd: (?@127.0.0.1) [INFO] New connection from 127.0.0.1
Jan 25 07:00:01 web pure-ftpd: (?@127.0.0.1) [INFO] Logout.
Jan 25 07:05:01 web pure-ftpd: (?@127.0.0.1) [INFO] New connection from 127.0.0.1
Jan 25 07:05:01 web pure-ftpd: (?@127.0.0.1) [INFO] Logout.
root@web:~#
Quote:
root@web:~# iptables -L
Chain INPUT (policy DROP)
target prot opt source destination
DROP tcp -- anywhere loopback/8
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
ACCEPT all -- anywhere anywhere
DROP all -- base-address.mcast.net/4 anywhere
PUB_IN all -- anywhere anywhere
PUB_IN all -- anywhere anywhere
PUB_IN all -- anywhere anywhere
PUB_IN all -- anywhere anywhere
PUB_IN all -- anywhere anywhere
DROP all -- anywhere anywhere

Chain FORWARD (policy DROP)
target prot opt source destination
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
DROP all -- anywhere anywhere

Chain OUTPUT (policy ACCEPT)
target prot opt source destination
PUB_OUT all -- anywhere anywhere
PUB_OUT all -- anywhere anywhere
PUB_OUT all -- anywhere anywhere
PUB_OUT all -- anywhere anywhere
PUB_OUT all -- anywhere anywhere

Chain INT_IN (0 references)
target prot opt source destination
ACCEPT icmp -- anywhere anywhere
DROP all -- anywhere anywhere

Chain INT_OUT (0 references)
target prot opt source destination
ACCEPT icmp -- anywhere anywhere
ACCEPT all -- anywhere anywhere

Chain PAROLE (15 references)
target prot opt source destination
ACCEPT all -- anywhere anywhere

Chain PUB_IN (5 references)
target prot opt source destination
ACCEPT icmp -- anywhere anywhere icmp destination-unreachable
ACCEPT icmp -- anywhere anywhere icmp echo-reply
ACCEPT icmp -- anywhere anywhere icmp time-exceeded
ACCEPT icmp -- anywhere anywhere icmp echo-request
PAROLE tcp -- anywhere anywhere tcp dpt:ftp-data
PAROLE tcp -- anywhere anywhere tcp dpt:ftp
PAROLE tcp -- anywhere anywhere tcp dpt:ssh
PAROLE tcp -- anywhere anywhere tcp dpt:smtp
PAROLE tcp -- anywhere anywhere tcp dpt:domain
PAROLE tcp -- anywhere anywhere tcp dpt:www
PAROLE tcp -- anywhere anywhere tcp dptop3
PAROLE tcp -- anywhere anywhere tcp dpt:imap2
PAROLE tcp -- anywhere anywhere tcp dpt:https
PAROLE tcp -- anywhere anywhere tcp dpt:imaps
PAROLE tcp -- anywhere anywhere tcp dptop3s
PAROLE tcp -- anywhere anywhere tcp dpt:mysql
PAROLE tcp -- anywhere anywhere tcp dpt:http-alt
PAROLE tcp -- anywhere anywhere tcp dpt:tproxy
PAROLE tcp -- anywhere anywhere tcp dpt:webmin
ACCEPT udp -- anywhere anywhere udp dpt:domain
ACCEPT udp -- anywhere anywhere udp dpt:mysql
DROP icmp -- anywhere anywhere
DROP all -- anywhere anywhere

Chain PUB_OUT (5 references)
target prot opt source destination
ACCEPT all -- anywhere anywhere

Chain fail2ban-dovecot-pop3imap (0 references)
target prot opt source destination
RETURN all -- anywhere anywhere

Chain fail2ban-pureftpd (0 references)
target prot opt source destination
RETURN all -- anywhere anywhere

Chain fail2ban-ssh (0 references)
target prot opt source destination
RETURN all -- anywhere anywhere
root@web:~#
Thanks in advance for any suggestions or links to the info I need. As my email is not working I will check this thread directly for any reply.
Reply With Quote
Sponsored Links