projects
/
postfix-cn.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of merak.carnet.hr:/srv/paketi/carnet-debian/scm/postfix-cn
[postfix-cn.git]
/
debian
/
postinst
diff --git
a/debian/postinst
b/debian/postinst
index
cde2e48
..
c61af86
100755
(executable)
--- a/
debian/postinst
+++ b/
debian/postinst
@@
-5,7
+5,7
@@
set -e
[ "$1" = "configure" ] || exit 0
[ "$DEBIAN_SCRIPT_DEBUG" ] && set -vx
[ "$1" = "configure" ] || exit 0
[ "$DEBIAN_SCRIPT_DEBUG" ] && set -vx
-# Load CARNet Tools
+# Load CARNET Tools
. /usr/share/carnet-tools/functions.sh
# Load Debconf
. /usr/share/carnet-tools/functions.sh
# Load Debconf
@@
-94,6
+94,14
@@
if [ -f /etc/postfix/master.cf ]; then
"s/# $option/$option/g" \
/etc/postfix/master.cf || true
done
"s/# $option/$option/g" \
/etc/postfix/master.cf || true
done
+
+ for option in "o smtpd_client_restrictions=" \
+ "o smtpd_helo_restrictions=" \
+ "o smtpd_sender_restrictions="; do
+ cp_check_and_sed "$option" \
+ "s/.*$option/# -$option/g" \
+ /etc/postfix/master.cf || true
+ done
fi
# ovo manje/vise uzima kao default, ali u slucaju da je multihomed stroj,
fi
# ovo manje/vise uzima kao default, ali u slucaju da je multihomed stroj,