Hello,

 

I configured my postfix with sasl-cyrus support and configured auth-smtp
like below 

 

smtpd_sasl_auth_enable = yes

smtpd_sasl_security_options=noanonymous

smtpd_sasl_local_domain =

broken_sasl_auth_clients=yes

 

smtpd_recipient_restrictions = permit_sasl_authenticated,
permit_mynetworks, reject_unauth_destination, reject_unverified_recipient,
check_policy_service inet:127.0.0.1:9998

 

 

-- content of /usr/lib/sasl2/smtpd.conf --

pwcheck_method: auxprop

mech_list: login plain

auxprop_plugin: sql

sql_hostnames: xx.xx.xx.xx

sql_user: --- replaced ---

sql_passwd: --- replaced ---

sql_database: merakdb

sql_select: select U_Password from users where U_Mailbox = '%...@%r'

log_level: 7

 

Everything is working but I have another problem . 

 

Behind postfix I have more then one smtp server, each smtp server are have
own domains and they are unique.

I would like to query each mysql server step by step 

 

I tested all below, but it did not work ! , anybody have a knowledge about
it ? 

 

sql_hostnames: xx.xx.xx.xx yy.yy.yy.yy

 

sql_hostnames: xx.xx.xx.xx;yy.yy.yy.yy

 

sql_hostnames: xx.xx.xx.xx:yy.yy.yy.yy

 

Regards

Vahric

 

P Ağaçları koruyalım. Gerekli olmadıkça epostalarınızı yazıcıdan
bastırmayın.

Save a tree. Don't print this e-mail unless it's really necessary.

 

Reply via email to