Postfix With SASL Authentication?

Drew Tomlinson drew at mykitchentable.net
Mon Jul 7 10:53:48 PDT 2003


----- Original Message ----- 
From: "Sunil Sunder Raj" <unixtools at hotmail.com>
To: <drew at mykitchentable.net>
Cc: <freebsd-questions at freebsd.org>
Sent: Sunday, July 06, 2003 11:10 PM
Subject: Re: Postfix With SASL Authentication?


> 1) Install postfix+sasl
> 2) edit /usr/local/lib/sasl2/Sendmail.conf
>     pwcheck_method: auxprop
> 3) edit /usr/local/lib/sasl2/smtpd.conf
>     pwcheck_method: auxprop
> 4) edit /usr/local/etc/postfix/main.cf
>       smtpd_sasl_auth_enable = yes
>       smtpd_sasl_security_options = noanonymous
>       smtpd_sasl_local_domain = $myhostname
>       broken_sasl_auth_clients = yes
>       myhostname = <Your hostname comes here>
>       mydomain = <Your hostname comes here>
>       smtpd_recipient_restrictions =check_sender_access
>
hash:/usr/local/etc/postfix/spammer,permit_sasl_authenticated,permit_myn
etworks,check_relay_domains
>
> 5) restart postfix and saslauthd

Thank you so much for your response.  I've tried your directions above
but am still having trouble.  This is from my mail log:

Jul  7 10:49:13 blacklamb postfix/smtpd[30531]: warning: SASL
authentication failure: no user in db

And this is from my console:

Jul  7 10:49:13 blacklamb postfix/smtpd[30531]: OTP unavailable because
can't read/write key database /etc/opiekeys: Permission denied
Jul  7 10:49:24 blacklamb authdaemond.plain: unable to resolve symbol:
pam_sm_open_session
Jul  7 10:49:24 blacklamb authdaemond.plain: unable to resolve symbol:
pam_sm_close_session
Jul  7 10:49:28 blacklamb authdaemond.plain: unable to resolve symbol:
pam_sm_open_session
Jul  7 10:49:28 blacklamb authdaemond.plain: unable to resolve symbol:
pam_sm_close_session
Jul  7 10:49:28 blacklamb authdaemond.plain: unable to resolve symbol:
pam_sm_open_session
Jul  7 10:49:28 blacklamb authdaemond.plain: unable to resolve symbol:
pam_sm_close_session
Jul  7 10:49:29 blacklamb authdaemond.plain: unable to resolve symbol:
pam_sm_open_session
Jul  7 10:49:29 blacklamb authdaemond.plain: unable to resolve symbol:
pam_sm_close_session

Do you have any other suggestions?

Thanks,

Drew





More information about the freebsd-questions mailing list