home · contact · privacy
Fix broken maildrop mailfilter config.
authorChristian Heller <c.heller@plomlompom.de>
Sun, 25 Oct 2015 19:36:56 +0000 (20:36 +0100)
committerChristian Heller <c.heller@plomlompom.de>
Sun, 25 Oct 2015 19:36:56 +0000 (20:36 +0100)
dotfiles_user_server/mailfilter

index 713f31d4cee421b4059cae962b3c4a4fef72df63..ce117f76cf32ff7228ba88e88f4fa3ecf8dd3850 100644 (file)
@@ -5,5 +5,7 @@ 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
+    DIR="$HOME/mail/new_postfix_smtp_server_errors_from/"
+    `mkdir -p $DIR/{cur,new,tmp}`
+    to $DIR
 }