View Single Post
  #6  
Old 28th May 2013, 03:11
oldretiredman oldretiredman is offline
Junior Member
 
Join Date: May 2013
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default http://www.howtoforge.com/virtual-users-and-domains-with-postfix-courier-mysql-and-sq

I'm having this issue also, made a lot of changes so I'm going to have to go through the tutorial again and try to cross and dot everything again.

It's when I log in correctly, if I don't log in correctly, it works as expected, ~"You have failed to login,etc."

The issue certainly starts at the email not being sent correctly.

Quote:
[root@server1 ~]# telnet localhost 25
Trying ::1...
Connected to localhost.
Escape character is '^]'.
220 example.com ESMTP Postfix
ehlo localhost
250-example.com
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-STARTTLS
250-AUTH LOGIN PLAIN
250-AUTH=LOGIN PLAIN
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN
quit
221 2.0.0 Bye
Connection closed by foreign host.
[root@server1 ~]#
/etc/aliases:
Quote:
postmaster: root
root: postmaster@example.com
(newaliases was run)

/var/log/maillog when trying to mailx sales@example.com:
Quote:
May 27 19:05:27 server1 postfix/smtp[3584]: 5CD4422853: to=<sales@example.com>, relay=none, delay=0.22, delays=0.02/0.01/0.2/0, dsn=5.4.4, status=bounced (unable to look up host mail.example.com: Name or service not known)
May 27 19:05:27 server1 postfix/cleanup[3566]: 969B722855: message-id=<20130528000527.969B722855@example.com>
May 27 19:05:27 server1 postfix/bounce[3585]: 5CD4422853: sender non-delivery notification: 969B722855
May 27 19:05:27 server1 postfix/qmgr[3402]: 969B722855: from=<>, size=2694, nrcpt=1 (queue active)
May 27 19:05:27 server1 postfix/qmgr[3402]: 5CD4422853: removed
May 27 19:05:27 server1 postfix/smtp[3584]: 969B722855: to=<root@example.com>, relay=none, delay=0.08, delays=0/0/0.07/0, dsn=5.4.4, status=bounced (unable to look up host mail.example.com: Name or service not known)
May 27 19:05:27 server1 postfix/qmgr[3402]: 969B722855: removed
Quote:
[root@server1 ~]# netstat -A inet -nlp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 127.0.0.1:3310 0.0.0.0:* LISTEN 2110/clamd
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1215/sshd
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN 3399/master
tcp 0 0 127.0.0.1:10024 0.0.0.0:* LISTEN 2135/amavisd (maste
tcp 0 0 127.0.0.1:10025 0.0.0.0:* LISTEN 3399/master
tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN 1353/mysqld
udp 0 0 0.0.0.0:636 0.0.0.0:* 1046/portreserve
udp 0 0 0.0.0.0:783 0.0.0.0:* 1046/portreserve
[root@server1 ~]#

Last edited by oldretiredman; 28th May 2013 at 03:13.
Reply With Quote