On 13-10-17 11:38 AM, John Tolson wrote:
Hello All,

I am new to Sogo and Postfix but have a great understanding of Unix and Unix
administration.  I have download the virtual appliance and have configured it
with a new domain, to send out mail *LOCALLY*  (POSTFIX/SMTP) and receive mail
LOCALLY and Remotely with a client. (imap).  My challenge now is to configure
the server to allow users to authenticate against the postfix and to send mail
from any client software.  I think I am missing something small but I need HELP.
  I have been working on this on and off for about 8 weeks now and cannot figure
out my issue.

*Telnet test from remote machine (My Laptop)*
imac:~ jtolson $ echo -ne '\0sogo1\0sogo' | openssl enc -base64
AHNvZ28xAHNvZ28=

imac:~ jtolson $ telnet 10.1.2.130 25
Trying 10.1.2.130...
Connected to 10.1.2.130.
Escape character is '^]'.
220 *********************************
EHLO tcusit.com <http://tcusit.com>
250-tcusit.com <http://250-tcusit.com>
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-AUTH DIGEST-MD5 CRAM-MD5 NTLM LOGIN PLAIN
250-AUTH=DIGEST-MD5 CRAM-MD5 NTLM LOGIN PLAIN
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN
AUTH PLAIN AHNvZ28xAHNvZ28=
535 5.7.8 Error: authentication failed: authentication failure

*
*
*From the /var/log/syslog on the server 10.1.2.130*
Oct 17 11:21:41 sogo postfix/smtpd[14957]: connect from unknown[172.16.1.8]
Oct 17 11:21:59 sogo postfix/smtpd[14957]: warning: SASL authentication failure:
Password verification failed
Oct 17 11:21:59 sogo postfix/smtpd[14957]: warning: unknown[172.16.1.8]: SASL
PLAIN authentication failed: authentication failure

*From the 10.1.2.130 mail server*
root@sogo:~# testsaslauthd -u sogo1 -p sogo
0: OK "Success."

Given the testsaslauthd comes back with a "0: OK "Success." tells me that the
ldap and saslauthd is working properly.  I know that the POSTFIX/SMTP is using
SASL authentication and is failing on the password from the log file.
  Postfix/SMTPD is configured with the SASL Authentication and the SASL
Authentication through ldap is working given my testsaslauthd test.  What am I
missing?  I am just trying to setup a simple mail server that I can use with
remote clients from mobile, macs and windows.

  Any guidance is appreciated.


This is not really a sogo related question and would probably be best answered in postfix / cyrus-sasl lists.

But, do you see anything in the ldap logs when doing the auth against postfix?(that test should be done with 'olcLogLevel: stats' if you want to see something in the ldap logs)
Also, is there anything relevant in the saslauth logs?
Are you running postfix chrooted and the saslauthd socket file is outside of the chroot?(hint saslauthd -m /var/spool/postfix/var/run/saslauthd)

--
users@sogo.nu
https://inverse.ca/sogo/lists

Reply via email to