home · contact · privacy
Extend maildrop mailfilter rules.
authorChristian Heller <c.heller@plomlompom.de>
Sun, 25 Oct 2015 18:11:41 +0000 (19:11 +0100)
committerChristian Heller <c.heller@plomlompom.de>
Sun, 25 Oct 2015 18:11:41 +0000 (19:11 +0100)
dotfiles_user_server/mailfilter

index ff041e0e42fd8a6fbbb46558d012c3686373412d..713f31d4cee421b4059cae962b3c4a4fef72df63 100644 (file)
@@ -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
+}