[Dovecot] Maildrop script to sieve

mouss mouss at netoyen.net
Mon Jan 21 22:01:49 EET 2008


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 at xxx.com '' INBOX.Abuse '' m '' on '' off ''  '' Contains
> if (/^(To|Cc):.*abuse at 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.




More information about the dovecot mailing list