Milan Obuch
2007-07-04 22:35:43 UTC
Hi,
I wanted for some time to mark message as important automatically when
delivering. After some time I tried to patch maildrop to do it for me. After
some work I created attached patch. It is simple, works as intended, but it
could be considered an ugly hack. If better method should be used, I would
like to know.
Usage is simple - in maildrop recipe set MFLAGS=F and be done with it.
Actually, per man maildir, flags may be composed from DFRS (for Draft,
Flagged, Replied-to, Seen), setting MFLAGS=FS will set both flags.
There is one small problem - sqwebmail does not display D nor F flag in any
way.
Regards,
Milan
I wanted for some time to mark message as important automatically when
delivering. After some time I tried to patch maildrop to do it for me. After
some work I created attached patch. It is simple, works as intended, but it
could be considered an ugly hack. If better method should be used, I would
like to know.
Usage is simple - in maildrop recipe set MFLAGS=F and be done with it.
Actually, per man maildir, flags may be composed from DFRS (for Draft,
Flagged, Replied-to, Seen), setting MFLAGS=FS will set both flags.
There is one small problem - sqwebmail does not display D nor F flag in any
way.
Regards,
Milan
--
This address is used only for mailing list response.
Do not send any personal messages to it, use milan in
address instead.
This address is used only for mailing list response.
Do not send any personal messages to it, use milan in
address instead.