[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Postfix + SASL + Amavis-new + ClamAV + Courier-(imap, imap-ssl, maildrop) problems.



Hi all,
I just got my system up and running (went from Mandrake to Debian) and i'm 
having problems getting Postfix to authenticate with saslauthd.
This is on a "Testing"/"Sarge" system.
To check that sasl is working, I used the testsaslauthd command:
testsaslauthd -u my-username -p my-password 
-f /var/spool/postfix/var/run/saslauthd/mux
and I get:
0: OK "Success."

However when I do this:
perl -MMIME::Base64 -e 'print encode_base64 
("my-username\0my-username\0my-password");'

It returns this:
dXNlcm5hbWUAdXNlcm5hbWUAcGFzc3dvcmQ=

Then I:
telnet server 25
EHLO server

Then issue this:
AUTH PLAIN dXNlcm5hbWUAdXNlcm5hbWUAcGFzc3dvcmQ=

I get:
535 Error: authentication failed

Here's a snip of my mail.log file:
------------------------Begin Snip------------------------------
Nov 16 15:57:56 server postfix/smtpd[11993]: starting TLS engine
Nov 16 15:57:56 server postfix/smtpd[11993]: TLS engine: do need at least RSA 
_or_ DSA cert/key data
Nov 16 15:57:56 server postfix/smtpd[11993]: connect from 
server.mydomain.com[192.168.10.100]
Nov 16 15:58:56 server postfix/smtpd[11993]: warning: SASL authentication 
failure: Can only find author (no password)
Nov 16 15:58:56 server postfix/smtpd[11993]: warning: 
server.mydomain.com[192.168.10.100]: SASL PLAIN authentication failed
Nov 16 15:59:24 server postfix/smtpd[11993]: disconnect from 
server.mydomain.com[192.168.10.100]
--------------------------End Snip--------------------------------

I can't relay/send messages when logged in securely becayse I'm not being 
authentaced.
I need some help getting this working.

Thanks
Ralph
-- 
Linux, to keep you humble.

Attachment: pgpUb28RVRmXO.pgp
Description: PGP signature


Reply to: