On Fri, Jul 09, 2010 at 04:12:41PM +0200, David Jacobson wrote:

> We tried PCRE matches to no avail. Based on your request we tried to change 
> sasl_passwd lookup from hash to pcre (I'm no postfix guy, so have no idea if 
> this should work or not, but postfix restart didn't complain) 
> 
> smtp_sasl_password_maps = pcre:/opt/zimbra/postfix/conf/sasl_passwd 

This is documented (clearly I might add) to use the nexthop gateway
as the lookup key, unless you have followed the directions in:

        http://www.postfix.org/SOHO_README.html#client_sasl_sender

to enable per-sender passwords, in which case the lookup key is the
sender address (and then the nexthop as a default fallback).

> 
> Then in sasl_passwd tried various combinations including: 
> 
> /@domain\.com$/ username:password 

This won't match the nexthop, if you have not enabled per sender
password lookups.

    http://www.postfix.org/postconf.5.html#smtp_sender_dependent_authentication

-- 
        Viktor.

Reply via email to