dovecot patch for LMTP to Sieve delivery handling

Austin Foxley <[email protected]>
Newsgroups gmane.comp.log.logwatch.devel
Message-ID <CAGnek1nCu8MFSbA9=yfoxYdi+LUtFrG0X7g6R-QZACCVi71ZeQ@mail.gmail.com>
------------------------------------------------------------------------------
5 Ways to Improve & Secure Unified Communications
Unified Communications promises greater efficiencies for business. UC can 
improve internal communications as well as offer faster, more efficient ways
to interact with customers and streamline customer service. Learn more!
http://www.accelacomm.com/jaw/sfnl/114/51426253/

_______________________________________________
Logwatch-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/logwatch-devel
dovecot.patch (text/x-patch, 778 B)
--- /usr/share/logwatch/scripts/services/dovecot	2011-07-21 15:58:57.000000000 -0700
+++ /etc/logwatch/scripts/services/dovecot	2011-07-21 16:03:11.000000000 -0700
@@ -159,6 +159,11 @@
     # dovecot: [ID 583609 mail.info] lmtp(12782, [email protected]): jBt1EfjCMk3uMQAAm9eMBA: msgid=<[email protected]>: saved mail to INBOX
       $Deliver{$User}{$Mailbox}++;
 
+# For LMTP/Sieve-based delivery
+    } elsif ( ($User, $Mailbox) = ( $ThisLine =~ /^$dovecottag lmtp\(\d+, (.*)\): [^:]+: sieve: msgid=.*: stored mail into mailbox '(\S+)'/ ) ) {
+      $Deliver{$User}{$Mailbox}++;
+
+
 # sieve forward
     } elsif (($User, $Recip) = ($ThisLine =~ /^$dovecottag (?:lda|deliver)\((.*)\): sieve: msgid=.* forwarded to \<(.*)\>/)) {
       $Forwarded{$User}{$Recip}++;
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.