Mailing List CGatePro@mail.stalker.com Message #105914
From: Nicolas Hatier <nicolas.hatier@niversoft.com>
Subject: Re: Routing all but one address
Date: Sat, 28 Nov 2015 13:44:02 -0500
To: CommuniGate Pro Discussions <CGatePro@mail.stalker.com>
I use this scheme in my router, but the second entry is sent somewhere else, so that may be it.

Any match causes the router to restart processing with the translated address, to it's possible <thisbox> should be repeated to avoid loops:

R.M:<thisone@domain.dom> = thisone@domain.dom.here
R.M:<thisbox@domain.dom> = thisbox@domain.dom.here # avoids loop
R:M:<*@domain.dom> = thisbox@domain.dom

Nicolas

On 2015-11-27 10:15, Palvelin Postmaster wrote:
Humm…this doesn’t seem to work

R.M:<thisone@domain.dom> = thisone@domain.dom.here
R:M:<*@domain.dom> = thisbox@domain.dom.here

thisone@domain.dom goes to loop with the above rules. All other addresses get routed to thisbox@domain.dom properly.



On 27.11.2015, at 16:58, Nicolas Hatier <nicolas.hatier@niversoft.com> wrote:


Router rules are applied in order, so yes, just put your exception BEFORE the global rule, and make good use of the .here specifier if needed.

I guess that would look like this (not tested):

R:M:<thisone@domain.dom> = thisone@domain.dom.here
R:M:<any-address@domain.dom> = thisbox@domain.dom.here

Nicolas


On 2015-11-27 09:53, Palvelin Postmaster wrote:
Is it possibe to use the Router to route all incoming email of a specific domain to a specific mailbox EXCEPT one email address? For example

any-address@domain.dom is routed to thisbox@domain.dom
except
thisone@domain.dom is routed to thisone@domain.dom

#############################################################
This message is sent to you because you are subscribed to
the mailing list <CGatePro@mail.stalker.com>.
To unsubscribe, E-mail to: <CGatePro-off@mail.stalker.com>
To switch to the DIGEST mode, E-mail to <CGatePro-digest@mail.stalker.com>
To switch to the INDEX mode, E-mail to <CGatePro-index@mail.stalker.com>
Send administrative queries to  <CGatePro-request@mail.stalker.com>
#############################################################
This message is sent to you because you are subscribed to
   the mailing list <CGatePro@mail.stalker.com>.
To unsubscribe, E-mail to: <CGatePro-off@mail.stalker.com>
To switch to the DIGEST mode, E-mail to <CGatePro-digest@mail.stalker.com>
To switch to the INDEX mode, E-mail to <CGatePro-index@mail.stalker.com>
Send administrative queries to  <CGatePro-request@mail.stalker.com>


Subscribe (FEED) Subscribe (DIGEST) Subscribe (INDEX) Unsubscribe Mail to Listmaster