From d6e8f9e8d83f8490b9917036b988eb0046f0d118 Mon Sep 17 00:00:00 2001 From: "Richard A Nelson (Rick)" Date: Fri, 23 Sep 2005 19:41:00 +0000 Subject: Imported Debian patch 8.13.5-2 --- debian/changelog | 7 +++++++ debian/local/update_sendmail | 18 ++++++++++++++++++ 2 files changed, 25 insertions(+) (limited to 'debian') 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) 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 @@ -94,6 +94,24 @@ if [ -x $sm_path/update_tcpd ]; then $sm_path/update_tcpd || true; 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 -- cgit v1.2.3