Ignore all pam smtp:auth messages in saslauthd

Orion Poplawski <[email protected]>
Newsgroups gmane.comp.log.logwatch.devel
Message-ID <[email protected]>
Ignore all pam *:auth messages in saslauthd.

Index: scripts/services/saslauthd
===================================================================
--- scripts/services/saslauthd  (revision 117)
+++ scripts/services/saslauthd  (working copy)
@@ -62,8 +62,7 @@
        ( $ThisLine =~ m/^DEBUG: / ) or
        ( $ThisLine =~ m/^ipc_init        : listening on socket:/ ) or
        ( $ThisLine =~ m/^pam_sm_authenticate:/ ) or
-      ( $ThisLine =~ m/^pam_pam_succeed_if(smtp:auth): / ) or
-      ( $ThisLine =~ m/^pam_unix/ )
+      ( $ThisLine =~ m/^pam_\w+\(\w+:auth\): / )
     ) {
        # We don't care about these
     } elsif ( ($User,$Service,$Realm,$Mechanism,$Reason) = ($ThisLine =~ 
/^do_auth         : auth failure: \[user=(.*)\] \[service=([^ ]*)\] 
\[realm=([^ ]*)\] \[mech=([^ ]*)\] \[reason=(.*)\]$/) ) {


-- 
Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA, Boulder Office                  FAX: 303-415-9702
3380 Mitchell Lane                       [email protected]
Boulder, CO 80301                   http://www.nwra.com

------------------------------------------------------------------------------
The Windows 8 Center - In partnership with Sourceforge
Your idea - your app - 30 days.
Get started!
http://windows8center.sourceforge.net/
what-html-developers-need-to-know-about-coding-windows-8-metro-style-apps/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.