On Wed, Oct 07, 2020 at 06:54:10PM -0400, Frank DiGennaro wrote:
> Yet it will still match regardless, so what's your point?
My point, and I am sorry if it is not welcome, is that a regular
expression has to not only match the things it SHOULD match, it *also*
needs to NOT match the things it SHO
ank DiGennaro
Cc: Postfix users
Subject: Re: Forward email based on Regexps
> On Oct 7, 2020, at 5:24 PM, Frank DiGennaro wrote:
>
> I went back and made the changes Noel Jones suggested Like so.
But these are not what Noel suggested:
> /^[0-9]+@fax.mobilepbx.net/ asterisk
>
> On Oct 7, 2020, at 5:24 PM, Frank DiGennaro wrote:
>
> I went back and made the changes Noel Jones suggested Like so.
But these are not what Noel suggested:
> /^[0-9]+@fax.mobilepbx.net/ asterisk
> /^[0-9]+@mobilepbx.net/ asterisk
>
> This now works. Thank you very, very much.
-
Thanks for the heads up. I will do that.
Regards;
Frank
-Original Message-
From: owner-postfix-us...@postfix.org
[mailto:owner-postfix-us...@postfix.org] On Behalf Of Viktor Dukhovni
Sent: Wednesday, October 7, 2020 3:09 PM
To: postfix-users@postfix.org
Subject: Re: Forward email based on
...@postfix.org]
On Behalf Of Noel Jones
Sent: Tuesday, October 6, 2020 6:24 PM
To: postfix-users@postfix.org
Subject: Re: Forward email based on Regexps
On 10/6/2020 3:56 PM, Frank DiGennaro wrote:
> Thanks for the reply. This is what I have in my 'virtual_users' file
> verbatim. I&
On Wed, Oct 07, 2020 at 02:44:47PM -0400, Frank DiGennaro wrote:
> 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
> 5
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:
ual_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
Subject: Re: Forward
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:
ix-us...@postfix.org
[mailto:owner-postfix-us...@postfix.org] On Behalf Of Wietse Venema
Sent: Tuesday, October 6, 2020 6:07 PM
To: Postfix users
Subject: Re: Forward email based on Regexps
Frank DiGennaro:
> Thanks for the reply. This is what I have in my 'virtual_users' file
> verba
...@postfix.org
[mailto:owner-postfix-us...@postfix.org] On Behalf Of Wietse Venema
Sent: Tuesday, October 6, 2020 1:37 PM
To: Postfix users
Subject: Re: Forward email based on Regexps
Frank DiGennaro:
All;
I've made progress with this problem. By adding virtual_alias_maps
= regexp:/etc/postf
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
That is
)
postmap -q nosuchu...@contessa.net regexp:/etc/postfix/virtual_users
fr...@digennaro.com
Thanks;
Frank
-Original Message-
From: owner-postfix-us...@postfix.org
[mailto:owner-postfix-us...@postfix.org] On Behalf Of Wietse Venema
Sent: Tuesday, October 6, 2020 1:37 PM
To: Postfix users
Subject: Re:
Frank DiGennaro:
> All;
>
> I've made progress with this problem. By adding virtual_alias_maps =
> regexp:/etc/postfix/virtual_users at the bottom of main.cf and adding the
> regexps below, and running "postmap /etc/postfix/virtual_users ", the two
> catch-alls work fine, but the "longer" matc
> To: 'postfix-users@postfix.org' < <mailto:postfix-users@postfix.org>
postfix-users@postfix.org>
>> Subject: Forward email based on Regexps
>>
>> Hello;
>> I'm pretty new to postfix but I'm really glad that I finally made the
switch from
Hello;
I'm pretty new to postfix but I'm really glad that I finally made the
switch from sendmail. Postfix is just so much easier to use. This is my
scenario. I need to route emails based on regexps and I know how to write
them but I'm not exactly sure where in the configs to put them. For exa
16 matches
Mail list logo