From b0fb61bf9d052ace382946ae47547e293455fdef Mon Sep 17 00:00:00 2001
From: Christian Heller <c.heller@plomlompom.de>
Date: Sun, 25 Oct 2015 19:11:41 +0100
Subject: [PATCH] Extend maildrop mailfilter rules.

---
 dotfiles_user_server/mailfilter | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/dotfiles_user_server/mailfilter b/dotfiles_user_server/mailfilter
index ff041e0..713f31d 100644
--- a/dotfiles_user_server/mailfilter
+++ b/dotfiles_user_server/mailfilter
@@ -1,2 +1,9 @@
 DEFAULT="$HOME/mail/new_inbox/"
 logfile "$HOME/.mailfilter.log"
+
+if ( /^Subject: Postfix SMTP server: errors from /:D && \
+    /^From: Mail Delivery System <MAILER-DAEMON@plomlompom\.com>/:D && \
+    /^To: Postmaster <postmaster@plomlompom\.com>/:D )
+{
+    to $HOME/mail/new_postfix_smtp_server_errors_from
+}
-- 
2.30.2