Hello Ruppert,

An archeological dig discovered that on Saturday, June 22, 2002 at
15:36 GMT +0200, Ruppert G. von Teutul [RGV] typed the following:

>> will set the "from". You can use a construct like this:
>> 
>> %IF:"%OTOADDR"="[EMAIL PROTECTED]":%-
>> "%ACCOUNT='account1'":"%ACCOUNT='account2'"%-
>> 
> ok, but what if the to: address contains more than one address?

Change %OTOADDR in Marck's solution to:
%SETPATTREGEXP="(?i).*(account1@mydomain\.com)"%REGEXPMATCH="%OTOLIST"

> is there a way to read the colour group a mail is assigned to?

Unfortunately, no.

> mark to the moved mail (invisibly). then i could check this hidden
> mark and decide where the mail came from.  (then i would catch the
> (b)cc-case, too).

No, but your servers might do something like that already.  You can
check this manually by sending yourself a test message with both
addresses in the BCC field.  When the message comes back to you, check
the headers (<Shift><Ctrl><K>).  The last 1 or 2 Received headers
in each might contain a unique string that we could use to
differentiate the messages.

If you do find such a string, then you can use a regular expression in
the %IF macro to find it and determine which account to use.  If you
don't know how to do the regexp stuff, just let us know and we'll help
you write an appropriate solution.
        
-- 
Thanks for writing,
 Januk Aggarwal

Is it OK to use the AM radio after noon?


________________________________________________________
Current Ver: 1.60q
FAQ        : http://faq.thebat.dutaint.com 
Unsubscribe: mailto:[EMAIL PROTECTED]
Archives   : http://tbudl.thebat.dutaint.com
Moderators : mailto:[EMAIL PROTECTED]
TBTech List: mailto:[EMAIL PROTECTED]
Bug Reports: https://www.ritlabs.com/bt/

Reply via email to