Networking Forums

Networking Forums > Computer Networking > Linux Networking > Postfix + auth

Reply
Thread Tools Display Modes

Postfix + auth

 
 
Segah
Guest
Posts: n/a

 
      01-13-2004, 06:38 AM
Hello.

It's necessary for me to configurate smtp authentication in postfix. I'm
using RedHat 9.0 distributive.
It seem that I have configured everything correctly, but it doesn't work as
desired.
I'm using postfix-1.1.12-1. For authentication I'm using SASL which in its
turn use shadow for user recognition.
I want to use PLAIN authentication.

Here is an extract from /etc/postfix/main.cf file added by me:
----------------------------------------------------------------------------
-----------------------------
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
smtpd_sasl_local_domain = $myhostname
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions = permit_sasl_authenticated, permit_mynetworks,
check_relay_domains
----------------------------------------------------------------------------
-----------------------------

Here is the content of /usr/lib/sasl/smtpd.conf
----------------------------------------------------------------------------
-----------------------------
pwdcheckmethod: shadow
----------------------------------------------------------------------------
-----------------------------

The file /etc/shadow has 644 access.

I have tried to connect to smtp using telnet, what I can see:
----------------------------------------------------------------------------
-----------------------------
250-PIPELINING
250-SIZE 5000000
250-VRFY
250-ETRN
250-AUTH GSSAPI PLAIN LOGIN
250-AUTH=GSSAPI PLAIN LOGIN
250-XVERP
250 8BITMIME
----------------------------------------------------------------------------
-----------------------------
So postfix work correctly.

After making AUTH PLAIN [MIME64 encoded login and password of real user], I
got "535 Error: authentication failed"
The same result I got using mail client.

In mail logs I can see:
----------------------------------------------------------------------------
-----------------------------
Jan 13 09:26:42 postfix/smtpd[31172]: > : 250-ETRN
Jan 13 09:26:42 postfix/smtpd[31172]: > : 250-AUTH GSSAPI PLAIN LOGIN
Jan 13 09:26:42 postfix/smtpd[31172]: > : 250-AUTH=GSSAPI PLAIN LOGIN
Jan 13 09:26:42 postfix/smtpd[31172]: > : 250-XVERP
Jan 13 09:26:42 postfix/smtpd[31172]: > : 250 8BITMIME
Jan 13 09:26:42 postfix/smtpd[31172]: watchdog_pat: 0x80888e0
Jan 13 09:26:42 postfix/smtpd[31172]: < : AUTH PLAIN
Jan 13 09:26:42 postfix/smtpd[31172]: smtpd_sasl_authenticate: sasl_method
PLAIN
Jan 13 09:26:42 postfix/smtpd[31172]: smtpd_sasl_authenticate: uncoded
challenge:
Jan 13 09:26:42 postfix/smtpd[31172]: > : 334
Jan 13 09:26:42 postfix/smtpd[31172]: < : AHRlc3QAdGVzdA==
Jan 13 09:26:42 postfix/smtpd[31172]: smtpd_sasl_authenticate: decoded
response:
Jan 13 09:26:42 postfix/smtpd[31172]: warning: : SASL PLAIN authentication
failed
Jan 13 09:26:42 postfix/smtpd[31172]: > : 535 Error: authentication failed

----------------------------------------------------------------------------
-----------------------------

What have I done incorrectly?
Did anybody meet with similar problem?
Please help me, but don't offer to read documentation, I read numerous docs
and faqs.






 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Looking for 2 x POP box, 2 x SMTP AUTH... Peter Broadband 5 03-25-2010 05:34 PM
mac address auth Luca Nardini for newsgroups Wireless Networks 1 12-09-2008 05:09 PM
Squid Auth Ajayk Linux Networking 6 03-17-2006 02:46 PM
IAS, 802.1 auth and EAP Carlos Crosetti Windows Networking 0 04-29-2004 07:58 PM
PAN smtp auth Stuart H Linux Networking 0 08-29-2003 01:13 PM



1 2 3 4 5 6 7 8 9 10 11