[Dovecot] Maildrop script to sieve
Hi,
I'm working on a system that have about 350K e-mail users and 100k users that uses maildrop scripts to make filters on their delivery. So, changing scripts by hand can't be a choice. I "googled" so much and I wasn't able to find any script that converts maildrop scripts to sieve. Does anyone knows where can I find it?
By the way, does anyone uses dovecot-1.1-beta on a production system with sieve+maildir+lda?
Thanks,
Raphael Costa
On Saturday 19 January 2008 11:19:59 Raphael Bittencourt S. Costa wrote:
Hi,
I'm working on a system that have about 350K e-mail users and 100k users that uses maildrop scripts to make filters on their delivery. So, changing scripts by hand can't be a choice. I "googled" so much and I wasn't able to find any script that converts maildrop scripts to sieve. Does anyone knows where can I find it? Can't help you with that, sorry.
By the way, does anyone uses dovecot-1.1-beta on a production system with sieve+maildir+lda?
Yes, and it is stable, when it is working. It just sometimes needs a few bug reports and fixes, but that is the way it is with beta software. I wouldn't recommend it for a big system like your's, but it sure can be used with maildir + sieve + deliver with no issues.
Daniel
Raphael Bittencourt S. Costa wrote:
Hi,
I'm working on a system that have about 350K e-mail users and 100k users that uses maildrop scripts to make filters on their delivery. So, changing scripts by hand can't be a choice. I "googled" so much and I wasn't able to find any script that converts maildrop scripts to sieve. Does anyone knows where can I find it?
maildrop scripts are way too flexible to write a general conversion program. Unless your scripts have a specific structure and logic, you should continue delivering with maildrop. you can build maildrop without authlib (I have this running on one system).
if the scripts have a common "logic", show few of them and we'll see if it is feasible to convert them.
By the way, does anyone uses dovecot-1.1-beta on a production system with sieve+maildir+lda?
On Sat, 2008-01-19 at 13:06 +0100, mouss wrote:
maildrop scripts are way too flexible to write a general conversion program. Unless your scripts have a specific structure and logic, you should continue delivering with maildrop. you can build maildrop without authlib (I have this running on one system).
if the scripts have a common "logic", show few of them and we'll see if it is feasible to convert them.
The scripts are written by squirrel's plugin. See an example:
###TO_ '' abuse@xxx.com '' INBOX.Abuse '' m '' on '' off '' '' Contains if (/^(To|Cc):.*abuse@xxx.com/:h) { to "$MAILDIR/.Abuse" }
[]s
Raphael Costa
Raphael Bittencourt S. Costa wrote:
On Sat, 2008-01-19 at 13:06 +0100, mouss wrote:
maildrop scripts are way too flexible to write a general conversion program. Unless your scripts have a specific structure and logic, you should continue delivering with maildrop. you can build maildrop without authlib (I have this running on one system).
if the scripts have a common "logic", show few of them and we'll see if it is feasible to convert them.
The scripts are written by squirrel's plugin. See an example:
###TO_ '' abuse@xxx.com '' INBOX.Abuse '' m '' on '' off '' '' Contains if (/^(To|Cc):.*abuse@xxx.com/:h) { to "$MAILDIR/.Abuse" }
did you try http://www.squirrelmail.org/plugin_view.php?id=73
If it doesn't do what you want, it is probably easier to start from there.
participants (3)
-
Daniel
-
mouss
-
Raphael Bittencourt S. Costa