Quoting Noel Jones <njo...@megan.vbhcs.org>:

On 4/22/2010 8:00 AM, webmas...@aus-city.com wrote:
Quoting Noel Jones <njo...@megan.vbhcs.org>:

On 4/22/2010 12:10 AM, David Cottle wrote:
I tried running

testsaslauthd -u usermailname -p matchingpass -s smtp

I get

connect () : No such file or directory



You need to debug your sasl installation.

-- Noel Jones


Hi Noel,

Any idea where to start as this is probably why its failing?

Thanks

Start here:
http://www.postfix.org/SASL_README.html

It's possible that only your test is failing, and your sasl is actually working. If your sasl is really borked, there should be other errors logged by postfix. Check the postfix logs.

If some people are able to authenticate, then it's probably just your test that's broken.

I use dovecot for sasl, so I can't provide further help in debugging cyrus auth problems. Someone else will jump in if you post proper evidence.

  -- Noel Jones


Hi Noel,

Seems its plesk and not logging everything in the logs. It uses its own logging for mail, I could not find my successful login (below). The saslauthd is not running, but plesk must start use another process to do this, but its is running:

But it is running and verifies (I did this on a remote server)

telnet xxx 587
Trying xxx...
Connected to xxx.
Escape character is '^]'.
220 xxx ESMTP Postfix
ehlo xxx.
250-xxx
250-PIPELINING
250-SIZE 20480000
250-VRFY
250-ETRN
250-STARTTLS
250-AUTH DIGEST-MD5 CRAM-MD5 PLAIN LOGIN
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN
mail from: <xxx>
250 2.1.0 Ok
quit
221 2.0.0 Bye
Connection closed by foreign host.

I will have to check out my client as its only local to him alone. Also as I did say he runs multiple OS on the same machine and one works perfectly.

Lastly digging in my logs, I found this:

Apr 23 04:23:28 server postfix/smtpd[24755]: connect from unknown[xx.xx.xx.xx]
Apr 23 04:23:28 server postfix/smtpd[25116]: warning: 127.0.0.1: address not listed for hostname localhost
Apr 23 04:23:28 server postfix/smtpd[25116]: connect from unknown[127.0.0.1]

Any idea why?  Its listed in the /etc/hosts file:

::1     localhost localhost.localdomain localhost6.localdomain6 localhost6
127.0.0.1       xx.xx.xx.xx     xx.xx.xx        server   localhost.localdomain 
localhost

Thanks again!

Reply via email to