On Wed, 6 Apr 2011 22:41:17 +1000 (EST)
Voytek Eymont <li...@sbt.net.au> articulated:

> ahem, I inadvertently (but successfully)
> deleted /etc/pam.d/smtp.postfix,
> 
> and, I'm trying to recreate it:
> 
> I'm getting 'generic failure' as below
> 
> how can I troubleshoot what am I missing ?
> 
> pam.d]# cat smtp.postfix
> auth required pam_mysql.so user=postfix passwd=xxx host=127.0.0.1
> db=postfix table=mailbox usercolumn=username passwdcolumn=password
> crypt=1 md5=1
> 
> account sufficient pam_mysql.so user=postfix passwd=xxx
> host=127.0.0.1 db=postfix table=mailbox usercolumn=username
> passwdcolumn=password crypt=1 md5=1
> 
> 
> 
> ----------------------------------
> | Tables_in_postfix     |
> | admin                 |
> | alias                 |
> | config                |
> | domain                |
> | domain_admins         |
> | fetchmail             |
> | log                   |
> | mailbox               |
> 
> --------------------------------------------
> Apr  6 22:28:50  postfix/smtpd[24015]: TLS connection established from
> CPE-124-184-253-224.lns14.cht.bigpond.net.au[124.184.253.224]: SSLv3
> with cipher RC4-MD5 (128/128 bits)
> Apr  6 22:28:50  postfix/smtpd[24015]: warning: SASL authentication
> failure: cannot connect to saslauthd server: Connection refused
> Apr  6 22:28:50  postfix/smtpd[24015]: warning: SASL authentication
> failure: Password verification failed
> Apr  6 22:28:50  postfix/smtpd[24015]: warning:
> CPE-124-184-253-224.lns14.cht.bigpond.net.au[124.184.253.224]: SASL
> PLAIN authentication failed: generic failure
> Apr  6 22:28:50  postfix/smtpd[24015]: warning: SASL authentication
> failure: cannot connect to saslauthd server: Connection refused
> Apr  6 22:28:50  postfix/smtpd[24015]: warning: SASL authentication
> failure: Password verification failed
> Apr  6 22:28:50  postfix/smtpd[24015]: warning:
> CPE-124-184-253-224.lns14.cht.bigpond.net.au[124.184.253.224]: SASL
> PLAIN authentication failed: generic failure
> Apr  6 22:28:50  postfix/smtpd[24015]: lost connection after AUTH from
> CPE-124-184-253-224.lns14.cht.bigpond.net.au[124.184.253.224]
> Apr  6 22:28:50  postfix/smtpd[24015]: disconnect from
> CPE-124-184-253-224.lns14.cht.bigpond.net.au[124.184.253.224]

You might want to visit this URL:
http://www.postfix.com/DEBUG_README.html

Pay particular attention to this notation:

Output from "postconf -n". Please do not send your main.cf file, or
500+ lines of postconf output.

Better, provide output from the postfinger tool. This can be found at
http://ftp.wl0.org/SOURCES/postfinger.

If the problem is SASL related, consider including the output from the
saslfinger tool. This can be found at
http://postfix.state-of-mind.de/patrick.koetter/saslfinger/.

-- 
Jerry ✌
postfix-u...@seibercom.net
_____________________________________________________________________
TO REPORT A PROBLEM see http://www.postfix.org/DEBUG_README.html#mail
TO (UN)SUBSCRIBE see http://www.postfix.org/lists.html

Reply via email to