projects
/
postfix-cn.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
odvajanje samo razmakom (radi i s zarezom, ali defaultna konfiguracija koristi razmak)
[postfix-cn.git]
/
debian
/
postinst
diff --git
a/debian/postinst
b/debian/postinst
index
fe02c15
..
89372df
100755
(executable)
--- a/
debian/postinst
+++ b/
debian/postinst
@@
-81,11
+81,11
@@
postconf -e myorigin="$mailname"
postconf -e append_dot_mydomain="yes"
postconf -e append_at_myorigin="yes"
postconf -e append_dot_mydomain="yes"
postconf -e append_at_myorigin="yes"
-# dodaj 127.0.0.0/8 i netaddr
+# dodaj 127.0.0.0/8, netaddr i ipv6-localhost
mynetworks="`postconf -h mynetworks`"
mynetworks="`postconf -h mynetworks`"
-for i in "127.0.0.0/8" "$netaddr"; do
+for i in "127.0.0.0/8" "$netaddr" "[::1]/128"; do
if ! echo $mynetworks | grep -q $i; then
if ! echo $mynetworks | grep -q $i; then
- mynetworks="$mynetworks, $i"
+ mynetworks="$mynetworks $i"
fi
done
postconf -e mynetworks="$mynetworks"
fi
done
postconf -e mynetworks="$mynetworks"