From c091b66100518e22b0f6d95c06bc8e59bf7ef1f3 Mon Sep 17 00:00:00 2001 From: Jaroslav Škarvada Date: Aug 25 2010 11:54:58 +0000 Subject: - updated sendmail.nm-dispatcher script to handle VPN connections (#577540) --- diff --git a/sendmail.nm-dispatcher b/sendmail.nm-dispatcher index 5d30871..75dceb9 100644 --- a/sendmail.nm-dispatcher +++ b/sendmail.nm-dispatcher @@ -1,5 +1,7 @@ #!/bin/sh -if [ "$2" = "up" ] || [ "$2" = "down" ]; then - /sbin/service sendmail reload || : -fi +case "$2" in + up|down|vpn-up|vpn-down) + /sbin/service sendmail reload || : + ;; +esac diff --git a/sendmail.spec b/sendmail.spec index d6833b2..56b7389 100644 --- a/sendmail.spec +++ b/sendmail.spec @@ -14,7 +14,7 @@ Summary: A widely used Mail Transport Agent (MTA) Name: sendmail Version: 8.14.4 -Release: 11%{?dist} +Release: 12%{?dist} License: Sendmail Group: System Environment/Daemons URL: http://www.sendmail.org/ @@ -641,6 +641,9 @@ exit 0 %changelog +* Wed Aug 25 2010 Jaroslav Škarvada - 8.14.4-12 +- updated sendmail.nm-dispatcher script to handle VPN connections (#577540) + * Tue Aug 17 2010 Jaroslav Škarvada - 8.14.4-11 - README.libmilter moved to milter subpackage - updated description of doc subpackage