diff options
Diffstat (limited to 'net-mail/amavis-logwatch')
10 files changed, 329 insertions, 0 deletions
diff --git a/net-mail/amavis-logwatch/Manifest b/net-mail/amavis-logwatch/Manifest new file mode 100644 index 000000000000..b8a5cd675aaa --- /dev/null +++ b/net-mail/amavis-logwatch/Manifest @@ -0,0 +1,12 @@ +AUX file-libmagic-errors.patch 1330 SHA256 acefb89c493d34b5230b90f9f742af73df536c9d3525e00f66e92c6484573d44 SHA512 8b2603ef414bd54fc2007bccfe6d12083c95f1f4fd81bdbd0bea4c45e6be57d6f1fd7851587ac95c0be740366f536e04512a2ea5220bf7fdb7e3a6317b0ae177 WHIRLPOOL 94bc64e99dbd7c3adb540f2067333e2c121383f7dc38fb1000af323935c450575464f643d2d8290809771982970128d99d700cb25896bbbcd9b76b1f94417a18 +AUX ignore-amavis-startup-notifications.patch 939 SHA256 aabc4522c92644bba7ffefc494ac6bb59a4adeb3b6eaa58caa7dbb1778c8d086 SHA512 34f23c5ebf9676407cb4c16a6f273e7086de3f90587dd5ab2ecb1f20c035e3940fb3318a696f0d5e8901dad2908ef4d14b4489fcae822c83e4b9470d5d20f869 WHIRLPOOL 958017361e54f2dcff2dce564d199f2aac6426d8372b05e0c389f3a0d1e24a2b9108ae5b1ce942d372bb658cd667814717feb58c5bb3f8875057e1c4098a41a6 +AUX ignore-utf8smtp-lines.patch 1141 SHA256 c48cacad0f5cef569bba837dec590542cae77b3494a3c87b4127b2baeea716bb SHA512 4de215ca12ce744b0a9e22bd0e56702101b2ae122b342402eea1272b0e893ffe2f9bab2261eb626f5f9f7eb55ba0c527391d629f7dc2ce0faa3834d9c065f461 WHIRLPOOL 92949352c3b2c9b296968771543ae7b9dba951fca72d164c5e8e88c27ea7d2730dcfa73e967eaadb57cbe8324a3d36e64ab432393cabbfabd830cbc335bc462b +AUX redundant-argument-to-sprintf.patch 1738 SHA256 6f7e911096abe09ccd88ed8fa326c80ee6ee2cfac39258fec0d98f1581d0f96c SHA512 51953b22000ee685e954967de3e8edd223400d1e9a5dab056258bbe3cad6795838aa1e20328b1f06dcc9de9e0900e1b87358b09b5845e1bdfb24119e94ab8db9 WHIRLPOOL 9130fad328a184419df8033064afa5df37cd2d1d2ffa39425afc74bf5f8559925208f58b86919ce9632d4785fc2d57deba435e5b5414ae98d474089b0f508ae1 +AUX unchecked-encrypted.patch 2022 SHA256 f6d4dba2dce5580f6ebbb6d0235b7841ea87b0105b3bbe1dc5740c4d4d8a2331 SHA512 6fc07898123012d2755851fa9a4ab026174fb82f1a85361ddc95f407c0f4ac9b1e8979215c1264c21775f997dff343f209676b6055728a52590b37d8e7e2f4ba WHIRLPOOL 9015a2527c6136731af83d0834f5ee8500ce6942d1965c30afc6d58b3afc517ebf6cbbbc51204ba8fa4d200502a15ce6642beb98dd15aacc919e11b87e7c8af7 +AUX unescaped-left-brace.patch 2043 SHA256 a1582521379af0bad46391de151fdf83144a67759ee32fe7cd1a8e2b9976359e SHA512 3e2f18070a76624b260bdb11586abf79ae16f237d0e765a766ce770e35c8aab6afbda58589514b65a3afedfc9104f491c1e69e3201f764b6590b5f34cde9e745 WHIRLPOOL 3cf1e2bafe00846d35dd41f9e57f679efd207837591598e02cb2b1fc1f26e48a2d0fb426d3676edcd514595ee8d4287621e23ed88f9574072527d4de930298c0 +DIST amavis-logwatch-1.51.03.tgz 87304 SHA256 247f12646f834f6ed067d7aa79ef89f458284a6141391c3d96d6225bb1679c92 SHA512 27338abf676f05ec77e3ffb65a1f9ab5274bf8de3ab65fa29d4584ed6fdeedcb85e9e95b124549afdc3fc47780540c1790fa8b273ee296fbd44378d4da450db5 WHIRLPOOL 3da18a7eedad87b609cf3b8573d1bdfb4ee3561776a500f88b58e5576e33a3184cc1deec32a8d0b9252ac51d9e97ba74c5b223080e82f4fce38a156f3ac6df3c +EBUILD amavis-logwatch-1.51.03-r3.ebuild 1193 SHA256 ba2c74784ea248442c9c2b3abb892f8c41b4ac107315d1c2bc21a964cdc843b7 SHA512 ea96a9ea428d6b260266b74c44ca7eec0f6a760739439c1d36e66bfe89e37201546930ce89296b1750f15f4f41a17e712061abf0b07b14f4459499976092fac0 WHIRLPOOL 1290875ed39d80db0f6dba81f84386e97846cbb7857b25b09b277d41f0912b96b9f85109a2a59965e39c0a3a97eaca46176d85f3659299bfa99f7554c91152fe +EBUILD amavis-logwatch-1.51.03.ebuild 893 SHA256 101cddc25741f51005e02d08bd4f90d612787c46bad197554b917b619bb42904 SHA512 f665e621e964bd62b2f76d9b893b172818a3a8f709e2fda4072f1b7a0751f8e9c5a42f2416bb93e4def055091b397247c04aef5911906932f9f077b01e0c07a3 WHIRLPOOL 98bc365221e2c819677fa934a32367c28fc3bf2aff0411de6aa6891c0e0b39163ba9bcab983db04eadc029667d424ffbd5df01e11e6bb211a588c7e43b1574f5 +MISC ChangeLog 2204 SHA256 95cbfb16c6eebcef18a8559e6b16f61f69b57ba7c2e60ff0e1506374a0669336 SHA512 46e9fc2dc8ec7db7ca1ef4110857c0f042427c47edb4d6d5d7fca65e372f93bf1d841c0207e1cebd9827406032360694c82cf43157ccabbd66d6d27e261bb00c WHIRLPOOL 494bbb01369304c7a8f4abb7fb85938d5cba9f3c245c7cf1e012e182d577fa492639dbfd347f107219b0c1f9910701089536b8fb31ce944b4dceda07a54dfaaa +MISC ChangeLog-2015 928 SHA256 c1e501d8ed1ecb5abf16abb6df2ea2bc326df14796d05423505b27530e8ad746 SHA512 c553a5750544c2006c8aea1c1d32b7df8e1d90b2096f5369b50e288e2bf56300a0ac82318eec3626db8226dca67c3a100081e1f690677df6a2e4a4ae1927ea22 WHIRLPOOL 61d96d5f0d4233414a70181629fdad2c1f82a3b9c347de7722392b73dfd17cb793dc83234fd3c007b22b9866d4246d337abd13850d7a27622a108cbf590ad005 +MISC metadata.xml 296 SHA256 9964c7a00fb143c08fd771f7d3601f658282cf28e5eecf249487c4b5f1e95b23 SHA512 ba96de61eeaec557c21ba83c0701d6b83f0e25752a4b949a2562e3eb4a0ceef44d0029d5a5bf5fed5ff7d9add59b8d40cfeac7a57ec566a48d23dca3c327e720 WHIRLPOOL ce6b711172c28911c1b8a31a1d58eba66ca1ebdd5307efdfc3d5def0543de5d8c52830e7109252a91b1b425d7b385711972b4827693d9218f2dbb4d0891d1922 diff --git a/net-mail/amavis-logwatch/amavis-logwatch-1.51.03-r3.ebuild b/net-mail/amavis-logwatch/amavis-logwatch-1.51.03-r3.ebuild new file mode 100644 index 000000000000..e312caecfdf7 --- /dev/null +++ b/net-mail/amavis-logwatch/amavis-logwatch-1.51.03-r3.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="A log analyzer for amavisd-new" +HOMEPAGE="http://logreporters.sourceforge.net/" +SRC_URI="mirror://sourceforge/logreporters/${P}.tgz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND="dev-lang/perl" + +PATCHES=( + "${FILESDIR}/unescaped-left-brace.patch" + "${FILESDIR}/redundant-argument-to-sprintf.patch" + "${FILESDIR}/ignore-amavis-startup-notifications.patch" + "${FILESDIR}/ignore-utf8smtp-lines.patch" + "${FILESDIR}/unchecked-encrypted.patch" + "${FILESDIR}/file-libmagic-errors.patch" +) + +src_prepare() { + default + # Replace the default config file location with ours. + local cfg_default='/usr/local/etc/${progname_prefix}-logwatch.conf' + local cfg_gentoo='/etc/${progname_prefix}-logwatch.conf'; + sed -i "s~${cfg_default}~${cfg_gentoo}~" ${PN} \ + || die 'failed to update the default config location' +} + +src_compile() { + # The default make target just outputs instructions. We don't want + # the user to see these, so we avoid the default emake. + : +} + +src_install() { + dodoc Bugs Changes README + doman ${PN}.1 + dobin ${PN} + insinto /etc + doins ${PN}.conf +} diff --git a/net-mail/amavis-logwatch/amavis-logwatch-1.51.03.ebuild b/net-mail/amavis-logwatch/amavis-logwatch-1.51.03.ebuild new file mode 100644 index 000000000000..f8eb3efd3b4f --- /dev/null +++ b/net-mail/amavis-logwatch/amavis-logwatch-1.51.03.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +DESCRIPTION="A log analyzer for amavisd-new" +HOMEPAGE="http://logreporters.sourceforge.net/" +SRC_URI="mirror://sourceforge/logreporters/${P}.tgz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 x86" + +RDEPEND="dev-lang/perl" + +src_prepare() { + # Replace the default config file location with ours. + local cfg_default='/usr/local/etc/${progname_prefix}-logwatch.conf' + local cfg_gentoo='/etc/${progname_prefix}-logwatch.conf'; + sed -i "s~${cfg_default}~${cfg_gentoo}~" ${PN} \ + || die 'failed to update the default config location' +} + +src_compile() { + # The default make target just outputs instructions. We don't want + # the user to see these, so we avoid the default emake. + : +} + +src_install() { + dodoc Bugs Changes README + doman ${PN}.1 + dobin ${PN} + insinto /etc + doins ${PN}.conf +} diff --git a/net-mail/amavis-logwatch/files/file-libmagic-errors.patch b/net-mail/amavis-logwatch/files/file-libmagic-errors.patch new file mode 100644 index 000000000000..2a28c4ee623b --- /dev/null +++ b/net-mail/amavis-logwatch/files/file-libmagic-errors.patch @@ -0,0 +1,35 @@ +From 63421f1c92403149be838c64ebb731778c148dde Mon Sep 17 00:00:00 2001 +From: Michael Orlitzky <michael@orlitzky.com> +Date: Thu, 7 Sep 2017 07:36:39 -0400 +Subject: [PATCH 1/1] Ignore errors from the File::LibMagic describe_filename + function. + +Newer versions of amavisd-new can make use of the File::LibMagic +library (as opposed to the "file" executable) to get information about +attachments. Using the library should be faster, but when it fails, it +does so in a novel way: + + (02859-21) File::LibMagic::describe_filename failed on p003: libmagic + JPEG image data, Exif standard: [TIFF image data, big-endian,... + +This commit adds such lines to the global ignore list, since they +don't provide us with any useful information. +--- + amavis-logwatch | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/amavis-logwatch b/amavis-logwatch +index 448de3a..ac93cbc 100644 +--- a/amavis-logwatch ++++ b/amavis-logwatch +@@ -2033,6 +2033,7 @@ sub create_ignore_list() { + + push @ignore_list_final, qr/^Inserting header field: X-Amavis-Hold: /; + push @ignore_list_final, qr/^Decoding of .* failed, leaving it unpacked: /; ++ push @ignore_list_final, qr/^File::LibMagic::describe_filename failed on p\d+: /; + + # various forms of "Using ..." + # more specific, interesting variants already captured: search "Using" +-- +2.13.0 + diff --git a/net-mail/amavis-logwatch/files/ignore-amavis-startup-notifications.patch b/net-mail/amavis-logwatch/files/ignore-amavis-startup-notifications.patch new file mode 100644 index 000000000000..4dd019186e41 --- /dev/null +++ b/net-mail/amavis-logwatch/files/ignore-amavis-startup-notifications.patch @@ -0,0 +1,31 @@ +From 15bf4096ea496a28210e2f4c1f34ab28b413566a Mon Sep 17 00:00:00 2001 +From: Michael Orlitzky <michael@orlitzky.com> +Date: Thu, 24 Aug 2017 08:52:18 -0400 +Subject: [PATCH 3/4] Ignore amavisd-new "starting child processes" + notifications. + +Newer versions of amavisd-new log the following constantly: + + sd_notify (no socket): STATUS=Starting child process(es), ready for work. + +It's of no use to us, so add it to the global "ignore" list. +--- + amavis-logwatch | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/amavis-logwatch b/amavis-logwatch +index 1aab787..06b60c8 100644 +--- a/amavis-logwatch ++++ b/amavis-logwatch +@@ -2044,6 +2044,8 @@ sub create_ignore_list() { + # unanchored + push @ignore_list_final, qr/\bRUSAGE\b/; + push @ignore_list_final, qr/: Sending .* to UNIX socket/; ++ ++ push @ignore_list_final, qr/sd_notify \(no socket\): STATUS=Starting child process\(es\), ready for work./ + } + + # Notes: +-- +2.13.0 + diff --git a/net-mail/amavis-logwatch/files/ignore-utf8smtp-lines.patch b/net-mail/amavis-logwatch/files/ignore-utf8smtp-lines.patch new file mode 100644 index 000000000000..83fd4cb80a42 --- /dev/null +++ b/net-mail/amavis-logwatch/files/ignore-utf8smtp-lines.patch @@ -0,0 +1,32 @@ +From a8dac25fe398e42abdb89b85b1435d52386827b4 Mon Sep 17 00:00:00 2001 +From: Michael Orlitzky <michael@orlitzky.com> +Date: Thu, 24 Aug 2017 09:05:04 -0400 +Subject: [PATCH 4/4] Ignore UTF8SMTP lines. + +Lines that look like, + + UTF8SMTP :10024 /var/...: <sender@example.net> -> <rcpt@example.com> + BODY=8BITMIME SMTPUTF8 Received: from mx.example.com ([127.0.0.1]) by... + +were previously unmatched because of the relatively-new "UTF8SMTP". +Similar lines that have "ESMTP" instead of "UTF8SMTP" are already +ignored, so it makes sense to ignore the "UTF8SMTP" lines too. +--- + amavis-logwatch | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/amavis-logwatch b/amavis-logwatch +index 06b60c8..deb9146 100644 +--- a/amavis-logwatch ++++ b/amavis-logwatch +@@ -2132,6 +2132,7 @@ while (<>) { + or ($p1 =~ /^SpamControl/) + or ($p1 =~ /^Perl/) + or ($p1 =~ /^ESMTP/) ++ or ($p1 =~ /^UTF8SMTP/) + or ($p1 =~ /^(?:\(!+\))?(\S+ )?(?:FWD|SEND) from /) # log level 4 + or ($p1 =~ /^(?:\(!+\))?(\S+ )?(?:ESMTP|FWD|SEND) via /) # log level 4 + or ($p1 =~ /^tempdir being removed/) +-- +2.13.0 + diff --git a/net-mail/amavis-logwatch/files/redundant-argument-to-sprintf.patch b/net-mail/amavis-logwatch/files/redundant-argument-to-sprintf.patch new file mode 100644 index 000000000000..91f456afdd11 --- /dev/null +++ b/net-mail/amavis-logwatch/files/redundant-argument-to-sprintf.patch @@ -0,0 +1,48 @@ +From 02cf771776d2f1ad9d7872f3959e41a548adfab9 Mon Sep 17 00:00:00 2001 +From: Michael Orlitzky <michael@orlitzky.com> +Date: Thu, 24 Aug 2017 08:20:59 -0400 +Subject: [PATCH 2/4] Fix redundant argument to sprintf warning. + +Perl 5.22 now warns about redundant (i.e. extra) arguments to the +sprintf function. If your format string only has two place-holders but +you pass three place-fillers, you get warned: + + Redundant argument in sprintf at ./amavis-logwatch line 1338... + +The issue there was that the format string passed to sprintf was +constructed dynamically; sometimes it would contain two place-holders, +and sometimes three. Three place-fillers were always passed, so when +only two place-holders were used, the warning would be thrown. This was +fixed by testing whether or not there are two or three place-holders, +and passing the appropriate number of place-fillers. +--- + amavis-logwatch | 13 +++++++++++-- + 1 file changed, 11 insertions(+), 2 deletions(-) + +diff --git a/amavis-logwatch b/amavis-logwatch +index 8972497..1aab787 100644 +--- a/amavis-logwatch ++++ b/amavis-logwatch +@@ -1334,8 +1334,17 @@ sub print_summary_report (\@) { + $$divisor == $Totals{$keyname} ? 100.00 : $Totals{$keyname} * 100 / $$divisor; + } + else { +- push @{$lines[$cur_level]}, +- sprintf "$fmt %-23s $extra\n", $total, $desc, commify ($Totals{$keyname}); ++ my $new_line; ++ if ($extra eq '') { ++ $new_line = sprintf("$fmt %-23s \n", $total, $desc); ++ } ++ else { ++ $new_line = sprintf("$fmt %-23s $extra\n", ++ $total, ++ $desc, ++ commify ($Totals{$keyname})); ++ } ++ push @{$lines[$cur_level]}, $new_line + } + } + } +-- +2.13.0 + diff --git a/net-mail/amavis-logwatch/files/unchecked-encrypted.patch b/net-mail/amavis-logwatch/files/unchecked-encrypted.patch new file mode 100644 index 000000000000..33c2214a2d09 --- /dev/null +++ b/net-mail/amavis-logwatch/files/unchecked-encrypted.patch @@ -0,0 +1,41 @@ +From e9f83dde1b241ce449264db7a517124bb115dd99 Mon Sep 17 00:00:00 2001 +From: Michael Orlitzky <michael@orlitzky.com> +Date: Wed, 6 Sep 2017 09:19:42 -0400 +Subject: [PATCH 1/1] Catch mail that is passed UNCHECKED-ENCRYPTED. + +Some encrypted mail can pass through the system with a log line like, + + (01495-17) Passed UNCHECKED-ENCRYPTED {RelayedTaggedInbound}, ... + +These were unmatched, because the "-ENCRYPTED" suffix is new. One +regular expression and a dictionary have been updated to catch those +lines and dump them into the "unchecked" bin with the rest of the +UNCHECKED lines. +--- + amavis-logwatch | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/amavis-logwatch b/amavis-logwatch +index deb9146..448de3a 100644 +--- a/amavis-logwatch ++++ b/amavis-logwatch +@@ -1799,6 +1799,7 @@ my %ccatmajor_to_sectkey = ( + 'INFECTED' => 'malware', + 'BANNED' => 'bannedname', + 'UNCHECKED' => 'unchecked', ++ 'UNCHECKED-ENCRYPTED' => 'unchecked', + 'SPAM' => 'spam', + 'SPAMMY' => 'spammy', + 'BAD-HEADER' => 'badheader', +@@ -2295,7 +2296,7 @@ while (<>) { + #XXX elsif (($action, $key, $ip, $from, $to) = ( $p1 =~ /^(?:Virus found - quarantined|(?:(Passed|Blocked) )?INFECTED) \(([^\)]+)\),[A-Z .]*(?: \[($re_IP)\])?(?: \[$re_IP\])* [<(]([^>)]*)[>)] -> [(<]([^(<]+)[(>]/o )) + + # the first IP is the envelope sender. +- if ($p1 !~ /^(CLEAN|SPAM(?:MY)?|INFECTED \(.*?\)|BANNED \(.*?\)|BAD-HEADER(?:-\d)?|UNCHECKED|MTA-BLOCKED|OVERSIZED|OTHER|TEMPFAIL)(?: \{[^}]+})?, ([^[]+ )?(?:([^<]+) )?[<(](.*?)[>)] -> ([(<].*?[)>]), (?:.*Hits: ([-+.\d]+))(?:.* size: (\d+))?(?:.* autolearn=(\w+))?/) { ++ if ($p1 !~ /^(CLEAN|SPAM(?:MY)?|INFECTED \(.*?\)|BANNED \(.*?\)|BAD-HEADER(?:-\d)?|UNCHECKED|UNCHECKED-ENCRYPTED|MTA-BLOCKED|OVERSIZED|OTHER|TEMPFAIL)(?: \{[^}]+})?, ([^[]+ )?(?:([^<]+) )?[<(](.*?)[>)] -> ([(<].*?[)>]), (?:.*Hits: ([-+.\d]+))(?:.* size: (\d+))?(?:.* autolearn=(\w+))?/) { + inc_unmatched('passblock'); + next; + } +-- +2.13.0 + diff --git a/net-mail/amavis-logwatch/files/unescaped-left-brace.patch b/net-mail/amavis-logwatch/files/unescaped-left-brace.patch new file mode 100644 index 000000000000..2cb293b89e8b --- /dev/null +++ b/net-mail/amavis-logwatch/files/unescaped-left-brace.patch @@ -0,0 +1,38 @@ +From 79f37650aa72fe3feeed682ee2b79686ee2b6547 Mon Sep 17 00:00:00 2001 +From: Michael Orlitzky <michael@orlitzky.com> +Date: Thu, 24 Aug 2017 08:16:05 -0400 +Subject: [PATCH 1/4] Fix unescaped left brace warning in monster regex. + +New versions of Perl are starting to complain about unescaped braces +in regular expressions, and supposedly the warning will become a fatal +error in Perl 5.30. This particular warning is, + + Unescaped left brace in regex is deprecated, passed through in regex; + marked by <-- HERE in m/^(CLEAN|SPAM(?:MY)?|INFECTED \(.*?\)|BANNED \(.*?\) + |BAD-HEADER(?:-\d)?|UNCHECKED|MTA-BLOCKED|OVERSIZED|OTHER|TEMPFAIL)(?: + { <-- HERE [^}]+})?, ([^[]+ )?(?:([^<]+) )?[<(](.*?)[>)] -> ([(<].*?[)>]), + (?:.*Hits: ([-+.\d]+))(?:.* size: (\d+))?(?:.* autolearn=(\w+))?/ at + /usr/bin/amavis-logwatch line 2286. + +and it was fixed by going to line 2286 and putting a backslash before +the left brace. +--- + amavis-logwatch | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/amavis-logwatch b/amavis-logwatch +index 4ad07f6..8972497 100644 +--- a/amavis-logwatch ++++ b/amavis-logwatch +@@ -2283,7 +2283,7 @@ while (<>) { + #XXX elsif (($action, $key, $ip, $from, $to) = ( $p1 =~ /^(?:Virus found - quarantined|(?:(Passed|Blocked) )?INFECTED) \(([^\)]+)\),[A-Z .]*(?: \[($re_IP)\])?(?: \[$re_IP\])* [<(]([^>)]*)[>)] -> [(<]([^(<]+)[(>]/o )) + + # the first IP is the envelope sender. +- if ($p1 !~ /^(CLEAN|SPAM(?:MY)?|INFECTED \(.*?\)|BANNED \(.*?\)|BAD-HEADER(?:-\d)?|UNCHECKED|MTA-BLOCKED|OVERSIZED|OTHER|TEMPFAIL)(?: {[^}]+})?, ([^[]+ )?(?:([^<]+) )?[<(](.*?)[>)] -> ([(<].*?[)>]), (?:.*Hits: ([-+.\d]+))(?:.* size: (\d+))?(?:.* autolearn=(\w+))?/) { ++ if ($p1 !~ /^(CLEAN|SPAM(?:MY)?|INFECTED \(.*?\)|BANNED \(.*?\)|BAD-HEADER(?:-\d)?|UNCHECKED|MTA-BLOCKED|OVERSIZED|OTHER|TEMPFAIL)(?: \{[^}]+})?, ([^[]+ )?(?:([^<]+) )?[<(](.*?)[>)] -> ([(<].*?[)>]), (?:.*Hits: ([-+.\d]+))(?:.* size: (\d+))?(?:.* autolearn=(\w+))?/) { + inc_unmatched('passblock'); + next; + } +-- +2.13.0 + diff --git a/net-mail/amavis-logwatch/metadata.xml b/net-mail/amavis-logwatch/metadata.xml new file mode 100644 index 000000000000..04df72792f2a --- /dev/null +++ b/net-mail/amavis-logwatch/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>mjo@gentoo.org</email> + </maintainer> + <upstream> + <remote-id type="sourceforge">logreporters</remote-id> + </upstream> +</pkgmetadata> |