benjamin morel anisoctonhbijgmailcom hi im setting postfix server virtual alias table redirect emails based regexp rules set line etcpostfixmaincf virtual_alias_maps regexpetcpostfixvirtual etcpostfixvirtual begin snippet domain1com domain domain2com domain tech gobme3otherdomaincom rygey1otherdomaincom end snippet goal list domains emails sent jptlthesedomains forwarded gobme3otherdomaincom emails sent feduzsvqyfnzthesedomains catchall forwarded email2otherdomaincom test file postmap everything ok postmap q jptldomain1com regexpetcpostfixvirtual gobme3otherdomaincom postmap q grymabzedomain1com regexpetcpostfixvirtual rygey1otherdomaincom however apply config send test email jptldomain1com mail sent rygey1otherdomaincom instead log file varlogmaillog show xxxxxxxxxxxx orig_to relay remove last line etcpostfixvirtual mails jptldomains sent correct destination according manual patterns applied order specified table pattern found matches search string first matching pattern second one used postmap correctly idea thanks ben wed 06 aug 2008 021557 0100 catchall virtual alias table bug