#!/bin/sh
set -eu

mkdir -p /home/catchall/Maildir/tmp /home/catchall/Maildir/new /home/catchall/Maildir/cur
chown -Rc catchall.catchall /home/catchall/Maildir

trap "exit 0" INT TERM

postfix start-fg