Hello Sudip,

On Tuesday, September 17, 2002 at 14:51 GMT +0545, special agents were
informed that Sudip Pokhrel [SP] leaked:

SP> Thanks for the comprehensive solution Januk. I've decided to use:

SP> 1. How do I partially match the X-mailer headers? Right now it only
SP>    matches the full headers i.e. it matches 'Qualcomm Eudora version
SP>    5.0' but not 'Eudora'. This is crucial, otherwise I'll have to
SP>    create different QTs for different versions; simply not possible.
SP>    Having said that, it should be able to distinguish between Eudora &
SP>    Eudora Lite or Outlook & Outlook Express.

Well, change the regexp to:
%SETPATTREGEXP='(?im-s)^X-mailer:.*?(Client X|Client Y|Client Z|Default).*?$'

You can add more clients by separating them with pipe ("|") characters
within the brackets.

SP> 2. 'X-mailer:default' portion is not working. Maybe I have not
SP>    correctly understood something. Do I make a QT named 'Default'? I
SP>    did but it's not working. It does not return any string despite
SP>    X-mailer being absent from the headers.

It sounds like you understood, so just make sure that you've typed
everything in correctly (including line breaks).  If that still
doesn't work, try removing the %QINCLUDE bit and see what the regexp
itself is giving.  That might reveal the behaviour.

-- 
Thanks for writing,
 Januk Aggarwal

OK, I'm weird! But I'm saving up to become eccentric.


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

Reply via email to