Skip to content

Commit 11a75cf

Browse files
authored
Merge pull request #190 from whyscream/150-exclude-noqueue-from-aggregation
Don't try to aggregate content with a `NOQUEUE` queue id
2 parents 71d6562 + 132c8ce commit 11a75cf

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

51-filter-postfix-aggregate.conf

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
filter {
22
if ![postfix_queueid] {
33
drop {}
4-
} else if [program] == "postfix/qmgr" and [postfix_from]{
4+
} else if [postfix_queueid] == "NOQUEUE" {
5+
drop {}
6+
} else if [program] == "postfix/qmgr" and [postfix_from] {
57
aggregate {
68
task_id => "%{postfix_queueid}"
79
code => "

0 commit comments

Comments
 (0)