diff options
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; |