Community Discussions and Support
Global Rules.. Slight Issue.

[quote user="tomt"]

It turns out the filter was fine !
The user was still CC'ing the other 2 users..

[/quote]
That was exactly what the filter I've suggested was meant to avoid :)

Best regards,

Nico
[quote user="tomt"]<P>It turns out the filter was fine ! The user was still CC'ing the other 2 users..</P>[/quote] That was exactly what the filter I've suggested was meant to avoid :) Best regards, Nico

Hi

I have a global rule configured as below:

If header "F" contains "Sam@domain.com" Copy "Bob"
If header "F" contains "Sam@domain.com" Copy "Fred"

This works well and Bob & Fred receive copies of emails sent from Sam.

BUT... 
If Sam adds multiple recipients to his email then Bob & Fred receive multiple copies of the same email..

Any way to resolve this ?

Thanks :)
 

 

<p>Hi</p><p>I have a global rule configured as below:</p><p>If header "F" contains "Sam@domain.com" Copy "Bob" If header "F" contains "Sam@domain.com" Copy "Fred"</p><p>This works well and Bob & Fred receive copies of emails sent from Sam.</p><p>BUT...  If Sam adds multiple recipients to his email then Bob & Fred receive multiple copies of the same email..</p><p>Any way to resolve this ?</p><p>Thanks :)  </p><p> </p>

Do you get mail by mercD or mercS?

I recall having this problem when POPing mail from a domain box at our ISP.

 Are these mails incoming or outgoing? (i.e is domain.com local?)

<p>Do you get mail by mercD or mercS?</p><p>I recall having this problem when POPing mail from a domain box at our ISP.</p><p> Are these mails incoming or outgoing? (i.e is domain.com local?) </p>

Hi

Thanks for the reply.
This is mail from a local user..

When Sam sends mail out it needs to be copied to 2 other users.

Thanks 

<p>Hi</p><p>Thanks for the reply. This is mail from a local user..</p><p>When Sam sends mail out it needs to be copied to 2 other users.</p><p>Thanks </p>

Since  this is only outgoing mail are you using an outgoing filter?  If so it's quite possible that the system is creating a separate message for each domain in the addresses and thus multiple copies.  Personally I'd have Sam just setup a Bcc: to these other two users when he sends the mail. 

 

<p>Since  this is only outgoing mail are you using an outgoing filter?  If so it's quite possible that the system is creating a separate message for each domain in the addresses and thus multiple copies.  Personally I'd have Sam just setup a Bcc: to these other two users when he sends the mail.  </p><p> </p>

[quote user="Thomas R. Stephenson"]

Since  this is only outgoing mail are you using an outgoing filter?  If so it's quite possible that the system is creating a separate message for each domain in the addresses and thus multiple copies.  Personally I'd have Sam just setup a Bcc: to these other two users when he sends the mail. 

[/quote]

Hi Thomas

This isn't in the outgoing filter, but it is for outgoing mail.
Looking at the logs Mercury is sending multiple emails, which is why the users receives multiple copies.

We don't trust this user to Bcc: all the emails.. they will forget and things will be missed.
That is why we are trying to do it on the server..

Thanks 

[quote user="Thomas R. Stephenson"]<p>Since  this is only outgoing mail are you using an outgoing filter?  If so it's quite possible that the system is creating a separate message for each domain in the addresses and thus multiple copies.  Personally I'd have Sam just setup a Bcc: to these other two users when he sends the mail.  </p><p>[/quote] </p><p>Hi Thomas</p><p>This isn't in the outgoing filter, but it is for outgoing mail. Looking at the logs Mercury is sending multiple emails, which is why the users receives multiple copies.</p><p>We don't trust this user to Bcc: all the emails.. they will forget and things will be missed. That is why we are trying to do it on the server..</p><p>Thanks </p>

What mail client is "Sam" using?  If he's using WinPMail then he can set a fixed Bcc: address in Tools | Options | Sending mail.  Other mail clients may also offer this sort of option as well.

 

 

<p>What mail client is "Sam" using?  If he's using WinPMail then he can set a fixed Bcc: address in Tools | Options | Sending mail.  Other mail clients may also offer this sort of option as well.</p><p> </p><p> </p>

[quote user="tomt"]
If header "F" contains "Sam@domain.com" Copy "Bob"
If header "F" contains "Sam@domain.com" Copy "Fred"

This works well and Bob & Fred receive copies of emails sent from Sam.

BUT... 
If Sam adds multiple recipients to his email then Bob & Fred receive multiple copies of the same email..

Any way to resolve this ?

[/quote]
What about:

If header "F" contains "Sam@domain.com" LogicalAnd ""
If not header "CT" contains "Bob@domain.com" Copy "Bob"

If header "F" contains "Sam@domain.com" LogicalAnd ""
If not header "CT" contains "Fred@domain.com" Copy "Fred"

Best regards,

Nico
[quote user="tomt"] If header "F" contains "Sam@domain.com" Copy "Bob" If header "F" contains "Sam@domain.com" Copy "Fred"<P>This works well and Bob & Fred receive copies of emails sent from Sam.</P><P>BUT...  If Sam adds multiple recipients to his email then Bob & Fred receive multiple copies of the same email..</P><P>Any way to resolve this ?</P>[/quote] What about: If header "F" contains "Sam@domain.com" LogicalAnd "" If not header "CT" contains "Bob@domain.com" Copy "Bob" If header "F" contains "Sam@domain.com" LogicalAnd "" If not header "CT" contains "Fred@domain.com" Copy "Fred" Best regards, Nico

[quote user="tBB"]
What about:

If header "F" contains "Sam@domain.com" LogicalAnd ""
If not header "CT" contains "Bob@domain.com" Copy "Bob"

If header "F" contains "Sam@domain.com" LogicalAnd ""
If not header "CT" contains "Fred@domain.com" Copy "Fred"

Best regards,

Nico
[/quote]

Thanks Nico
What does that do ??

<P>[quote user="tBB"] What about: If header "F" contains "Sam@domain.com" LogicalAnd "" If not header "CT" contains "Bob@domain.com" Copy "Bob" If header "F" contains "Sam@domain.com" LogicalAnd "" If not header "CT" contains "Fred@domain.com" Copy "Fred" Best regards, Nico [/quote]</P> <P>Thanks Nico What does that do ??</P>

[quote user="tomt"]

Thanks Nico
What does that do ??

[/quote]
The first rule is a 'AND' rule and triggers if the sender contains Sam@domain.com.
The second rule is negated, triggers if the To or Cc does NOT contain Bob@domain.com and then sends a copy to Bob@domain.com.

Both rules are combined by the logical AND in the first rule. They check if the the sender contains Sam@domain.com and if neither the To or Cc contain Bob@domain.com send a copy to "Bob". Same goes for "Fred".

Edit:
Hmm..while re-reading the thread I found that I might have misunderstood the issue. If the problem is that Sam forgets sometimes to send Cc's to Bob and Fred but sometimes not (and if not Bob and Fred receive two mails) and Sam's mail is directed to only one receipient then the above rule will work well. If the problem is that Bob and Fred receive multiple copies of the same mail because Sam Cc'd the mail to multiple recepients it works not so well (not at all, I believe).

Best regards,

Nico

[quote user="tomt"]<P>Thanks Nico What does that do ??</P>[/quote] The first rule is a 'AND' rule and triggers if the sender contains Sam@domain.com. The second rule is negated, triggers if the To or Cc does NOT contain Bob@domain.com and then sends a copy to Bob@domain.com. Both rules are combined by the logical AND in the first rule. They check if the the sender contains Sam@domain.com and if neither the To or Cc contain Bob@domain.com send a copy to "Bob". Same goes for "Fred". [b]Edit:[/b] Hmm..while re-reading the thread I found that I might have misunderstood the issue. If the problem is that Sam forgets sometimes to send Cc's to Bob and Fred but sometimes not (and if not Bob and Fred receive two mails) and Sam's mail is directed to only one receipient then the above rule will work well. If the problem is that Bob and Fred receive multiple copies of the same mail because Sam Cc'd the mail to multiple recepients it works not so well (not at all, I believe). Best regards, Nico

Hi Nico
Thanks for taking the time to explain.. 

I beginning to think it isn't possible to do what I need. :(

<p>Hi Nico Thanks for taking the time to explain.. </p><p>I beginning to think it isn't possible to do what I need. :(</p>

I tried to repeat this behavior as you described it:

I have a global rule configured as below:

If header "F" contains "Sam@domain.com" Copy "Bob"
If header "F" contains "Sam@domain.com" Copy "Fred"

This works well and Bob & Fred receive copies of emails sent from Sam.

BUT... 
If Sam adds multiple recipients to his email then Bob & Fred receive multiple copies of the same email..

One message from the targeted sender with 2 TO recipients in different domains, 2 CC recipients in different domains, and 1 BCC recipient will just generate 1 pair of QCF/QDF files in the queue directory, and will cause the rules to trigger once each.

In what situation do you get the rules to trigger multiple times?

/Rolf
 

<p>I tried to repeat this behavior as you described it:</p><blockquote><p><i>I have a global rule configured as below:</i></p><p><i>If header "F" contains "Sam@domain.com" Copy "Bob" If header "F" contains "Sam@domain.com" Copy "Fred"</i></p><p><i>This works well and Bob & Fred receive copies of emails sent from Sam.</i></p><p><i>BUT...  If Sam adds multiple recipients to his email then Bob & Fred receive multiple copies of the same email..</i></p></blockquote><p>One message from the targeted sender with 2 TO recipients in different domains, 2 CC recipients in different domains, and 1 BCC recipient will just generate 1 pair of QCF/QDF files in the queue directory, and will cause the rules to trigger once each.</p><p>In what situation do you get the rules to trigger multiple times?</p><p>/Rolf  </p>

Assuming the rules as per my first post.

If Sam sends an email:

TO:user@xxxxx.com
CC: user@anotherdomain.com

The Bob will receive a copy of the email sent to user@xxxxx.com & a copy of the email sent to user@anotherdomain.com

Fred also get 2 emails.

I hope that make sense..
 

<p>Assuming the rules as per my first post.</p><p>If Sam sends an email:</p><p>TO:user@xxxxx.com CC: user@anotherdomain.com</p><p>The Bob will receive a copy of the email sent to user@xxxxx.com & a copy of the email sent to user@anotherdomain.com</p><p>Fred also get 2 emails.</p><p>I hope that make sense..  </p>

OK. I made a new test with a message with one TO recipient and one CC recipient in different domains. Both mails are sent out by MercuryE but "Bob" only gets one copy.

Could it be some other global rule that makes it behave differently in your setup?

/Rolf
 

<p>OK. I made a new test with a message with one TO recipient and one CC recipient in different domains. Both mails are sent out by MercuryE but "Bob" only gets one copy.</p><p>Could it be some other global rule that makes it behave differently in your setup?</p><p>/Rolf  </p>

hmm... I'll have to check this on Tuesday..
I'll let you know how I get on.

THANKS
 

<p>hmm... I'll have to check this on Tuesday.. I'll let you know how I get on.</p><p>THANKS  </p>

It turns out the filter was fine !
The user was still CC'ing the other 2 users..

Thanks 

<p>It turns out the filter was fine ! The user was still CC'ing the other 2 users..</p><p>Thanks </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