On Mon, Aug 30, 2010 at 04:39:46PM +0200, Patrick Ben Koetter wrote: > * Victor Duchovni <postfix-users@postfix.org>: > > On Sun, Aug 29, 2010 at 01:20:39AM +0200, Marco Rebsamen wrote: > > > > > query_filter = proxyaddresses=...@domain1.ch* > > > > DO NOT use wildcard "*" patters to match recipients. The correct query > > is: > > > > query_filter = proxyAddresses=smtp:%...@domain1.ch > > > > or, more typically: > > > > query_filter = proxyAddresses=smtp:%s > > Is "smtp:%s" sufficient? IIRC the main mail address is noted as "SMTP:%s". A > query that catches those too would be this:
The proxyAddresses field is matched case-insensitively. No fancy gymnastics required: > query_filter = (|(proxyAddresses=smtp:%s)(proxyAddresses=SMTP:%s)) The first string matches both. -- Viktor.