Skip to content

Commit 1f0f5e0

Browse files
authored
Accept milter-reject as action on NOQUEUE logs
Accept lines this: ``` NOQUEUE: milter-reject: RCPT from mailrelay.example.com[256.256.256.256]: 451 4.7.1 Greylisting in action, please come back later; from=<support@example.com> to=<example@example.org> proto=ESMTP helo=<mailrelay.example.com> ```
1 parent 4fd5d81 commit 1f0f5e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

postfix.grok

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ POSTFIX_QUEUEID ([0-9A-F]{6,}|[0-9a-zA-Z]{12,}|NOQUEUE)
1212
POSTFIX_CLIENT %{HOSTNAME:postfix_client_hostname}?\[(%{IP_UNKNOWN:postfix_client_ip_unknown}|%{IP:postfix_client_ip})\](:%{INT:postfix_client_port})?
1313
POSTFIX_RELAY %{HOSTNAME:postfix_relay_hostname}?\[(%{IP:postfix_relay_ip}|%{DATA:postfix_relay_service})\](:%{INT:postfix_relay_port})?|%{WORD:postfix_relay_service}
1414
POSTFIX_SMTP_STAGE (CONNECT|HELO|EHLO|STARTTLS|AUTH|MAIL( FROM)?|RCPT( TO)?|(end of )?DATA|BDAT|RSET|UNKNOWN|END-OF-MESSAGE|VRFY|\.)
15-
POSTFIX_ACTION (accept|defer|discard|filter|header-redirect|reject|reject_warning)
15+
POSTFIX_ACTION (accept|defer|discard|filter|header-redirect|milter-reject|reject|reject_warning)
1616
POSTFIX_STATUS_CODE \d{3}
1717
POSTFIX_STATUS_CODE_ENHANCED \d\.\d+\.\d+
1818
POSTFIX_DNSBL_MESSAGE Service unavailable; .* \[%{GREEDYDATA:postfix_status_data}\] %{GREEDYDATA:postfix_status_message};

0 commit comments

Comments
 (0)