[Logwatch] vpopmail patch

Chris csmith@squiz.net
Wed, 21 Aug 2002 09:03:11 +1000


Hi again,

Here's a quick vpopmail patch to fix "no user found" messages..

*** /etc/log.d/scripts/services/vpopmail       Wed Aug 21 09:01:03 2002
--- vpopmail    Wed Aug 21 09:00:47 2002
***************
*** 31,38 ****
         }

         elsif (
!               ($NoUser) = ($ThisLine =~ /(no user found|user not found) 
(.*?)\:/i )
!       ) {
                 $NoUserFound{$NoUser}++;
         }

--- 32,39 ----
         }

         elsif (
!         ($null,$NoUser) = ($ThisLine =~ /(no user found|user not found) 
(.*?)\:/i )
!     ) {
                 $NoUserFound{$NoUser}++;
         }

Chris.