Community Discussions and Support
Teething issues with rules forwarding mail between accounts.

Thanks, Brian

The rules I have are simple and minimal. I have gone through every rule now and made sure that all the old rules now target the new addresses. I have also moved all the rules that forward messages from 'old address' to 'new address' to the top of the list - well, after the catchall rule that is always triggered first.

I will see how this works.

Cheers!

<P>Thanks, Brian</P> <P>The rules I have are simple and minimal. I have gone through every rule now and made sure that all the old rules now target the new addresses. I have also moved all the rules that forward messages from 'old address' to 'new address' to the top of the list - well, after the catchall rule that is always triggered first.</P> <P>I will see how this works.</P> <P>Cheers!</P>

Hi

We have recently changed our domain name. We use synonyms to map firstname.lastname@domain.org. The synonym file has have entries such as:

green.man@domain1.com == gnman 

When preparing for the change I set up new accounts to be used with the new domain and added these to the synonym file:

green.man@domain2.com == gnman-2

This works fine.

Before the domain name change took place yesterday I copied the contents of all the accounts from domain1 into the newly created accounts for domain2. This has been fine, too.

I also set up global mail filtering rules which take the form of:

Headers - if mail arrives addressed To: or Cc: green.man@domain1.com forward to gnman-2

This has been working for the most part but there are instances where the odd message that has been addressed to staff accounts @domain1.com has not been forwarded to the newly created accounts the same staff use for domain2.com

Do I need to add extra rules? I've looked at these messages which are not being forwarded but cannot see anything that would indicate why they are bypassing the rule set. I've just had a thought - there are other rules in place, do I need to move them to the top of the rule list, perhaps? I'm not at work at the moment but will check to see if there are other rules that could be affecting this.

Otherwise, am I doing this correctly?

Any and all suggestions welcome.

Thanks 

<p>Hi</p><p>We have recently changed our domain name. We use synonyms to map firstname.lastname@domain.org. The synonym file has have entries such as:</p><p>green.man@domain1.com == gnman </p><p>When preparing for the change I set up new accounts to be used with the new domain and added these to the synonym file:</p><p>green.man@domain2.com == gnman-2</p><p>This works fine.</p><p>Before the domain name change took place yesterday I copied the contents of all the accounts from domain1 into the newly created accounts for domain2. This has been fine, too.</p><p>I also set up global mail filtering rules which take the form of:</p><p>Headers - if mail arrives addressed To: or Cc: green.man@domain1.com forward to gnman-2</p><p>This has been working for the most part but there are instances where the odd message that has been addressed to staff accounts @domain1.com has not been forwarded to the newly created accounts the same staff use for domain2.com</p><p>Do I need to add extra rules? I've looked at these messages which are not being forwarded but cannot see anything that would indicate why they are bypassing the rule set. I've just had a thought - there are other rules in place, do I need to move them to the top of the rule list, perhaps? I'm not at work at the moment but will check to see if there are other rules that could be affecting this.</p><p>Otherwise, am I doing this correctly?</p><p>Any and all suggestions welcome.</p><p>Thanks </p>

You logic and approach sounds good to me.  Your thought about rule logic is what popped into my head as an explanation for why some messages are not getting forwarded.  One technique I have used to try to figure out which rule is being triggered is to add a header as per below.  This may not be practical if you have an extensive rule list or lots of users but it can be helpful to confirm or rule out a suspicion about whether a specific rule is causing the problem.

If addressed to Old_Joe Goto Fwd_Joe
If addressed to Old_Bill Goto Fwd_Bill
.
.
.
Always Exit
Comment: Begin Labels
:Fwd_Joe
Always add header X-Merc-Rule: Fwd_Joe
Always Move to New_Joe
Always Exit
:Fwd_Bill
Always add header X-Merc-Rule: Fwd_Bill
Always Move to New_Bill
Always Exit

<p>You logic and approach sounds good to me.  Your thought about rule logic is what popped into my head as an explanation for why some messages are not getting forwarded.  One technique I have used to try to figure out which rule is being triggered is to add a header as per below.  This may not be practical if you have an extensive rule list or lots of users but it can be helpful to confirm or rule out a suspicion about whether a specific rule is causing the problem.</p><p>If addressed to Old_Joe Goto Fwd_Joe If addressed to Old_Bill Goto Fwd_Bill . . . Always Exit Comment: Begin Labels :Fwd_Joe Always add header X-Merc-Rule: Fwd_Joe Always Move to New_Joe Always Exit :Fwd_Bill Always add header X-Merc-Rule: Fwd_Bill Always Move to New_Bill Always Exit </p>
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft