Am 15.05.2011 21:54, schrieb Mike Brack:
> Will the credentials from the client being used for sending the email > via transport map with the same credentials? > If the content filter gets called before the email is "transported" it > would be fine. no, sasl-authenticating for users and smtp-relay are different worlds take a look at smtp_sasl_password_maps we are using this only for single senders and rcpt nut afaik it is also used if there is a transport for a target-domain and the transport from the UNION-Query maps smtp_sasl_password_maps = mysql:/etc/postfix/mysql-relay_hosts_auth.cf cat /etc/postfix/mysql-relay_hosts_auth.cf user = dbmail password = **** dbname = dbmail hosts = unix:/var/lib/mysql/mysql.sock query = select concat(username, ':', password) from dbma_sender_relay where email='%s' and username!='' UNION (select concat(username, ':', password) from dbma_recipient_relay where transport='smtp:%s' and username!='') limit 1;
signature.asc
Description: OpenPGP digital signature