pmg-log-tracker/tests/test_output_after_queue_search_string
Mira Limbeck aee1def7c3 add tests
Add tests for some command line options. Not all have a test yet, but at
least most of the ones used by the GUI (-s, -e, -q, -x). '-g' and '-n' are
currently still missing.

The tests will only be valid until end of January 31st 2021 because of
missing year info in the syslog.

Signed-off-by: Mira Limbeck <m.limbeck@proxmox.com>
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2020-02-21 09:47:37 +01:00

15 lines
670 B
Plaintext

# LogReader: 5951
# Query options
# Match: reject
# Start: 2020-12-18 15:40:00 (1608306000)
# END: 2020-12-18 16:00:00 (1608307200)
# End Query Options
SMTPD: T5FDCCFDAL00000000
CTIME: 5FDCCFDA
CLIENT: 10.0.0.1
TO:5FDCCFDA:T5FDCCFDAL00000000:N: from <rbl_reject_test@localhost.localdomain> to <test@reject.localhost.localdomain>
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>