Re: Negative look-ahead assertions in maps

2016-02-04 Thread nicolas
El 2016-02-04 13:24, wie...@porcupine.org escribió: nico...@devels.es: Hi, What would be the equivalent of negative look-ahead assertions in Postfix's map files? 1) Postfix has are table-driven features such as canonical_maps, alias_maps, etc. 2) These features use table lookup mechanisms

Re: Negative look-ahead assertions in maps

2016-02-04 Thread Wietse Venema
nico...@devels.es: > Hi, > > What would be the equivalent of negative look-ahead assertions in > Postfix's map files? 1) Postfix has are table-driven features such as canonical_maps, alias_maps, etc. 2) These features use table lookup mechanisms such as pcre, hash, etc. Try using pcre in

Negative look-ahead assertions in maps

2016-02-04 Thread nicolas
Hi, What would be the equivalent of negative look-ahead assertions in Postfix's map files? I have: main.cf: sender_canonical_maps = regexp:/etc/postfix/canonical_maps /etc/postfix/canonical_maps: /^((?!foo[0-9]+).*)@domain1.com$/ ${1}@domain2.com I want that any mail that comes from