I apologize. I'm an idiot. I thought that I was showing you what I did. I showed how I defined the virtual_alias_maps in man.cf, added the regex's into the file 'virtual_users', and ran several tests such as 'postmap -q 5555555...@mobilepbx.net pcre:/etc/postfix/virtual_users'. What am I not showing? I appreciate all your help. Thanks; FSD
-----Original Message----- From: owner-postfix-us...@postfix.org [mailto:owner-postfix-us...@postfix.org] On Behalf Of Wietse Venema Sent: Wednesday, October 7, 2020 2:26 PM To: Postfix users <postfix-users@postfix.org> Subject: Re: Forward email based on Regexps Frank DiGennaro: > Thanks for the reply. This is what I have in my 'virtual_users' file > verbatim. I've even kept the domain names and users the same. > > # Regexp # User to forward to > /\d{10,}@fax.mobilepbx.net/ asterisk (I've tried both Wietse: > That is PCRE not REGEXP syntax. Frank DiGennaro: > Wietse; > I made the change but no luck. What I don't understand is how some > regex's work and others don't considering regex's themselves are so simple. > I mean, they should all work or they should all now work. If you show what you did. then I am sure that someone can explain what mistake you made. Otherwise this email thread is just a waste of time. Wietse