[Dovecot] Filtering Mails - how?
Hello,
I've got some problems about understanding, how to filter my incoming mails. I am using dovecot 1.0.beta3 (ubuntu server) and want to implement a filter, where I can filter all my incoming messages (like the ones from the dovecot ml) to special folders within the mailbox of each user (for each user a special set of filters). Is there a chance to do this in dovecot or have I to use another program? My system works like: Fetchmail fetches mails from two mailservers and deliver them to the users inbox Procmail send them to spamassassin for checking about spam Dovecot provides access to the mailbox with IMAP
Hope there is an easy way like module for webmin or something else.
Thank you
Daniel
Daniel Seichter wrote:
Hello,
I've got some problems about understanding, how to filter my incoming mails. I am using dovecot 1.0.beta3 (ubuntu server) and want to implement a filter, where I can filter all my incoming messages (like the ones from the dovecot ml) to special folders within the mailbox of each user (for each user a special set of filters). Is there a chance to do this in dovecot or have I to use another program? My system works like: Fetchmail fetches mails from two mailservers and deliver them to the users inbox Procmail send them to spamassassin for checking about spam Dovecot provides access to the mailbox with IMAP
Hope there is an easy way like module for webmin or something else.
Thank you
Daniel
i use procmail. Horde has a nice interface to manage the recipies via IMP but i am sure there are others
##### Dovecot ##### :0
- ^Subject:.*\[Dovecot\] "$DEFAULT/.Lists.Dovecot/"
:0 E
- ^To:.*Dovecot-news@dovecot\.org "$DEFAULT/.Lists.Dovecot/"
HordeImp
:0
- ^Subject:.*\[imp\] "$DEFAULT/.Lists.Horde.Imp/"
BSDPorts
:0
- ^Sender:.*owner-freebsd-ports@freebsd\.org "$DEFAULT/.Lists.FreeBSD.Ports/"
BSDAdvocacy
:0
- ^Sender:.*owner-freebsd-advocacy@freebsd\.org "$DEFAULT/.Lists.FreeBSD.Advocacy/"
BSDStable
:0
- ^Sender:.*owner-freebsd-stable@freebsd\.org "$DEFAULT/.Lists.FreeBSD.Stable/"
BSDAnnounce
:0
- ^Sender:.*owner-freebsd-announce@freebsd\.org "$DEFAULT/.Lists.FreeBSD/"
BSDQuestions
:0
- ^Sender:.*owner-freebsd-questions@freebsd\.org "$DEFAULT/.Lists.FreeBSD.Questions/"
where I can filter all my incoming messages (like the ones from the dovecot ml) to special folders within the mailbox of each user (for each user a special set of filters). Is there a chance to do this in dovecot or have I to use another program? My system works like: Fetchmail fetches mails from two mailservers and deliver them to the users inbox Procmail send them to spamassassin for checking about spam
This can easily be done with the procmail LDA; but you will have to provide some sort of interface for your users - the procmail language is not exactly thing end-users want to fiddle around with. For exampels see the promailex man page on your favorite un*x system.
JC
Hello,
This can easily be done with the procmail LDA; but you will have to provide some sort of interface for your users - the procmail language is not exactly thing end-users want to fiddle around with. For exampels see the promailex man page on your favorite un*x system. Thank you for your answer. I will take a look at horde and procmail. I think within the next days, I will get enough the time to set it up.
Daniel
On Thu, 12 Oct 2006 19:11:15 +0200 "Daniel Seichter" daniel@dseichter.de wrote:
This can easily be done with the procmail LDA; but you will have to provide some sort of interface for your users - the procmail language is not exactly thing end-users want to fiddle around with. For exampels see the promailex man page on your favorite un*x system. Thank you for your answer. I will take a look at horde and procmail. I think within the next days, I will get enough the time to set it up.
while i was struggling with setting up filtering (for dovecot/postfix/mysql setup) i read somewhere that procmail is not recommended in a virtual domain-setup, i also didn't manage to make it work (it worked fine with .forward files in an earlier setup with just dovecot/postfix with mysql) and eventually i went with maildrop for filtering
concerning webmail, my users are happy with squirrelmail and hastymail as alternative http://hastymail.sourceforge.net/
-- grtjs, albi
Hello Albi,
while i was struggling with setting up filtering (for dovecot/postfix/mysql setup) i read somewhere that procmail is not recommended in a virtual domain-setup, i also didn't manage to make it work (it worked fine with .forward files in an earlier setup with just dovecot/postfix with mysql) and eventually i went with maildrop for filtering I read about maildrop (in another context about lockmail). Maybe this is the tool I am searching for (the best thing is to have a webbased wizzard for setting up filters but nothing found).
concerning webmail, my users are happy with squirrelmail and hastymail as alternative http://hastymail.sourceforge.net/ Well, squirrelmail I am using for webaccess. It works just fine :o)
Daniel
participants (4)
-
albi
-
Daniel Seichter
-
Eric
-
Jakob Curdes