Hi all, I am trying to create a LAB setup using postfix 2.8.12.
I have problems using the virtual_alias_maps and the regexp table (similar) to the virtual-regex problem thread. I have tried to implement the suggestions in this thread but I can't get it to work. In this thread someone mentions that the regexp is recursive but I can't find this in the online documentation. The online documentation actually states that as soon as a match is found the search terminates with the result. This is consistent with the postmap -q key statement. When I run the postmap -q <key> regexp:valias it get exactly the results I am looking for. However when running through postfix it doesn't work. I am trying to capture all external email addresses into 1 local mailbox (on the mailserver) and relay for some local addresses. This is to prevent email going to our customers in our dev and test systems. my main.cf looks like this: virtual_alias_domain=regexp:/etc/postfix/valias the valias file looks like this: /ray@ourdomain\.com\.au/ @ourdomain.local /.*/ mailtest/ mailtest is a local mailbox in the maildir format. Any help is appreciated. I do not necessary need to use the virtual-alias-maps but any setup that does what I need would be great. Thanks in advance for any responses. Ray -- View this message in context: http://postfix.1071664.n5.nabble.com/regexp-using-virtual-alias-maps-does-not-work-tp64892.html Sent from the Postfix Users mailing list archive at Nabble.com.