Re: Filtering on cc: field

2002-12-04 Thread Thomas Fernandez
Hello Ming-Li,

On Wed, 4 Dec 2002 12:47:04 +0800 GMT (04/12/02, 11:47 +0700 GMT),
Ming-Li wrote:

 ^CC
 Presence: No
 Location: Kludges
[...]
 1. A in TO but there are CC recipients.
 2. A in CC.

 Your filter will be falsely triggered by messages matching condition 1.

Yes, you are right. But your filter not will be triggered when there
is a line starting with CC in the headers, i.e. any CC-recipient. I
had overlooked that stipulation.

-- 

Cheers,
Thomas.

Moderator der deutschen The Bat! Beginner Liste.

I used to have an open mind but my brains kept falling out.

Message reply created with The Bat! 1.62 Beta/17
under Chinese Windows 98 4.10 Build  A 
using an AMD Athlon K7 1.2GHz, 128MB RAM



Current version is 1.61 | Using TBUDL information:
http://www.silverstones.com/thebat/TBUDLInfo.html



Re[2]: Filtering on cc: field

2002-12-04 Thread Joseph N.
Ming-Li and Thomas,

Thank you both for your various comments.  I'm not sure yet which if
either of you understood or misunderstood my request, because I
haven't had a second to sit down and get into your responses in any
depth.  I'll probably do it tonight, and post back tomorrow.

-- 
JN



Current version is 1.61 | Using TBUDL information:
http://www.silverstones.com/thebat/TBUDLInfo.html



Filtering on cc: field

2002-12-03 Thread Joseph N.
Is it correct that there is no way to filter on the cc: field? (For
example, to archive mail in which 'A' is in the TO: field and there
are no CC: recipients, but not to archive mail in which 'A' is in the
CC: field or there are other CC: recipients.)

-- 
JN



Current version is 1.61 | Using TBUDL information:
http://www.silverstones.com/thebat/TBUDLInfo.html



Re: Filtering on cc: field

2002-12-03 Thread Thomas Fernandez
Hello Joseph,

On Tue, 3 Dec 2002 08:56:09 -0600 GMT (03/12/02, 21:56 +0700 GMT),
Joseph N. wrote:

 Is it correct that there is no way to filter on the cc: field? (For
 example, to archive mail in which 'A' is in the TO: field and there
 are no CC: recipients, but not to archive mail in which 'A' is in the
 CC: field or there are other CC: recipients.)

No, this is not correct, and yes, you can do it. ;-)

It involves a regex though. Let me guess (untested):

^TO: [EMAIL PROTECTED]
Presence: Yes
Location: Kludges

There is also a way to allow zero to many characters between the TO
and your address (in case your address is in the TO line, but it is
the second of two). But that's beyond me.

Under the Advanced tab, check [X] Regular Expressions.

-- 

Cheers,
Thomas.

Moderator der deutschen The Bat! Beginner Liste.

On a Korean kitchen knife... Warning: Keep out of children.

Message reply created with The Bat! 1.62 Beta/17
under Chinese Windows 98 4.10 Build  A 
using an AMD Athlon K7 1.2GHz, 128MB RAM



Current version is 1.61 | Using TBUDL information:
http://www.silverstones.com/thebat/TBUDLInfo.html



Re[2]: Filtering on cc: field

2002-12-03 Thread Joseph N.
Thomas,

Many thanks.  I'll give it a try.

-- 
JN



Current version is 1.61 | Using TBUDL information:
http://www.silverstones.com/thebat/TBUDLInfo.html



Re: Filtering on cc: field

2002-12-03 Thread Ming-Li
On Tue, 3 Dec 2002 at 22:06:29 +0700 Thomas Fernandez wrote:

 Is it correct that there is no way to filter on the cc: field? (For
 example, to archive mail in which 'A' is in the TO: field and there are
 no CC: recipients, but not to archive mail in which 'A' is in the CC:
 field or there are other CC: recipients.)

 ^TO: [EMAIL PROTECTED]
 Presence: Yes
 Location: Kludges

I'm not sure this does what Joseph wants (if I understand him correctly). It
tests the presence of the a certain address appearing in the TO field, but
doesn't preclude those with CC recipients. For that purpose, a second
condition has to be added:

^CC
Presence: No
Location: Kludges

-- 
Best regards,
Ming-Li

The Bat! 1.62 Beta/17 | WinXP SP-1



Current version is 1.61 | Using TBUDL information:
http://www.silverstones.com/thebat/TBUDLInfo.html



Re: Filtering on cc: field

2002-12-03 Thread Thomas Fernandez
Hello Ming-Li,

On Wed, 4 Dec 2002 06:37:46 +0800 GMT (04/12/02, 05:37 +0700 GMT),
Ming-Li wrote:

 ^TO: [EMAIL PROTECTED]
 Presence: Yes
 Location: Kludges

 I'm not sure this does what Joseph wants (if I understand him correctly). It
 tests the presence of the a certain address appearing in the TO field, but
 doesn't preclude those with CC recipients. For that purpose, a second
 condition has to be added:

 ^CC
 Presence: No
 Location: Kludges

I was thinking about that. But, if the address is in the TO field, my
filter will be triggerd. If it is not in the TO field (i.e. only in
the CC field), my filter will not recognise the address, so it will
not be trigged. when you put your addage under AND, the filter not
betriggered if the address is in both TO and CC. But how probable is
such a situation? ;-)

-- 

Cheers,
Thomas.

Moderator der deutschen The Bat! Beginner Liste.

We are the people our parents warned us about.

Message reply created with The Bat! 1.62 Beta/17
under Chinese Windows 98 4.10 Build  A 
using an AMD Athlon K7 1.2GHz, 128MB RAM



Current version is 1.61 | Using TBUDL information:
http://www.silverstones.com/thebat/TBUDLInfo.html



Re: Filtering on cc: field

2002-12-03 Thread Ming-Li
On Wed, 4 Dec 2002 at 09:48:17 +0700 Thomas Fernandez wrote:

 ^CC
 Presence: No
 Location: Kludges

 I was thinking about that. But, if the address is in the TO field, my
 filter will be triggerd. If it is not in the TO field (i.e. only in
 the CC field), my filter will not recognise the address, so it will
 not be trigged. when you put your addage under AND, the filter not
 betriggered if the address is in both TO and CC. But how probable is
 such a situation? ;-)

I think one of us misunderstood what Joseph wanted. It might well be me, but
I'm not ready to concede yet. :-)

Quoting from the original message which started this thread:

 to archive mail in which 'A' is in the TO: field and there are no CC:
 recipients, but not to archive mail in which 'A' is in the CC: field or
 there are other CC: recipients.

See? What he wanted to exclude (not triggering the filter) are:

1. A in TO but there are CC recipients.
2. A in CC.

Your filter will be falsely triggered by messages matching condition 1.

-- 
Best regards,
Ming-Li

The Bat! 1.62 Beta/17 | WinXP SP-1



Current version is 1.61 | Using TBUDL information:
http://www.silverstones.com/thebat/TBUDLInfo.html