[Web-cyradm] Xerxes and SMTP AUTH

Mads M. Hansen madsmh at gmail.com
Tue May 29 16:21:49 CEST 2007


HI thanks for your reply.
What I'm looking is a way to get the outgoing SMTP server to
authnticate against the xerxes users database..

I have put the following in /etc/postfix/sasl/smtpd.conf

# for saslauthd with rimap
# pwcheck_method: saslauthd
# mech_list: LOGIN PLAIN
# log_level: 10

sasl_pwcheck_method: auxprop
sasl_auxprop_plugin: sql

# srp_mda: md5

password_format: crypt
log_level: 0

## possible values for sasl_auxprop_plugin 'mysql', 'pgsql', 'sqlite'.
sql_engine: mysql

## all possible values. LOGIN PLAIN CRAM-MD5 DIGEST-MD5 NTLM
mech_list: LOGIN PLAIN

sql_user: mail
sql_passwd: xxx
sql_database: mail
sql_hostnames: localhost
sql_select: SELECT password FROM accountuser WHERE username = '%u@%r'
AND smtpauth = '1'

I stll get a failure to authenticate..

regards. Mads

On 5/29/07, Leon Kolchinsky <leonk at construct.haifa.ac.il> wrote:
>
> > Hello I seem to be unable to auth to my out going mail server as I get
> > these messages in the mail.warn log..
> >
> >  postfix/smtpd[32135]: warning: unknown[xxx.xxx.xxx.xxx]: SASL PLAIN
> > authentication failed: authentication failure
> > postfix/smtpd[32135]: warning: unknown[xxx.xxx.xxx.xxx]: SASL LOGIN
> > authentication failed: authentication failure
> >
> > Any help would be apperciated :)
> >
>
>
> You better read this
> http://postfix.state-of-mind.de/patrick.koetter/smtpauth/postfix_configurati
> on.html
>
> Or just from the start here
> http://postfix.state-of-mind.de/patrick.koetter/smtpauth/index.html
>
> And see how you can fix the problem
>
> We are talking here about "Postfix configuration for SMTP AUTH" cause
> warnings are for postfix/smtpd.
>
>
> Best Regards,
> Leon Kolchinsky
>
> _______________________________________________
> This mailing list is hosted and supported
> by bit-heads GmbH | http://www.bit-heads.ch
>
> _______________________________________________
> Web-cyradm mailing list
> Web-cyradm at web-cyradm.org
> http://www.web-cyradm.org/mailman/listinfo/web-cyradm
>


More information about the Web-cyradm mailing list