Re: Maildrop - howto deliver email that contains the word "systemd" directly to trash with .mailfilter?
On Tue, Nov 18, 2014 at 03:40:38PM +0100, Toby wrote:
> 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
> 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: <firstname.lastname@example.org>/)
> to "$HOME/Maildir/.Linux.Debian.User"
> Can anyone give me hint on how to achieve this by adding another rule?
To match against the subject line:
To match against the entire body: