X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=blobdiff_plain;f=debian%2Fpostinst;h=0e063bf8581095ccf3b5d6eca03f9287a8d3b08c;hb=d9d942cc4c91e6ef61057b15cdd59428f2c5dca5;hp=89bb37e6913cef5d681cb61ee4d69e8f923659dc;hpb=55440d5d9d831151bca1534aa61369eee14e0f24;p=postfix-cn.git diff --git a/debian/postinst b/debian/postinst index 89bb37e..0e063bf 100755 --- a/debian/postinst +++ b/debian/postinst @@ -171,8 +171,8 @@ if [ "$rbl" ]; then 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 @@ -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