Results 1 to 3 of 3
I am having some problems getting SMTP authentication to work between Cyrus-SASL and Postfix.
Here is what I have done so far:
1) Without the SASL config in main.cf I ...
- 03-07-2006 #1Just Joined!
- Join Date
- Mar 2006
- Posts
- 4
Postix SMTP Auth
I am having some problems getting SMTP authentication to work between Cyrus-SASL and Postfix.
Here is what I have done so far:
1) Without the SASL config in main.cf I am able to sucessfully telnet from a remote host to port 25 and send mail. No problems.
2) When I add the config below to main.cf the server does indeed respond that it is looking for various authentication methods. However, when I insert the Base64 encoded (username/0username/0password) it fails.
I am initialling trying to autheticate off of the local passwd database.
What am I doing wrong. Any assistance or pointers would be very much appreciated.
(changed domains)
220 server1.domain.org ESMTP Postfix
EHLO mail.example.com
250-server1.domain.org
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-AUTH DIGEST-MD5 GSSAPI PLAIN CRAM-MD5 LOGIN
250-AUTH=DIGEST-MD5 GSSAPI PLAIN CRAM-MD5 LOGIN
250 8BITMIME
AUTH PLAIN dGVzdAB0ZXN0AHRlc3Q=
535 Error: authentication failed
main.cf (SASL config)
-------------------------
smtpd_sasl_auth_enable = yes
smtpd_sasls_auth_enable = yes
smtpd_sasl_security_options = noanonymous
smtpd_sasl_local_domain = $mydomain
broken_sasl_auth_clients = yes
smtp_recipient_restrictions =
permit_sasl_authenticated
permit_mynetworks
reject_unauth_destination
SASL smtpd.conf
=================
log_level: 3
pwcheck_method: pwcheck
mech-list: plain login CRAM-MD5 DIGEST-MD5
- 03-09-2006 #2Linux User
- Join Date
- Apr 2005
- Location
- Ohio
- Posts
- 326
Not much response here on this issue. .I would suggest giving the postfix mail list a shot. very active and very herlpful people over there.
far...out
- 03-09-2006 #3Linux Newbie
- Join Date
- Dec 2004
- Location
- Barrie, Ontario
- Posts
- 219
You are telling it to use PLAIN authentication, but you aren't giving it a plaintext password... you are giving it an encrypted password, so you should tell it to use DIGEST-MD5 or CRAM-MD5...Code:AUTH PLAIN dGVzdAB0ZXN0AHRlc3Q=
Blog - KB5UMQ - Linux User #272983
3 Rules:
1) "It doesn't work..." is simply not useful information.
2) Don't cross post!
3) If you are asking for help, start by telling us your distro/os and version.


Reply With Quote