Postfix long queue IDs support in amavisd - a small patch
Mark Martinec
Mark.Martinec+amavis at ijs.si
Tue Mar 29 02:10:33 CEST 2011
Here is a trivial patch to amavisd-new-2.6.4 to support
long queue IDs (as well as current short queue IDs) as available
since postfix-20110321 (pre-2.9). The patch changes a default
value for $log_templ, accepting lower-case letters in queue IDs
in addition to capitals and digits.
--- amavisd~ 2011-01-27 02:48:43.238780803 +0100
+++ amavisd 2011-03-29 01:59:21.657979688 +0200
@@ -24933,3 +24933,3 @@
[~[:remote_mta_smtp_response]|["^$"]||[", queued_as: "]]\
-[remote_mta_smtp_response|[~%x|["queued as ([0-9A-Z]+)$"]|["%1"]|["%0"]]|/]#
+[remote_mta_smtp_response|[~%x|["queued as ([0-9A-Za-z]+)$"]|["%1"]|["%0"]]|/]#
#[? [:header_field|Subject]||, Subject: [:dquote|[:header_field|Subject|100]]]#
@@ -24993,3 +24993,3 @@
[~[:remote_mta_smtp_response]|["^$"]||\
-["queued as ([0-9A-Z]+)"]|[", queued_as: %1"]|[", fwd: %0"]]#
+["queued as ([0-9A-Za-z]+)"]|[", queued_as: %1"]|[", fwd: %0"]]#
, %0/%1/%2/%k#
Similar patch goes for 2.7.0-pre*, search for "queued_as:",
there are four occurrences of these there.
Mark
More information about the amavis-users
mailing list