`Spam' folder creation for multiple users

Marek Kozlowski m.kozlowski at mini.pw.edu.pl
Sun Mar 17 20:37:53 EET 2019


:-)

I've just added pigeonhole and a simple sieve script:
-------------------------------------------------
require "fileinto";
if header :contains "X-Spam-Flag" "YES" {
   fileinto "Spam";
}
-------------------------------------------------

If a user has this folder (`Spam') it works fine. If they haven't it 
results in an error.

1. Can I modify the script to create this folder if the need arise?
2. If not - what's the most recommended way of adding this folder for 
all users (~1000)?

Thanks!
Best regards,
Marek

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3914 bytes
Desc: S/MIME Cryptographic Signature
URL: <https://dovecot.org/pipermail/dovecot/attachments/20190317/c6a51248/attachment.p7s>


More information about the dovecot mailing list