View previous topic :: View next topic |
Author |
Message |
Sacles
Joined: 09 Nov 2007 Posts: 51 Location: Belgium (near Li?ge)
|
Posted: Sun Mar 02, 2008 8:33 am Post subject: Black rule for BCC not empty |
|
|
Hello,
How can I delete messages where the BCC addresses is not empty (with a black rule)?
In advance, thanks for your reply. |
|
Back to top |
|
|
Sacles
Joined: 09 Nov 2007 Posts: 51 Location: Belgium (near Li?ge)
|
Posted: Sun Mar 02, 2008 8:39 am Post subject: |
|
|
OK, I found:
not Header{BCC} =~\s
Regards. |
|
Back to top |
|
|
vetaltm Author
Joined: 05 Feb 2006 Posts: 751
|
Posted: Sun Mar 02, 2008 3:04 pm Post subject: |
|
|
BCC stands for Blind Carbon Copy. When someone specifies your address in BCC field, you won't find your address in received message. So the rule above will not work.
Here is a working black rule from http://antispamsniper.com/art-rules.html page:
Code: | Header{Received} =~ mailbox@domain\.com
not Header{To} =~ mailbox@domain\.com
not Header{CC} =~ mailbox@domain\.com |
The rule deletes the messages directed to mailbox@domain.com, where the fields To and CC don't contain mailbox@domain.com. Actually this rule does what you want - it deletes the messages sent to specified address using BCC. |
|
Back to top |
|
|
Sacles
Joined: 09 Nov 2007 Posts: 51 Location: Belgium (near Li?ge)
|
Posted: Sun Mar 02, 2008 4:28 pm Post subject: |
|
|
Quote: | So the rule above will not work. |
I have tried and it works.
If an address is in BCC header, the mail is not downloaded, it stays on the server.
Experience:
I sent a mail to my address with an other address in BCC header.
The name of my rule is BCC. If I look on the archive I see:
Deleted form the server - Reason Black rule: BCC
(I have a French version, I try to translate). |
|
Back to top |
|
|
vetaltm Author
Joined: 05 Feb 2006 Posts: 751
|
Posted: Sun Mar 02, 2008 5:57 pm Post subject: |
|
|
Sacles wrote: | Quote: | So the rule above will not work. |
I have tried and it works.
If an address is in BCC header, the mail is not downloaded, it stays on the server.
Experience:
I sent a mail to my address with an other address in BCC header.
The name of my rule is BCC. If I look on the archive I see:
Deleted form the server - Reason Black rule: BCC
(I have a French version, I try to translate). |
It looks like your email server violates the standards. The word Blind in BCC means that the recipients must not see the list of addresses from BCC field. Thats why email servers cut off this field from headers and normally BCC field should never exist in received messages. |
|
Back to top |
|
|
Sacles
Joined: 09 Nov 2007 Posts: 51 Location: Belgium (near Li?ge)
|
Posted: Mon Mar 03, 2008 4:31 am Post subject: |
|
|
Hello,
Quote: | It looks like your email server violates the standards. |
If the mail with BCC not empty is downloaded I cannot see the address BCC.
But on the server this address BCC must exist. No? |
|
Back to top |
|
|
vetaltm Author
Joined: 05 Feb 2006 Posts: 751
|
Posted: Mon Mar 03, 2008 4:42 am Post subject: |
|
|
Sacles wrote: | Quote: | It looks like your email server violates the standards. |
If the mail with BCC not empty is downloaded I cannot see the address BCC.
But on the server this address BCC must exist. No? |
No. Normally the mail server cuts off BCC addresses during message delivery, i.e. this field exists only in outgoing messages in your email client. When you download a message from your mailbox, there must be no BCC field, no matter if you download just a header or full message contents. |
|
Back to top |
|
|
Sacles
Joined: 09 Nov 2007 Posts: 51 Location: Belgium (near Li?ge)
|
Posted: Mon Mar 03, 2008 4:53 am Post subject: |
|
|
I believed that AntispamSniper go simply on the server to see the headers without downloading anything.
Thanks you for your clarifications. |
|
Back to top |
|
|
|