mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2024-12-24 07:37:04 +00:00
Merge branch 'extended' of supplee.net:mailinabox-quota into extended
This commit is contained in:
commit
761bb054ce
@ -212,6 +212,7 @@ if [ $POLICY_SPF == 1 ]; then
|
|||||||
RECIPIENT_RESTRICTIONS="${RECIPIENT_RESTRICTIONS},check_policy_service unix:private/policy-spf"
|
RECIPIENT_RESTRICTIONS="${RECIPIENT_RESTRICTIONS},check_policy_service unix:private/policy-spf"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Add quota check
|
||||||
RECIPIENT_RESTRICTIONS="${RECIPIENT_RESTRICTIONS},check_policy_service inet:127.0.0.1:12340"
|
RECIPIENT_RESTRICTIONS="${RECIPIENT_RESTRICTIONS},check_policy_service inet:127.0.0.1:12340"
|
||||||
|
|
||||||
postconf -e smtpd_recipient_restrictions="$RECIPIENT_RESTRICTIONS"
|
postconf -e smtpd_recipient_restrictions="$RECIPIENT_RESTRICTIONS"
|
||||||
@ -270,5 +271,3 @@ else
|
|||||||
hide_output systemctl disable postgrey
|
hide_output systemctl disable postgrey
|
||||||
hide_output systemctl stop postgrey
|
hide_output systemctl stop postgrey
|
||||||
fi
|
fi
|
||||||
|
|
||||||
restart_service postgrey
|
|
||||||
|
Loading…
Reference in New Issue
Block a user