OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Alexander Skwar (ASkwarDigitalProjects.com)
Date: Sat Mar 09 2002 - 04:58:59 CST

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

    Hi!

    I'm trying to relay mail thru a host running qmail which requires SMTP
    AUTH to enable relaying the mail. In /etc/postfix/main.cf, I've added:

    relayhost = smtpauth.host
    smtp_sasl_auth_enable = yes
    smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd

    According to http://www.thecabal.org/~devin/postfix/smtp-auth.txt that's
    all I need to do, correct?

    This seems to work almost good, however, when I try to send a mail, I
    get the following error message in syslog:

    Mar 9 11:03:38 teich postfix/smtp[3510]: C71E914BCD7D: to=<askwarsomeplace>, relay=smtpauth.host[ip], delay=1, status=deferred (Authentication failed: cannot SASL authenticate to server smthpauth.host[ip]: no mechanism available)

    Hm, why does it say "no mechanism available"?

    The host advertises as follows:

    250-AUTH LOGIN PLAIN
    250-AUTH=LOGIN PLAIN

    This means, that only LOGIN and PLAIN are supported on the receiving
    end. On my machine, I've got:

    > ll /usr/lib/sasl/
    insgesamt 20
    lrwxr-xr-x 1 root root 17 Mär 9 11:02 liblogin.so -> liblogin.so.0.0.6*
    lrwxr-xr-x 1 root root 17 Mär 9 11:02 liblogin.so.0 -> liblogin.so.0.0.6*
    -rwxr-xr-x 1 root root 7792 Mär 5 00:52 liblogin.so.0.0.6*
    lrwxr-xr-x 1 root root 18 Mär 9 11:02 libplain.so -> libplain.so.1.0.15*
    lrwxr-xr-x 1 root root 18 Mär 9 11:02 libplain.so.1 -> libplain.so.1.0.15*
    -rwxr-xr-x 1 root root 7348 Mär 5 00:52 libplain.so.1.0.15*
    -rw-r--r-- 1 root root 19 Feb 22 23:48 smtpd.conf

    Those files are from sasl 1.5.27.

    Futher, I wonder what this error message means:

    Mar 9 10:54:49 teich postfix/smtp[2614]: warning: smtpauth.host[ip] offered AUTH option multiple times

    Is this, because the host advertised two AUTH lines? If so, how can I
    disable this warning?

    Alexander Skwar

    -- 
    How to quote:	http://learn.to/quote (german) http://quote.6x.to (english)
    Homepage:	http://www.iso-top.de      |     Jabber: askwarcharente.de
       iso-top.de - Die günstige Art an Linux Distributionen zu kommen
                           Uptime: 7 days 1 hour 17 minutes
    -
    To unsubscribe, send mail to majordomopostfix.org with content
    (not subject): unsubscribe postfix-users