From 762054bca32482e64b896873fd5544a1247dd2cc Mon Sep 17 00:00:00 2001
From: Christian Heller <c.heller@plomlompom.de>
Date: Sun, 25 Oct 2015 20:36:56 +0100
Subject: [PATCH] Fix broken maildrop mailfilter config.

---
 dotfiles_user_server/mailfilter | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/dotfiles_user_server/mailfilter b/dotfiles_user_server/mailfilter
index 713f31d..ce117f7 100644
--- a/dotfiles_user_server/mailfilter
+++ b/dotfiles_user_server/mailfilter
@@ -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
 }
-- 
2.30.2