antispamsniper.com Forum Index antispamsniper.com
The reliable anti-spam protection
 
 FAQFAQ   SearchSearch     ProfileProfile   Log inLog in   RegisterRegister 

Black rule for BCC not empty

 
Post new topic   Reply to topic    antispamsniper.com Forum Index -> AntispamSniper for TheBat!
View previous topic :: View next topic  
Author Message
Sacles



Joined: 09 Nov 2007
Posts: 51
Location: Belgium (near Li?ge)

PostPosted: Sun Mar 02, 2008 8:33 am    Post subject: Black rule for BCC not empty Reply with quote

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
View user's profile Send private message
Sacles



Joined: 09 Nov 2007
Posts: 51
Location: Belgium (near Li?ge)

PostPosted: Sun Mar 02, 2008 8:39 am    Post subject: Reply with quote

OK, I found:

not Header{BCC} =~\s

Regards.
Back to top
View user's profile Send private message
vetaltm
Author


Joined: 05 Feb 2006
Posts: 750

PostPosted: Sun Mar 02, 2008 3:04 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
Sacles



Joined: 09 Nov 2007
Posts: 51
Location: Belgium (near Li?ge)

PostPosted: Sun Mar 02, 2008 4:28 pm    Post subject: Reply with quote

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
View user's profile Send private message
vetaltm
Author


Joined: 05 Feb 2006
Posts: 750

PostPosted: Sun Mar 02, 2008 5:57 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
Sacles



Joined: 09 Nov 2007
Posts: 51
Location: Belgium (near Li?ge)

PostPosted: Mon Mar 03, 2008 4:31 am    Post subject: Reply with quote

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
View user's profile Send private message
vetaltm
Author


Joined: 05 Feb 2006
Posts: 750

PostPosted: Mon Mar 03, 2008 4:42 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
Sacles



Joined: 09 Nov 2007
Posts: 51
Location: Belgium (near Li?ge)

PostPosted: Mon Mar 03, 2008 4:53 am    Post subject: Reply with quote

I believed that AntispamSniper go simply on the server to see the headers without downloading anything.

Thanks you for your clarifications.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    antispamsniper.com Forum Index -> AntispamSniper for TheBat! All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group