Re: Postfix SASL auth

From: Luca Berra (no email)
Date: Sat Jan 01 2005 - 10:24:30 EST

  • Next message: Scott Friedman: "Upgrading Postfix on Suse 9.1"

    On Fri, Dec 31, 2004 at 12:14:03PM +0400, Philippe AMIOT wrote:
    >Helo,
    >I'm currently new to Postfix & sasl mechanism, and i tried to set up a sasl
    >auth on my postfix :
    >
    >I have one domain, no ldap (actualy)
    >And I'd like to authenticate my users from their /etc/passwd (shadow)
    >via sasl & pam
    >
    >If I understand (I'm French) the docs my schema would be Postfix->SASL
    >AUTH->pam->users shadow passwords
    >or maybe
    >Postfix->SASL -> SASLdb if pwcheck_method: auxprop in
    >/var/lib/sasl2/smtpd.conf

    why on earth do you want to put sasl configuration in /var?

    >-----------------------------------------
    >---[ /var/log/mail/warning ]---
    >-----------------------------------------
    >
    >Dec 31 10:31:21 opale postfix/smtpd[31940]: warning: SASL
    >authentication
    >failure: cannot connect to saslauthd server: Too many levels of
    >symbolic
    >links
    >Dec 31 10:31:21 opale postfix/smtpd[31940]: warning: SASL
    >authentication
    >failure: Password verification failed
    >
    >Dec 31 10:31:21 opale postfix/smtpd[31940]: warning:
    >opale.myserver.com[192.168.0.2]: SASL PLAIN authentication failed
    >

    weird, could you please do an ls -l of
    /var/spool/postfix/var/lib/sasl2/mux
    and all path components?

    did you play with symbolic links under the postfix spool directory?

    >#SASL
    >smtpd_sasl_path = /usr/lib/sasl2
    >#smtpd_sasl_path = /etc/postfix/sasl:/usr/lib/sasl2
    you told postfix that the sasl configuration file is in /usr/lib/sasl2
    ...

    >---[ /var/lib/sasl2/smtpd.conf ]---
    then you put it in /var/lib/sasl2 ?

    >---[ /etc/pam.d/smtp ]---
    >[ a howto advice ! ]
    >
    yes, i will provide a default one in newer postfix rpms

    >
    >---[ sasldblistuser2 ]---
    this is not relevant to saslauthd

    L.

    -- 
    Luca Berra -- 
            Communication Media & Services S.r.l.
     /"\
     \ /     ASCII RIBBON CAMPAIGN
      X        AGAINST HTML MAIL
     / \
    

  • Next message: Scott Friedman: "Upgrading Postfix on Suse 9.1"





    Hosted Email Solutions

    Invaluement Anti-Spam DNSBLs



    Powered By FreeBSD   Powered By FreeBSD