diff options
author | Richard A Nelson (Rick) <cowboy@debian.org> | 2005-09-23 19:41:00 +0000 |
---|---|---|
committer | Andreas Beckmann <debian@abeckmann.de> | 2012-10-01 19:58:54 +0200 |
commit | d6e8f9e8d83f8490b9917036b988eb0046f0d118 (patch) | |
tree | f0d7ae6b741236ed7b84691e8461a2fad05f060b /debian | |
parent | 72da392bc6f950320f71f82f856161e950ed85e0 (diff) | |
download | sendmail-d6e8f9e8d83f8490b9917036b988eb0046f0d118.tar.gz |
Imported Debian patch 8.13.5-2debian/8.13.5-2
Diffstat (limited to 'debian')
-rw-r--r-- | debian/changelog | 7 | ||||
-rw-r--r-- | debian/local/update_sendmail | 18 |
2 files changed, 25 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog index 68789a3..5559176 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +sendmail (8.13.5-2) unstable; urgency=high + * Remove old bogon information in /etc/mail/access created for some + installs that prevents receiving mail from otherwise valid IPs + (like google) Thanks to Damian Menscher for the heads-up + + -- Richard A Nelson (Rick) <cowboy@debian.org> Fri, 23 Sep 2005 19:41:00 -0000 + sendmail (8.13.5-1) unstable; urgency=low * New upstream release * Rework/Apply FTBFS on GNU/kFreeBSD patch closes: 327703 diff --git a/debian/local/update_sendmail b/debian/local/update_sendmail index c0d80bb..66b7b3a 100644 --- a/debian/local/update_sendmail +++ b/debian/local/update_sendmail @@ -95,6 +95,24 @@ if [ -x $sm_path/update_tcpd ]; then fi; #------------------------------------------------------------- +# Correct prior stupidity of the maintainter +# Remove old bogon entries from /etc/mail/access +if [ -s /etc/mail/access ]; then + cp -p /etc/mail/access /etc/mail/access.new; + sed \ + -e '/^#\?Connect:8 REJECT/d' \ + -e '/^#\?Connect:41 REJECT/d' \ + -e '/^#\?Connect:71 REJECT/d' \ + -e '/^#\?Connect:72 REJECT/d' \ + -e '/^#\?Connect:73 REJECT/d' \ + -e '/^#\?Connect:74 REJECT/d' \ + -e '/^#\?Connect:75 REJECT/d' \ + -e '/^#\?Connect:76 REJECT/d' \ + /etc/mail/access > /etc/mail/access.new; + mv /etc/mail/access.new /etc/mail/access; + fi; + +#------------------------------------------------------------- # Make sure the databases are in the expected locations if [ -x $sm_path/update_db ]; then $sm_path/update_db || changed=1; |