Hi, * Jörg Sommer wrote:
Corsair <chris.corsair@xxxxxxxxx> wrote:
So there's no way to do it (without a external mail filter) when mails from mailing lists and other mails are mixed in a folder?
From /usr/share/doc/mutt/manual.txt.gz:
12. Using Multiple spool mailboxes
Usage: mbox-hook [!]pattern mailbox
This command is used to move read messages from a specified mailbox to a different mailbox automatically when you quit or change folders. pattern is a regular expression specifying the mailbox to treat as a ``spool'' mailbox and mailbox specifies where mail should be saved when read.
"Pattern" in the usage-line is misleading, because it's a regex for the foldername and not a message pattern (like ~l). Furthermore, mbox-hook doesn't apply if all your mail is one folder.
Rocco