On  Tue, 7 Aug 2001 at 19:20:10,  Malcolm Cadman wrote:
(ref: <[EMAIL PROTECTED]>)

>In article <[EMAIL PROTECTED]>, Tony Firshman
><[EMAIL PROTECTED]> writes
>>On  Tue, 7 Aug 2001 at 08:55:16,  Norman Dunbar wrote:
>>(ref: <[EMAIL PROTECTED]>)
>>
>>>A project that I have in mind, sorry but it is Windows based, is a small
>>>email filter type program which allows you to connect to the mail server at
>>>your ISP, and download the HEADERS of your emails first of all - so any 100
>>>Gigabyte :o) attachments, or files with double extensions - xxx.xls.exe or
>>>similar - can be spotted before downloading. Any unwanted emails can then be
>>>deleted from the server BEFORE you download them.
>>Demon's Turnpike (generally available for around �30 I think - but free
>>to Demon customers) already does just this on its POP3 and SMTP mail
>>collections.
>
>You have to set the feature up though ... which I haven't done with my
>copy of Turnpike.  How is it done, for curiosity ?
I am using V6 beta 6, so yours may be different.
In TP offline - configure/email routing rules/mail rejection/

.. and POP3 rejects based on header (as long as the rejection rule can
get all the info from there).
For thought starters (for the current project) TP has following:

. was sent from user xxxxx
. has subject line containing xxxx
. is larger than nnnn bytes
. matches the custom rule, which can get quite sophisticated (using
perl-like regexps).
ie ^ is beginning
   $ is end
   \ escapes the next chr - ie converts it into a 'real' character.
   . in regexp unescaped means 'any character'

QUOTE
Search patterns are expressed as regular expression. Study the following
examples, and pick out the one that most closely mirrors the type of
rule you want, then modify the rule to suit your purpose.

/^fred$/        All mail addressed to fred
/^fred@anycompany\.com$/a       All mail from [EMAIL PROTECTED]
/@anycompany\.com$/a    All mail from anybody at anycompany.com
/urgent/s       All mail with "urgent" in the subject
/@anycompany\.com$/a & !/urgent/s       All mail from anycompany.com
unless it has "urgent" in the subject
/^(tom|dick|harry)@/a   All mail from Tom, Dick or Harry
!/^(tom|dick|harry)@/a  All mail, except that from Tom, Dick or Harry.

/^X-Mailer:/h   All mail with an X-Mailer header
ENDQUOTE




-- 
           QBBS (QL fido BBS 2:257/67) +44(0)1442-828255
mailto:[EMAIL PROTECTED]     http://www.firshman.demon.co.uk
        Voice: +44(0)1442-828254      Fax: +44(0)1442-828255
      TF Services, 29 Longfield Road, TRING, Herts, HP23 4DG

Reply via email to