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 Wiki

IMAP Filtering

Last post 11-28-2007, 9:48 by andy_p. 19 replies.
Page 1 of 2 (20 items)   1 2 Next >
Sort Posts: Previous Next
  •  06-03-2007, 18:11

    • tomt is not online. Last active: 11-29-2012, 9:54 tomt
    • Top 25 Contributor
    • Joined on 05-08-2007
    • UK
    • Contributor
    • Points 3,650

    IMAP Filtering

    Any way to get IMAP filtering added to Mercury ?

    I'm currently doing this using Squirrelmail,  but it's quite slow ..

    Thanks 


    www.medionsupport.com
  •  06-04-2007, 9:04

    • David Harris is not online. Last active: 11-16-2018, 3:14 David Harris
    • Top 25 Contributor
    • Joined on 01-31-2007
    • New Zealand
    • Star
    • Points 9,950
    • SystemAdministrator

    Re: IMAP Filtering

    The problem isn't the filtering, which would be fairly trivial, but the user interface to allow users to manage it. The only real way that could be done is via HTML, and I simply don't have the skills to design anything other than very basic HTML at this point.

    Rest assured, though, that if I can ever get the necessary skills (or find someone I can work with who has them), then this one would be a significant priority.

    Cheers!

    -- David --

  •  06-04-2007, 15:27

    • tomt is not online. Last active: 11-29-2012, 9:54 tomt
    • Top 25 Contributor
    • Joined on 05-08-2007
    • UK
    • Contributor
    • Points 3,650

    Re: IMAP Filtering

    Could it not be done a little like Global Filters - if the rule is to affect all accounts.

    Or specify username, then filter similar to  global filters ??


     


    www.medionsupport.com
  •  06-04-2007, 16:26

    • PaulW is not online. Last active: 11 Jul 2019, 13:48 PaulW
    • Top 10 Contributor
    • Joined on 05-08-2007
    • UK
    • SuperStar
    • Points 18,285

    Re: IMAP Filtering

    What sort of filtering are you trying to do?  Perhaps there are people here who could suggest other ways of achieving the same options.

    If you are using the squirrelmail filters, is it just clientside filtering you need?


  •  06-04-2007, 17:13

    • tomt is not online. Last active: 11-29-2012, 9:54 tomt
    • Top 25 Contributor
    • Joined on 05-08-2007
    • UK
    • Contributor
    • Points 3,650

    Re: IMAP Filtering

    squirrellmail imap filtering is very slow..

    Server side would be better.


    www.medionsupport.com
  •  06-11-2007, 21:59

    • ghpayne is not online. Last active: 08-24-2015, 18:14 ghpayne
    • Top 500 Contributor
    • Joined on 05-08-2007
    • Member
    • Points 265

    Re: IMAP Filtering

    I don' t know if my goal is the same as the previous poster's, but it may be.  My biggest headache is dealing with spam.  I need to filter flagged spam into a per-user imap spam folder--no html user interface necessary, since the imap filter would be in place for all users, set up by the admin, and do the same thing for all of them (except it would filter to individual user's folders).

     Is there an existing way to do such a thing server-side?  I thought there was not, but I may have missed something.
     

  •  06-12-2007, 6:25

    Re: IMAP Filtering

    ghpayne:

    I don' t know if my goal is the same as the previous poster's, but it may be.  My biggest headache is dealing with spam.  I need to filter flagged spam into a per-user imap spam folder--no html user interface necessary, since the imap filter would be in place for all users, set up by the admin, and do the same thing for all of them (except it would filter to individual user's folders).

     Is there an existing way to do such a thing server-side?  I thought there was not, but I may have missed something.
     

     

    Nope, can't filter to user folder but you can filter the mail to a secondary account for the user using Mercury/32.  Create a second account called user_spam for each user and then have the user connect to that account using IMAP4.  Works pretty well using those clients where you can have multiple IMAP4 accounts  (Pegasus Mail, OE, Thunderbird, etc.).  This may not help all that much when using SquirrelMail but then they'll not have all that much spam in their primary account anyway if you are using Spamhalter or POPFileD for your spam.

     


    Thomas R. Stephenson
    San Jose, California
    Member of Pegasus Mail Support Team

    I do not answer private messages from the forum. If you want to contact me use email to techsupp@tstephenson.com.
  •  06-14-2007, 22:46

    • tomt is not online. Last active: 11-29-2012, 9:54 tomt
    • Top 25 Contributor
    • Joined on 05-08-2007
    • UK
    • Contributor
    • Points 3,650

    Re: IMAP Filtering

    I'm still looking at ways of filtering imap email on my server.

    Currently the moving of messages into IMAP folders is done using SquirrellMail.
    This works OK, but is not that fast and relies on users having logged in via webmail.

    I've found a few Perl scripts that will move emails to IMAP folders based on various criteria.
    What I need to try and do is get Mercury to run the Perl script and move the email, after Mercury32 has finished processing it.

    Any ideas ? ? These are the IMAP filters I have found:

    http://www.joeshmoe.com/imapautoarchive/index.html
    http://imapfilter.hellug.gr/

    If any one can get this to work, please share the info :)


     


    www.medionsupport.com
  •  06-15-2007, 11:11

    • PaulW is not online. Last active: 11 Jul 2019, 13:48 PaulW
    • Top 10 Contributor
    • Joined on 05-08-2007
    • UK
    • SuperStar
    • Points 18,285

    Re: IMAP Filtering

    Those scripts connect via IMAP to the server to do the filtering.  No reason why you shouldn't run those yourself if they do what you want - they may even be faster that SquirrelMail. :)

    If you want them to run automatically, you will have to set them up using the AT scheduler or something similar.  Mercury doesn't have to know that you are running a script - it will appear to be another user connection and be treated the same way.

    Let us know how you get on, setting perl up on a Windows pc is straightforward, and there may be quite a few here who might be interested in doing this.

     

  •  06-15-2007, 18:51

    • tomt is not online. Last active: 11-29-2012, 9:54 tomt
    • Top 25 Contributor
    • Joined on 05-08-2007
    • UK
    • Contributor
    • Points 3,650

    Re: IMAP Filtering

    I agree I could do it away from Mercury.

    But it would be nice to do it using Mercury, either as part of it or having Mercury trigger an external filter.


    www.medionsupport.com
  •  06-16-2007, 11:33

    • tomt is not online. Last active: 11-29-2012, 9:54 tomt
    • Top 25 Contributor
    • Joined on 05-08-2007
    • UK
    • Contributor
    • Points 3,650

    Re: IMAP Filtering

    Is it possible to get Mercury to run a filter AFTER it has delivered the message ?

    I've found this:
    http://www.athensfbc.com/imap_tools/

    This works, in that it will move messages between folders. But I would like to do this once the message has been delivered.

    Thanks
     


    www.medionsupport.com
  •  07-16-2007, 23:13

    • tomt is not online. Last active: 11-29-2012, 9:54 tomt
    • Top 25 Contributor
    • Joined on 05-08-2007
    • UK
    • Contributor
    • Points 3,650

    Re: IMAP Filtering

    Anyone thought of a better way of IMAP Filtering ?

    Any chance this will be part of Mercury ?
    I'm willing to test this if anyone has anything... :)

    Thanks

     


    www.medionsupport.com
  •  08-03-2007, 0:29

    • tomt is not online. Last active: 11-29-2012, 9:54 tomt
    • Top 25 Contributor
    • Joined on 05-08-2007
    • UK
    • Contributor
    • Points 3,650

    Re: IMAP Filtering

    Is it worth setting a challenge !! ?

    I would happily donate some thing towards getting IMAP filtering either as part of Mercury or as a Daemon (if this can do it)..

    :) :)


    www.medionsupport.com
  •  08-03-2007, 1:27

    Re: IMAP Filtering

    tomt:

    Is it worth setting a challenge !! ?

    I would happily donate some thing towards getting IMAP filtering either as part of Mercury or as a Daemon (if this can do it)..

    :) :)

     As it's been stated this is generally a too tough problem right now.  If someone were to do this with scripts even it would be way too specific to their own setup to be useful for general user without some sort of means to modify the scripts in real time.  Having Mercury/32 filter and move to different accounts though is trivial.  Allowing users to have multiple accounts makes it pretty easy for Mercury/32 to move the spam to a separate account.  Most mailers have the capability of connecting to multiple accounts concurrently and so the users would not have all that much of a problem.


     


    Thomas R. Stephenson
    San Jose, California
    Member of Pegasus Mail Support Team

    I do not answer private messages from the forum. If you want to contact me use email to techsupp@tstephenson.com.
  •  08-03-2007, 8:55

    • tomt is not online. Last active: 11-29-2012, 9:54 tomt
    • Top 25 Contributor
    • Joined on 05-08-2007
    • UK
    • Contributor
    • Points 3,650

    Re: IMAP Filtering

    I agree it's easy to move mail to other accounts, but it would be nice to be able to move mail to a users IMAP account folder.

     


    www.medionsupport.com
Page 1 of 2 (20 items)   1 2 Next >
View as RSS news feed in XML

Contact | Advertise | Host provider: PraktIT | Terms of Use | Privacy Statement
Copyright © 2007-2011 David Harris / Peter Strömblad. | Pegasus Mail Home Page