On 22.5.2004, at 13:05, Rick Jones wrote:
If the flag is in Dovecot's .customflags file you can hack qmail to directly add the flag in the filename. Files in new/ directory shouldn't actually contain flags (Dovecot's COPY works wrong here..), but Dovecot supports them fine.
I don't quite follow the significance of .customflags here, as the flag in question (important) isn't a custom one.
What were you going to use then? Neither IMAP nor Maildir defines an "important" flag unless you use some existing one for it (flagged?). So I was thinking you'd add eg. "1 important" to .customflags and then use 'a' flag in maildir filename.
And are you saying that adding a flag to the file in new/ only works because Dovecot doesn't actually do the right thing? :) In which case, is this likely to be fixed/broken (depending on your viewpoint) in future?
I don't think I'm going to change the Dovecot's behaviour of accepting flags in new/ dir, but I was going to change COPY command to move files directly into cur/ to avoid problems with other maildir clients.
I think with Sieve LDA it would work also by storing the mail directly into cur/ directory.