diff options
Diffstat (limited to 'postfix')
-rwxr-xr-x | postfix/postfix.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/postfix/postfix.sh b/postfix/postfix.sh index 225bc09..cb4b86c 100755 --- a/postfix/postfix.sh +++ b/postfix/postfix.sh @@ -264,8 +264,13 @@ $postconf -c "$tempdir" -e "unverified_recipient_reject_code = 550" if [ -n "$dovecot_lmtp" ]; then $postconf -c "$tempdir" -e mailbox_transport=lmtp:unix:private/dovecot-lmtp + $postconf -c "$tempdir" -e mailbox_command= elif [ -n "$dovecot_deliver" ]; then + $postconf -c "$tempdir" -e mailbox_transport= $postconf -c "$tempdir" -e mailbox_command=/usr/lib/dovecot/deliver +else + $postconf -c "$tempdir" -e mailbox_transport= + $postconf -c "$tempdir" -e mailbox_command= fi if [ -n "$sasl" ]; then $postconf -c "$tempdir" -e smtpd_sasl_type=dovecot |