Re: First email client with built in POPFile

2003-07-14 Thread Allister Jenks
On Sunday, 13 July 2003, at 11:34:10 p.m., Marck D Pearlstone wrote:

snip
 Enclosing the command line in double quotes would have cured that
 with the need for a CD first.
snip

Thanks for the tips, but for anybody else following this thread, note
that the correct syntax is

command parameter

So, technically, this is not enclosing the *command line* in quotes
but enclosing the *command* in quotes.

Now, my next problem is that I have four email accounts on which I
would like to use this filter, yet it seems to be tied to a single
account.  Further, you also have to specify a 'from' and 'to' folder
and this seems extraneous unless it is an automated filter.  For that
matter, which filter category should it be under?  I have it under
'Read Mail', but does this matter for a manually invoked filter?

For convenience, of learners out there, here is my final template with
Marck's points taken into consideration.

--8---cut here---start-8---
%SetPattRegExp='^X-POPFile-Link: (.*?)$'%-
%RegExpBlindMatch=%Headers
C:\Program Files\Internet Explorer\iexplore.exe %SubPatt='1'
--8---cut here---end---8---

Which brings me to one more question (good grief!)

What concept says that the %RegExpMatch macro returns the first
subpattern as Carsten's original script would imply (and I still
haven't checked), and not just the whole pattern?

Regards,

Allister.
-- 
Using The Bat! v1.62r
on Windows XP 5.1 Build 2600 Service Pack 1



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


Re: First email client with built in POPFile

2003-07-13 Thread Allister Jenks
On Saturday, 12 July 2003, at 7:10:04 a.m., Carsten Thönges wrote:

snip, snip, snip
 --8---cut here---start-8---
 %SetPattRegExp='^X-POPFile-Link: (.*?)$'%-
 c:\programme\opera7\opera.exe %RegExpMatch(%Headers)
 --8---cut here---end---8---
snip, snip, snip

Well, that's one way to teach a macro-rookie how things work!

To quote from the help file:

REGEXPMATCH = giventext 

*NOT* REGEXPMATCH( given text )

Still, I have my filter working now.  Main difference being I am using
%SUBPATT because I thought that might be part of the problem (and it
may be, but I can't be bother going back to check after all that!)

Also, WinXP didn't like the full path qualifying the iexplore.exe that
I substituted, so I had to do it with a CD first (see below).

Finally, I didn't understand the terminal %- on the first line, nor
the ? in the parentheses.  Neither seem to be required?

Phew!

Complete (working) template is now as follows:

--8---cut here---start-8---
%SetPattRegExp='^X-POPFile-Link: (.*)$'
%RegExpBlindMatch=%Headers
C:
CD \Program Files\Internet Explorer
iexplore.exe %SubPatt='1'
--8---cut here---end---8---

Thanks for the blooding!   :-)

-- 
Regards,

Allister.



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


Re: First email client with built in POPFile

2003-07-13 Thread Marck D Pearlstone
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi Allister,

@13-Jul-2003, 23:16 +1200 (12:16 UK time) Allister Jenks [AJ] in
mid:[EMAIL PROTECTED] said to Carsten:

AJ To quote from the help file:

AJ REGEXPMATCH = giventext 

AJ *NOT* REGEXPMATCH( given text )

Carsten is working with the 1.63 beta, which introduces this new ()
syntax. He has simply forgotten to dumb it down when he finished
it g.

... snip

AJ Also, WinXP didn't like the full path qualifying the
AJ iexplore.exe that I substituted, so I had to do it with a CD
AJ first (see below).

Enclosing the command line in double quotes would have cured that
with the need for a CD first.

AJ Finally, I didn't understand the terminal %- on the first
AJ line,

It stops a blank line being included in the output. Macros are a
continuous stream. Any characters not part of the macro are included
in the template output, including new line characters. '%-' at the
end of a line suppresses the single following new line character.

AJ nor the ? in the parentheses.

This makes the regular expression matching non greedy. You may
inadvertently include all headers that follow the X-POPfile header
if you leave that out.

AJ Neither seem to be required?

Both are functional and better used than not.

- --
Cheers -- .\\arck D Pearlstone -- List moderator
TB! v1.63 Beta/11 on Windows XP 5.1.2600 Service Pack 1

-BEGIN PGP SIGNATURE-
Version: PGPsdk version 1.7.1 (C) 1997-1999 Network Associates, Inc. and its 
affiliated companies.

iQA/AwUBPxFDtTnkJKuSnc2gEQI8vgCgr/peQmBnnP853Yoc1OJgDRu5YiUAoNR5
G/R2iI/r/Wv8wrZ3YIrdot4q
=3n9i
-END PGP SIGNATURE-




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


Re: First email client with built in POPFile

2003-07-11 Thread Martin Webster
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello Jurgen,

Friday, July 11, 2003, 8:04:55 AM, you wrote:

JH Actually, it would just be nice, if TB! would offer reclassification via 
right-mouse-click
JH for each email. Maybe that could be done by third-parties as plug-ins for TB! and 
interested
JH programmers could do one for your SpamPal and one for my POPfile ;-)

That's already available in beta 11 (under Specials menu). Just waiting for the 
plug-ins now. I think Bayesit! could be the first to use this feature.

M
- --
Best regards,
Martin Webster

The Bat! 1.63 Beta/11 (Windows XP Professional Service Pack 1)

-BEGIN PGP SIGNATURE-
Version: PGP SDK 3.0.2

iQA/AwUBPw5m21v+PP8p0/caEQJIrwCfbYd0ASu52FY+WAybZvUZPeIRJtkAoOMH
wMXU9ex9uBcyY3r8FQDX1txj
=Ec8t
-END PGP SIGNATURE-

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

Re: First email client with built in POPFile

2003-07-11 Thread Carsten Thönges
* Jurgen Haug [EMAIL PROTECTED] writes:

 The Courier Email client
 (http://www.rosecitysoftware.com/courier/) has code in the latest
 version to automatically find the X-POPFile-Link decode the link
 and add a Reclassify... menu item.

 Very nice integration of POPFile. Thanks. 

 wouldn't it be nice if TB! would integrate POPfile, too?

Okay. What do we need to do?

  1) extract the X-POPFile-Link header
  2) create a *.bat file which contains only one line¹
  
  C:/Programme/Opera7/opera.exe URI taken from X-POPFile-Link header

  3) run this batch file

All three steps can easily be done using manual sorting rules.

Now let's do it.

 o  Open sorting office and create a new rule
 o  make it manual only
 o  under actions activate export message to a file
- file name: something like D:\temp\popfile.bat
- export format: Text
- (x) overwrite existing file
- export the file using this template²:
   
--8---cut here---start-8---
%SetPattRegExp='^X-POPFile-Link: (.*?)$'%-
c:\programme\opera7\opera.exe %RegExpMatch(%Headers)
--8---cut here---end---8---

 o  activate [x] run external program
- name is: d:\temp\popfile.bat
- [x] run hidden (only if you want ...)

 o  after that go to options and 
- [x] execute action set of this rule by pressing the Hot Key
  and choose one (I took Shift+Ctrl+Alt+R (= reclassify))
- untick [ ] check the selected message against this rule

Of course you must finetune file and path names or the path to your
favourite browser and maybe one or two other things (who knows?).

It works here. When I mark a message and press Shift+Ctrl+Alt+R
Opera gets the focus and I can throw my mail into the right bucket.
To be honest, I tested it only a few times but I really do BELIEVE
it works :-)

Needless to say that as long as there are no global sorting rules we
have to define such a rules for every single account.

For the copy/pasters:

--8---cut here---start-8---
BeginFilter
Name: popfile reclassify
Active: 1
Source: \\GMX\Inbox
Target: \\GMX\Inbox
CopyFolder: none
MainSet: 00
Actions: 
faExport,faExternal,faoExportOver,faoRunDetached,faoManualOnly,faoToggleFlag,faoHotKey
AddGroups: 
DelGroups: 
ForwardTemplate: 
ConfirmTemplate: 
ReplyTemplate: 
FwdAddr: 
RedirectAddr: 
NewAddr: 
NewTemplate: 
ExtCmd: d:\temp\popfile.bat
ExtFile: d:\temp\popfile.bat
ExtractDir: 
ColourGroup: default
AddAddrItems: afiFrom,
DelAddrItems: afiFrom,
HotKey: 57426
IsOfColour: default
SizeBigger: 0
SizeSmaller: 0
AgeOlder: 0
AgeNewer: 0
InAddrPos: 0
OutAddrPos: 0
InAddrGroups: 
NoAddrGroups: 
KillFile: 
KillMethod: 0
SaveTemplate: 
%SetPattRegExp\3D\27^X-POPFile-Link:\20(.*?)$\27%-\0D\0Ac:\5Cprogramme\5Copera7\5Copera.exe\20\22%RegExpMatch(%Headers)\22\0D\0A\0D\0A
SndFile: 
SysSound: 0
SoundTime: 0:00-0:00
AllowTime: 0:00-0:00
EndFilter
--8---cut here---end---8---

HTH

Footnotes: 
¹  I assume everyone here uses Opera
²  if you don't know where to enter the template ... it's the second
   icon.
-- 
Carsten



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


First email client with built in POPFile

2003-07-10 Thread Jurgen Haug
Hallo Fledermäuse,

there's this on POPfile news:

 Posted By: jgrahamc
 Date: 2003-06-30 18:57
 Summary: First email client with built in POPFile 
 
 The Courier Email client (http://www.rosecitysoftware.com/courier/) has code in the 
 latest version to automatically find the X-POPFile-Link decode the link and add a 
 Reclassify... menu item. 
 
 Very nice integration of POPFile. Thanks. 


wouldn't it be nice if TB! would integrate POPfile, too?

-- 
regards,
 Jurgen

Using The Bat! v1.63 Beta/11 on WinXP.5.1.2600.SP1 



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


Re: First email client with built in POPFile

2003-07-10 Thread Duncan Strand
Jurgen Haug on Thursday, July 10, 2003, 9:37:04 PM, you scribed:

 The Courier Email client
 (http://www.rosecitysoftware.com/courier/) has code in the latest
 version to automatically find the X-POPFile-Link decode the link
 and add a Reclassify... menu item. 
 
 Very nice integration of POPFile. Thanks. 


 wouldn't it be nice if TB! would integrate POPfile, too?

Could that be done using an Anti spam plugin?

Just a thought

-- 
Duncan Strand  ICQ: 16966914
www.zebs.org.uk
I am Locutus of the Borg. This tagline is irrelevant



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


Re: First email client with built in POPFile

2003-07-10 Thread MAU
Hello Jurgen,

 wouldn't it be nice if TB! would integrate POPfile, too?

It certainly would.

-- 
Best regards,

Miguel A. Urech (El Escorial - Spain)
Using The Bat! v1.62i



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


Re: First email client with built in POPFile

2003-07-10 Thread DZ-Jay
Some time around 7/10/2003 16:37:04, I think I heard Jurgen Haug say:
 Hallo Fledermäuse,

 wouldn't it be nice if TB! would integrate POPfile, too?


That would be great! :)

dZ.



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


Re: First email client with built in POPFile

2003-07-10 Thread Steve Mary King
Actually, The Bat! works fine with POPFile on my system.  I tried the new
Courier, and it seems to be just like the old Calypso, which it's
replacing.  Not worth the cost of upgrade, to me anyway.

Steve . . .

 Jurgen, Thursday, July 10, 2003, 1:37:04 PM, you wrote:==

JH there's this on POPfile news:

 Posted By: jgrahamc
 Date: 2003-06-30 18:57
 Summary: First email client with built in POPFile 
 
 The Courier Email client (http://www.rosecitysoftware.com/courier/) has code in the 
 latest version to automatically find the X-POPFile-Link decode the link and add a 
 Reclassify... menu item. 
 
 Very nice integration of POPFile. Thanks. 


JH wouldn't it be nice if TB! would integrate POPfile, too?



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


Re: First email client with built in POPFile

2003-07-10 Thread neurowerx
10-Jul-2003 22:37, [EMAIL PROTECTED] wrote:

 wouldn't it be nice if TB! would integrate POPfile, too?

Why? I'm using SpamPal and Bayesian filter, and I wouldn't ask if that, or
SpamAssassin, or K7, or whatever anti-spam solution, be integrated into TB.
Let the users decide what they like best, TB is big enough an application
already.

-- 
Best regards,
 neurowerx (http://www.neurowerx.de)

One morning I shot an elephant in my pajamas. How he got into my pajamas
I'll never know. -- Groucho Marx



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