Andrea, Actually there is a method like you mentioned already done by someone. He was using a table to hold the filtering rules.
http://mailman.fastxs.net/pipermail/dbmail-dev/2003-April/002382.html Check this thread, it might be what you are looking for. My main goal was to have my Amavis add the +spam folder to messages and then execute delivery to the correct folder. -- David A. Niblett | email: [EMAIL PROTECTED] Network Administrator | Phone: (352) 334-3400 Gainesville Regional Utilities | Web: http://www.gru.net/ -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andrea Brancatelli Sent: Thursday, December 29, 2005 8:09 AM To: DBMail mailinglist Subject: Re: [Dbmail] Mail filtering to IMAP folders Alle 13:45, giovedì 29 dicembre 2005, Niblett, David A ha scritto: I read somewhere of someone having a PHP script running every couple of minutes scanning the message base. Looks like a reasonable solution without having to mess with procmail. I already have a antivirus/antispamming solution working so I'd rather not mess up with it... Furthermore I think I'll build something like a table where to fetch the rules and the destination from so that in "just-one-run" (tm) I can fix mail for any user to almost any folder. I'll experiment, and if I come up with something working I'll post something... > Andrea, > > You are correct, the sieve implementation is not fully functional > currently. > > There are two possible ways to deal with what you have. > If you want to use something like procmail I believe you should be > able to make the final procmail delivery be to the dbmail-smtp command > and have it deliver to a specific mailbox. > > The other option is if you are using something like Amavis > to filter Spam it can add the folder portion to the email address like > [EMAIL PROTECTED] In this case I wrote a patch that will allow > IMAP to deal with the folder portion and deliver it. > > You can find my patch at http://dbmail.org/mantis/view.php?id=57 > I have not tested with the latest stable version of dbmail, but most > likely it should work. > > -- > David A. Niblett email: [EMAIL PROTECTED] > Network Administrator Phone: (352) 334-3400 > Gainesville Regional Utilities Web: http://www.gru.net/ > > > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On > Behalf Of Andrea Brancatelli > Sent: Thursday, December 29, 2005 6:58 AM > To: DBMail mailinglist > Subject: [Dbmail] Mail filtering to IMAP folders > > > Hello! > > I'd like to filter my incoming mails into appropriate IMAP folders at > server level. I read in the archive that there isn't any bulk solution > within DBMail > so I was wondering if there's any "unofficial but widely embraced" > solution > to do this, or if you should start doing it by myself... > > :-) > > Thanks. -- Andrea Brancatelli http://andrea.brancatelli.it/ _______________________________________________ Dbmail mailing list [email protected] https://mailman.fastxs.nl/mailman/listinfo/dbmail
