[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Maildrop - howto deliver email that contains the word "systemd" directly to trash with .mailfilter?



Hello,

the subject says it all. I'm starting to have problems finding useful mails from this list.
They are hiding somewhere between all systemd arguments.

Since I'm not interested in what init system that will be the default and are trusting that my boxes will work just fine with the one chosen by the developers I'm trying to figure out howto filter incoming mails that contains the word "systemd" and deliver them to trash.

I have maildrop as mda using Maildir.

I use this in my .mailfilter to sort mails from this list to a specific folder:

if (/^X-Mailing-List: <debian-user@lists.debian.org>/)
        to "$HOME/Maildir/.Linux.Debian.User"

Can anyone give me hint on how to achieve this by adding another rule?

Thanks!

/Toby


Reply to: