I use mailutil copy (might be different from the latest release, I use Ubuntu packages...) to create a temporary mailbox for spamassassin's sa-learn.

I get some warnings and I would like to suppress them. There are sent to stderr so I cannot suppress them without suppressing error messages, too.

warning: Unknown flag: $MDNSent
warning: Unknown flag: $MDNSent
warning: Unknown flag: $MDNSent

I get similar warnings for $Forward which seems a new flag alpine sets. Alpine and Outlook are used with IMAP folders. It would be nice if mailutil could get a --ignore-unknown-flags switch.

BTW: I do not really understand this warning. Maybe the warning wants to give me a hint that the target mailbox might loose these flags because they are somewhat special? I really copy "mbx to mbx" so there should not be a loss anyway. For me the loss of any flag is no problem because sa-learn should ignore them.

Another note: I tested mailutil copy in "mbx to unix" (mbox) mode to see whether the warnings disappear (they don't). spamassassin can learn from mbox (default) and mbx. I noticed that the "THIS INTERNAL MESSAGE CONTAINS FOLDER DATA" (or similar) message at the beginning of the mbox file was copied by mailutil, too. Maybe another switch could be used to drop this message as it should not be learned by sa. But this isn't a high prio request (should be irrelevant in practise).

Best regards
Stefan

_______________________________________________
Imap-uw mailing list
[email protected]
https://mailman1.u.washington.edu/mailman/listinfo/imap-uw

Reply via email to