Hello Roelof, On Wed, 12 Jan 2005 21:57:10 +0100 GMT (13/01/2005, 03:57 +0700 GMT), Roelof Otten wrote:
TF>> I'm not good at regex. In fact, I don't understand them, but I have TF>> copied a few from the library and they work fine. What I now need is a TF>> rather simple one. RO> Actually you don't need a regex at all. Thanks for pointing this out. TF>> X-Received-By: [EMAIL PROTECTED] RO> Define an additional header for TB at RO> Options -> Preferences -> Message Headers I need to define the header? But the header already comes with the message, I don't want to create it just recognise it. TF>> The filters need to do this: TF>> IF X-Received-By = [EMAIL PROTECTED] TF>> DO action TF>> CONTINUE WITH OTHER FILTERS. RO> Filter condition would be: RO> Message header - X-Received-By - contains - [EMAIL PROTECTED] Didn't think about the most simple solution. I think this should do it perfectly. TF>> Task 2: The reply template in the main account (where all messages TF>> reside) should use the address indicated by the X-Received-By header TF>> as the From address. No need for an %Account= macro, the %From= will TF>> %FROM="the email address in the X-Received-By header" RO> %From='%OHeader="X-Received-By"'%- I might understand this: This is why I need to declare the header above (and I need to do this once for all TB accounts and for all eternity, is that correct?), and I didn't know the %OHeader macro would extract exactly what I need. Wow. RO> When you're insisting on some regexp, that can be arranged too, but RO> why should you? No, no, I feel much for comfortable without. :-) -- Cheers, Thomas. If a man speaks in the forest and there is no woman around to hear him, is he still wrong? Message reply created with The Bat! 3.0.2.10 under Windows XP 5.1 Build 2600Service Pack 2 ________________________________________________ Current version is 3.0.1.33 | 'Using TBUDL' information: http://www.silverstones.com/thebat/TBUDLInfo.html

