PDA

View Full Version : CentOS 6 inbound email


MrMoo
21st September 2011, 19:26
Email servers are the bain of my life, i have just setup a VPS using this guide

http://www.howtoforge.com/perfect-server-centos-6.0-x86_64-ispconfig-3-p2

everything works like a charm and great work by falko.... Except that inbound mail doesn't deliver, my outbound mail works fine, all the emails sent from my domain via webmail to my hotmail arrive without any problems, when i reply it doesn't give any errors in maillog or any bounce backs.

DNS all point to my hostname and i have an MX record

mydestination line in main.cf is

mydestination = myhostname, localhost, localhost.localdomain

any ideas ?

Many Thanks

MrMoo
21st September 2011, 21:49
i have seen on other threads falko asking for netstat -tap, to try and provide further info my netstat -tap output is as follow

Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 *:imaps *:* LISTEN 1613/couriertcpd
tcp 0 0 *:pop3s *:* LISTEN 1625/couriertcpd
tcp 0 0 localhost:10024 *:* LISTEN 1593/amavisd (maste
tcp 0 0 localhost:10025 *:* LISTEN 5832/master
tcp 0 0 *:mysql *:* LISTEN 1561/mysqld
tcp 0 0 *:pop3 *:* LISTEN 1619/couriertcpd
tcp 0 0 localhost:dyna-access *:* LISTEN 1436/clamd
tcp 0 0 *:imap *:* LISTEN 1606/couriertcpd
tcp 0 0 *:webcache *:* LISTEN 1713/httpd
tcp 0 0 *:http *:* LISTEN 1713/httpd
tcp 0 0 *:tproxy *:* LISTEN 1713/httpd
tcp 0 0 *:ftp *:* LISTEN 1723/pure-ftpd (SER
tcp 0 0 xxxxx.com:domain *:* LISTEN 1369/named
tcp 0 0 localhost:domain *:* LISTEN 1369/named
tcp 0 0 *:ssh *:* LISTEN 1419/sshd
tcp 0 0 *:smtp *:* LISTEN 5832/master
tcp 0 0 *:https *:* LISTEN 1713/httpd
tcp 0 0 localhost:58714 localhost:mysql ESTABLISHED 1779/amavisd (ch3-a
tcp 0 0 localhost:58713 localhost:mysql ESTABLISHED 1778/amavisd (ch4-a
tcp 0 0 localhost:mysql localhost:58713 ESTABLISHED 1561/mysqld
tcp 0 0 localhost:mysql localhost:58714 ESTABLISHED 1561/mysqld
tcp 0 52 xxxxx.com:ssh static-87-102-39-245.:57692 ESTABLISHED 12238/0

MrMoo
21st September 2011, 22:36
[solved]

I deleted all my MX records and created an A record


@ A (ipaddress)


Works great now