izmjene u postinstu
authorIvan Rako <irako@bagan.srce.hr>
Thu, 18 Dec 2008 15:59:28 +0000 (16:59 +0100)
committerIvan Rako <irako@bagan.srce.hr>
Thu, 18 Dec 2008 15:59:28 +0000 (16:59 +0100)
debian/postinst

index 46e7587..0e063bf 100755 (executable)
@@ -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.$$
 
+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