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

Re: getting postfix + sasl to work



Thanks for your help so far, Rupa! I have now decided to give it a go
with /etc/sasldb2 - but am still not successful. Right now, postfix is
telling me:

  warning: SASL authentication failure: no secret in database

Here's what I did:

  1. I changed pwcheck_method in /etc/postfix/sasl/smtpd.conf to
     'sasldb'    (Actually I did this last, but it had no effect
                  anyway)

  2. Using saslpasswd2, I created an /etc/sasldb2 file with a user
     'madduck' and a 10-character password.
     `sasldblistusers2` shows that this was successful:
       
       madduck@albatross: userPassword

     also, running `strings` on /etc/sasldb2 shows

       XxXxXxXxXx      <- my password
       madduck
       albatross
       userPassword

  3. I now copied /etc/sasldb2 to /var/spool/postfix/etc

  4. Postfix would now complain permission denied until I chgrp'd the
     file to group postfix.

  5. Now it gives
  
       warning: SASL authentication failure: no secret in database
       warning: ... SASL CRAM-MD5 authentication failed
 
Is there anything I missed? Why is it not working?     

-- 
Please do not CC me! Mutt (www.mutt.org) can handle this automatically.
 
 .''`.     martin f. krafft <madduck@debian.org>
: :'  :    proud Debian developer, admin, and user
`. `'`
  `-  Debian - when you have better things to do than fixing a system
 
NOTE: The pgp.net keyservers and their mirrors are broken!
Get my key here: http://people.debian.org/~madduck/gpg/330c4a75.asc

Attachment: pgpCiNdUsOipp.pgp
Description: PGP signature


Reply to: