[Dovecot] Sieve fileinto and year/month folders.
Xavier Beaudouin
kiwi at oav.net
Wed Mar 28 18:50:54 EEST 2012
Hi there,
I am trying to move from lmtpd (lmtpd.sf.net) to dovecot sieve.
One thing used by some of powerusers are archiving mail automatically
with autocreated folders based on year + month.
Is there any good way to make that with sieve...
One example
require "fileinto";
if address :is ["From", "To"] "dovecot at dovecot.org" {
fileinto "INBOX.mls.%Y.%m.dovecot";
}
This will fill any mails into INBOX.mls.2012.03.dovecot uppon receiving...
I don't know if some sieve guru can tell me how to do that... ?
Kind regards,
Xavier
More information about the dovecot
mailing list