Commit Graph

82 Commits

Author SHA1 Message Date
Dominik Csapak
bdbaa97f1d fix csum calculation and update checksums
it was intended to be a rol instead of a simple left shift which changes the
checksums for the various programs (like 'proxprox', 'postfix/postscreen',
etc.) so we update those and use defines instead of the hardcoded hex values.
this makes it much more readable and less error prone

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2019-02-22 13:11:24 +01:00
Dominik Csapak
8e21bad78b add -i option for specifying an external file
where '-' is stdin

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2019-02-22 13:10:19 +01:00
Dominik Csapak
f1d11beeb1 remove unused -I parameter
it was neither documented nor in use

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2019-02-22 13:09:15 +01:00
Dietmar Maurer
bead5ba936 fix upload target (--product pmg) 2017-09-21 11:58:03 +02:00
Dietmar Maurer
e9b9b5c04b avoid compiler warnings 2017-09-21 11:53:42 +02:00
Dietmar Maurer
aebd55f459 use CLIENT instead of CONNECT 2017-09-20 09:54:45 +02:00
Dietmar Maurer
b1ff2f1351 only print CONNECT if we do not have a CLIENT 2017-09-20 09:51:04 +02:00
Dietmar Maurer
87f77e910c print smtp connect for qentry 2017-09-20 08:14:53 +02:00
Dietmar Maurer
0098fbce1d log smtp entries with ID - "SMTP: <ID>" 2017-09-20 08:07:15 +02:00
Dietmar Maurer
3324d2b0ed improve usage info 2017-09-20 08:05:10 +02:00
Dietmar Maurer
207eb01b55 correctly print newlines to separate entries 2017-09-18 11:50:52 +02:00
Dietmar Maurer
a101f17a59 allow to match smtp entries by time and rel_line_nr, allow multiple '-q' options
Note: SMTP only entries do not have a valid qmgr ID
2017-09-18 09:01:58 +02:00
Dietmar Maurer
e600e0f1bd fix MAX_LOGFILES 2017-09-18 07:26:22 +02:00
Dietmar Maurer
119813ce59 implement verbose mode with/without logs 2017-09-15 16:17:08 +02:00
Dietmar Maurer
13021db8b9 add line number to logs - so that we can order them correctly 2017-09-15 10:46:37 +02:00
Dietmar Maurer
bf47294945 re-add support for old log (for testing) 2017-09-15 09:28:01 +02:00
Dietmar Maurer
34b471435e include local relayed mails (mail to root) 2017-09-14 12:22:55 +02:00
Dietmar Maurer
087c7e7b56 remove unused code 2017-09-14 08:13:19 +02:00
Dietmar Maurer
0d4bb4a034 include pmg-smtp-filter logs 2017-09-13 11:52:58 +02:00
Dietmar Maurer
5db269884c add correct AGPL3 header 2017-09-13 10:55:20 +02:00
Dietmar Maurer
2e62093ca4 parse output from postfix/error 2017-09-13 09:35:56 +02:00
Dietmar Maurer
61b8223f3c create debian package 2017-09-13 08:37:37 +02:00
Dietmar Maurer
ae7d477801 use -Wpedantic 2017-09-12 13:22:43 +02:00
Dietmar Maurer
53616b4f1b use gzFile instead of gzFile* 2017-09-12 12:23:04 +02:00
Dietmar Maurer
952866a348 do not access element outside array bounds 2017-09-12 12:16:34 +02:00
Dietmar Maurer
d488e03bb0 avoid compiler warning about unused var 2017-09-12 12:12:11 +02:00
Dietmar Maurer
f614639134 avoid use of depreciated GMemChunk
use newer g_slice allocator instead.
2017-09-12 12:06:12 +02:00
Dietmar Maurer
c41a37e8b6 add cleanup targets 2017-09-12 11:42:30 +02:00
Dietmar Maurer
839951d65d add Makefile 2017-09-12 10:31:23 +02:00
Dietmar Maurer
b4bdfbe855 rename proxtrack.c to pmg-log-tracker.c 2017-09-12 10:18:59 +02:00
Dietmar Maurer
fdbb47e45e fix copyright year 2017-09-12 10:17:10 +02:00
Dietmar Maurer
39ec53c5a5 proxtrack.c: copied from internal repository 2017-09-12 10:16:21 +02:00