voytek at sbt.net.au
2014-Jan-22 07:01 UTC
[Dovecot] beginners sieve: copy not move to subfolder?
I'm trying to learn how do basic stuff with sieve; I pasted this from a tutorial, it works fine, mail is delivered to 'friends' BUT, what should I do to keep mail in main inbasket as well as, copy to subbasket ? tried 'copy' but failed so far main_script: line 6: error: unknown command 'copy' (only reported once at first occurence). even after I added 'copy' to 'require' still failed ? ------------------------------------ require ["fileinto", "reject"]; # Daffy Duck is a good friend of mine. if address :is "from" "daffy.duck at example.com" { fileinto "friends"; }
Steffen Kaiser
2014-Jan-22 07:36 UTC
[Dovecot] beginners sieve: copy not move to subfolder?
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wed, 22 Jan 2014, voytek at sbt.net.au wrote:> I'm trying to learn how do basic stuff with sieve; > > I pasted this from a tutorial, it works fine, mail is delivered to 'friends' > > BUT, what should I do to keep mail in main inbasket as well as, copy to > subbasket ? > > tried 'copy' but failed so far> main_script: line 6: error: unknown command 'copy' (only reported once at > first occurence).http://wiki2.dovecot.org/Pigeonhole/Sieve then follow the link of "copy".> even after I added 'copy' to 'require' still failed ? > > ------------------------------------ > require ["fileinto", "reject"]; > > # Daffy Duck is a good friend of mine. > if address :is "from" "daffy.duck at example.com" > { > fileinto "friends"; > } > > > >- -- Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQEVAwUBUt91DXD1/YhP6VMHAQI49AgAvrCouC9OBQhpOdFPEiqecdSYJjNi3T65 dvNMi4Wul83TRlLw39ZsqvNRwM0sgUHmSP188Ec51+RV70P5KrDXs/CiHUByXBap vDpWihFBK4r8ea/992CZejfJAQj+HfXqUOowYif3VgUFrXsDO5z1u1jTxBjf5rLA zNPMY8hWFgMrgNhn6WLdWwL0WAZMdGb9kLXoq/Jq1uMYhuL/M3qMlyi/uBYRr1s3 xtyzp30ACFrGRx5DCDtn7xSJNj+X3m9vhp4pslWGA3i9X40HwznElmBi0LaLVlca UqXl7r8k3gpMUPok5uKZn530+azRD4TTWyEiMbgnpwqb3TWPOJCZ8A==M8qK -----END PGP SIGNATURE-----