projects
/
postfix-cn.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
izmjene u postinstu
[postfix-cn.git]
/
debian
/
postinst
diff --git
a/debian/postinst
b/debian/postinst
index
89bb37e
..
0e063bf
100755
(executable)
--- a/
debian/postinst
+++ b/
debian/postinst
@@
-171,8
+171,8
@@
if [ "$rbl" ]; then
done
fi
done
fi
-# dodaj check_policy_service i permit na kraj
-smtpd_recipient_restrictions="$smtpd_recipient_restrictions, check_policy_service inet:127.0.0.1:60000, permit"
+# dodaj permit na kraj
+smtpd_recipient_restrictions="$smtpd_recipient_restrictions, permit"
postconf -e smtpd_recipient_restrictions="$smtpd_recipient_restrictions"
# SASL stuff
postconf -e smtpd_recipient_restrictions="$smtpd_recipient_restrictions"
# SASL stuff
@@
-351,6
+351,12
@@
if ! cmp -s /etc/postfix/main.cf /etc/postfix/main.cf.dpkg-tmp.$$; then
fi
rm -f /etc/postfix/main.cf.dpkg-tmp.$$
fi
rm -f /etc/postfix/main.cf.dpkg-tmp.$$
+if ! grep -q "retry unix - - - - - error" /etc/postfix/master.cf; then
+ echo "CN: Please, add this line in /etc/postfix/master.cf and restart Postfix."
+ echo "retry unix - - - - - error"
+ echo
+fi
+
# kreiraj aliases_gecos
if [ -x /usr/share/postfix-cn/make-aliases-gecos.sh ]; then
if [ "$matchgecos" = "true" ]; then
# kreiraj aliases_gecos
if [ -x /usr/share/postfix-cn/make-aliases-gecos.sh ]; then
if [ "$matchgecos" = "true" ]; then