]> git.proxmox.com Git - pmg-log-tracker.git/commitdiff
add test for empty to (dnsbl reject)
authorStoiko Ivanov <s.ivanov@proxmox.com>
Wed, 1 Dec 2021 18:02:30 +0000 (19:02 +0100)
committerStoiko Ivanov <s.ivanov@proxmox.com>
Wed, 1 Dec 2021 18:02:30 +0000 (19:02 +0100)
Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
tests/test_input_mixed
tests/test_output_after_queue
tests/test_output_after_queue_search_string
tests/test_output_before_queue_mixed_downstream

index cc47d71d55b86f2a989ebb0dc5dceb56ec9eb4b9..fa3a70d64c82cbfd9f73f36df485f4dd4db85b0f 100644 (file)
@@ -110,6 +110,7 @@ Dec 18 15:55:44 pmg pmg-smtp-filter[1565]: 3802E45DFA503808B06: processing time:
 Dec 18 15:55:44 pmg postfix/lmtp[29327]: 0022C3801B5: to=<pmgtest@localhost>, relay=127.0.0.1[127.0.0.1]:10023, delay=0.07, delays=0.02/0.01/0.02/0.02, dsn=2.7.0, status=sent (250 2.7.0 BLOCKED (3802E45DFA503808B06))
 Dec 18 15:55:44 pmg postfix/qmgr[24651]: 0022C3801B5: removed
 Dec 18 16:00:00 pmg something[12345]: BEFORE QUEUE LOGS2 START
+Dec 18 16:00:00 pmg postfix/postscreen[42055]: NOQUEUE: reject: RCPT from [192.0.2.0]:38834: 550 5.7.1 Service unavailable; client [192.0.2.0] blocked using testbl.example; from=<info@test.example>, to=<>, proto=ESMTP, helo=<testhost.example>
 Dec 18 16:00:50 pmg postfix/postscreen[26369]: CONNECT from [2001:DB8:1:12::75]:38768 to [2001:DB8:1:12::66]:25
 Dec 18 16:00:50 pmg postfix/postscreen[26369]: WHITELISTED [2001:DB8:1:12::75]:38768
 Dec 18 16:00:50 pmg postfix/smtpd[26419]: connect from unknown[2001:DB8:1:12::75]
index b93d4c430970dd039687a579d48a80291b6deb9d..dfcd4eec2c431d6a7ddc7c4f55a54ec1e1e0ad16 100644 (file)
@@ -104,3 +104,10 @@ L0000002D Dec 18 15:55:44 pmg postfix/qmgr[24651]: 0022C3801B5: from=<mailtestse
 L00000034 Dec 18 15:55:44 pmg postfix/lmtp[29327]: 0022C3801B5: to=<pmgtest@localhost>, relay=127.0.0.1[127.0.0.1]:10023, delay=0.07, delays=0.02/0.01/0.02/0.02, dsn=2.7.0, status=sent (250 2.7.0 BLOCKED (3802E45DFA503808B06))
 L00000035 Dec 18 15:55:44 pmg postfix/qmgr[24651]: 0022C3801B5: removed
 
+SMTPD: T5FDCD200L00000001
+CTIME: 5FDCD200
+CLIENT: 192.0.2.0
+TO:5FDCD200:T5FDCD200L00000001:N: from <info@test.example> to <>
+LOGS:
+L00000037 Dec 18 16:00:00 pmg postfix/postscreen[42055]: NOQUEUE: reject: RCPT from [192.0.2.0]:38834: 550 5.7.1 Service unavailable; client [192.0.2.0] blocked using testbl.example; from=<info@test.example>, to=<>, proto=ESMTP, helo=<testhost.example>
+
index dbd985b073a9004c5a67eb5cbb91e2be2e1b98ff..f658b9df31d23f5425ec3a0e3c13fd1d8e33a160 100644 (file)
@@ -12,3 +12,10 @@ TO:5FDCCFDA:T5FDCCFDAL00000000:N: from <rbl_reject_test@localhost.localdomain> t
 LOGS:
 L00000029 Dec 18 15:50:50 proxmox-new postfix/postscreen[32700]: NOQUEUE: reject: RCPT from [10.0.0.1]:34453: 550 5.7.1 Service unavailable; client [10.0.0.1] blocked using zen.spamhaus.org; from=<rbl_reject_test@localhost.localdomain>, to=<test@reject.localhost.localdomain>, proto=ESMTP, helo=<localhost.localdomain>
 
+SMTPD: T5FDCD200L00000001
+CTIME: 5FDCD200
+CLIENT: 192.0.2.0
+TO:5FDCD200:T5FDCD200L00000001:N: from <info@test.example> to <>
+LOGS:
+L00000037 Dec 18 16:00:00 pmg postfix/postscreen[42055]: NOQUEUE: reject: RCPT from [192.0.2.0]:38834: 550 5.7.1 Service unavailable; client [192.0.2.0] blocked using testbl.example; from=<info@test.example>, to=<>, proto=ESMTP, helo=<testhost.example>
+
index 450f50974cb4ec98e3a3e76ca3c542d35be9d66d..4536a056ad9e29682600faee8b7e7c7c4fccc9a8 100644 (file)
@@ -4,6 +4,11 @@
 # End: 2020-12-18 16:10:00 (1608307800)
 # End Query Options
 
+SMTPD: T5FDCD200L00000001
+CTIME: 5FDCD200
+CLIENT: 192.0.2.0
+TO:5FDCD200:T5FDCD200L00000001:N: from <info@test.example> to <>
+
 QENTRY: E2487636D9
 CTIME: 5FDCD233
 SIZE: 3628