Pegasus Mail & Mercury

Welcome to the Community for Pegasus Mail and
The Mercury Mail Transport System, the Internet's longest-serving PC e-mail system!
Welcome to Pegasus Mail & Mercury Sign in | Join | Help
in
Home Blogs Forums Downloads Pegasus Mail Overview Mercury Overview

General Filter Rule for a user not his address(es)

Last post 08-05-2008, 16:09 by clst. 3 replies.
Sort Posts: Previous Next
  •  07-29-2008, 18:25

    • clst is not online. Last active: 01-07-2009, 19:24 clst
    • Not Ranked
    • Joined on 07-29-2008
    • Member
    • Points 30

    General Filter Rule for a user not his address(es)

    HI,

    I'm using Mercury with SpamHalter in a test setup.
    SpamHalter works very well so far and is incredibly accurate.
    I would like to filter all E-Mails Spamhalter identifies as Spam (via the Header tags) and move them to a second mailbox the user has for his unwanted mail.

    This worked fine with mailing lists and global rules, because the mailing lists always have the mail addresses I set them up with no matter via which domain the mails came in.

    But for the general rules I can't seem to define an Alias that triggers on all the Mail the user gets only on individual adresses (where there are lots if you include the '+' and first.lastname combinations) so those rules are virtually useless to me.

    I already tried something like:

    username = FILTER:my.rul

    but this does not seem to trigger (only for internal mail, like mailing list and error reports)

    Can this be done?

    (Tags don't seem to work in Opera, so I couldn't use them)

     

    Regards,

    Claudius Steinhauser

    [edited by: clst at 18:27 (GMT 1) on 2008-07-29]
    Tags seem to work when editing the post :)


  •  08-01-2008, 19:07

    • clst is not online. Last active: 01-07-2009, 19:24 clst
    • Not Ranked
    • Joined on 07-29-2008
    • Member
    • Points 30

    Re: General Filter Rule for a user not his address(es)

    Hi again,

    I tried to do this with a dummy mailbox and a FORWARD file. but Mercury doesn't seem to process the general rules for forwared mail...

    Is there another way?

     

    Regards,

    Claudius Steinhauser

  •  08-01-2008, 20:15

    Re: General Filter Rule for a user not his address(es)

    If it's for a small number of users you might be able to create a set of global rules to divert suspected spam messages to individual spam mailboxes on the server (by using regexps or several rules to catch name variations). Could get a bit messy, though. A better way would probably be to write a global daemon to do it, as you would then know the real recipient mailbox without having to interpret various mail headers.

    I suppose you already rejected the option to have a filter in the user's mail client move the message to a local spam folder if the spam header exists?

    /Rolf 

  •  08-05-2008, 16:09

    • clst is not online. Last active: 01-07-2009, 19:24 clst
    • Not Ranked
    • Joined on 07-29-2008
    • Member
    • Points 30

    Re: General Filter Rule for a user not his address(es)

    Thank you for the ideas,

    The main reason for the server side filter would be the PDA and SmartPhone users that only want to check their spam-folders when they are in office.

    I think using reg-ex for building the mail adresses would be a little complicated (because of the firstname.lastname combinations)

    Claudius

View as RSS news feed in XML

Copyright © 2007 David Harris / Peter Strömblad. All Rights Reserved. | Terms of Use | Privacy Statement
Questions/Problems with community.pmail.com? | Visit our Hoster: PraktIT | Pegasus Mail Home Page