OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Denis (rinakkusu_at_pincushion.de)
Date: Thu Jan 02 2003 - 13:13:47 CST

  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    Hi,

    I'm new to postfix and just installed postfix by following the "Postfix SASL
    Authentication and TLS howto by Patrick Koetter"
    (http://postfix.state-of-mind.de/patrick.koetter/smtpauth/)
    The only difference from the HowTo is that I'm using redhat 8.0 which
    already comes with cyrus sasl packages and I used them.
    I used postfix-2.0.0.1-3foo.src.rpm from Tuomo Soini
    (http://tis.foobar.fi/software/?postfix).
    My postfix installation is working, but I can't seem to get the sasl auth to
    work.
    From the maillog is see that the username and password are decoded correctly
    but then I get:

    postfix/smtpd[1801]: warning: unknown[192.168.0.254]: SASL LOGIN
    authentication failed

    My /usr/lib/sasl2/smtpd.conf has this line :

    pwcheck_method: saslauthd

    The saslauthd is running: usr/sbin/saslauthd -m /var/run/saslauthd/mux -a
    pam -n 0

    My /etc/pam.d/smtp look like:

    #%PAM-1.0
    auth required /lib/security/pam_stack.so service=system-auth
    account required /lib/security/pam_stack.so service=system-auth

    Anyone know where the problem is?

    Thanks

    Denis