cyrus-imap cyrus-sasl postfix [SOLVED]
Patrick Nelson
pnelson at neatech.com
Sun May 23 17:37:39 EDT 2004
On Sat, 2004-05-22 at 00:02, Patrick Nelson wrote:
> Not sure if anyone can help but here is my problem
> ----------
> FC1
> cyrus-imap 2.2.3
> Postfix 2.1.1
> cyrus-sasl 2.1.15
>
> I have followed everything in the sasl readme, but I can not get auth
> plain to work.
>
> I think sasl is setup correctly because I can use:
>
> testsaslauthd -u <user> -p <passwork>
>
> and I get a 0: OK "Success."
>
> But when I try to manually use telnet localhost 25 and then try to
> authenticate with AUTH PLAIN <BASE64 Encoded> It keep coming back saying
> it 535 Error: authentication failed
>
> I know the base64 gen script is producing the correct code (followed
> sasl readme) is correct because I can use it on another system.
>
> My main.cf has the sasl entries:
>
> smtpd_sasl_auth_enable = yes
> smtpd_sasl_security_options = noanonymous
> smtpd_sasl_local_domain =
> broken_sasl_auth_clients = yes
> smtpd_recipient_restrictions =
> permit_mynetworks,
> permit_sasl_authenticated,
> reject_non_fqdn_hostname,
> reject_non_fqdn_sender,
> reject_non_fqdn_recipient,
> check_recipient_access hash:/etc/postfix/filter-domains
> reject_unknown_sender_domain,
> reject_unauth_destination
>
> here is the maillog entry:
>
> May 21 23:33:12 amks postfix/smtpd[6460]: connect from amks[127.0.0.1]
> May 21 23:33:31 amks postfix/smtpd[6460]: warning: SASL authentication
> failure: Password verification failed
> May 21 23:33:31 amks postfix/smtpd[6460]: warning: amks[127.0.0.1]: SASL
> plain authentication failed
> May 21 23:33:38 amks postfix/smtpd[6460]: disconnect from
> amks[127.0.0.1]
>
> /etc/sysconfig/saslauthd:
> MECH=pam
> FLAGS="-n 0-c"
>
> Anyone see or guess at what I'm doing wrong?
I must have moved instead of copied my PAM smtp to pop config files.
When I copied pop to smtp... All worked!
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
More information about the Info-cyrus
mailing list