Commit Graph

1290 Commits

Author SHA1 Message Date
Janos SUTO
ac49647fc3 bdat fixes
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-05-13 16:48:20 +02:00
Janos SUTO
a0fb4137a5 fix bdat command detection
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-05-13 15:32:11 +02:00
Janos SUTO
65cd19b047 fix smtp.c logging
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-05-13 15:18:48 +02:00
Janos SUTO
59eabf194b fixed typo in setting session fd
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-05-13 14:59:59 +02:00
Janos SUTO
0d7d1f9ff7 added fd to received line logging
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-05-13 14:57:13 +02:00
Janos SUTO
f9a0dee5c4 fix logging the descriptor for smtp chat
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-05-13 14:47:47 +02:00
Janos SUTO
97830bc265 revised bdat support
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-05-13 14:26:21 +02:00
Janos SUTO
41777063f0 added missing $ to variable name
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-05-13 09:04:49 +02:00
Janos SUTO
2331cd7546 check local auth first, then remote auth methods, eg. imap, pop3, ...
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-05-13 08:53:16 +02:00
Janos SUTO
d975966a7a Fix a bug preventing password change for local users
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-05-10 09:26:38 +02:00
Janos SUTO
fb6675eb73 add extra logging if accept() fails
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-05-03 13:08:05 +02:00
Janos SUTO
462063fc26 gui: do not show the monitor / statistics menu in case an external dashboard is set
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-04-15 20:31:57 +02:00
Janos SUTO
4a7ec5d41d gui: add support for external dashboard
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-04-15 18:42:34 +02:00
Janos SUTO
c3f4f2148c postinstall.sh.in minor fixes
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-03-31 19:29:39 +02:00
Janos SUTO
e7ea15594a fixed config-site.php reference in config.php
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-03-30 14:17:06 +02:00
Janos SUTO
4487d6948f make use bash instead of sh for top level Makefile
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-03-30 08:25:45 +02:00
Janos SUTO
58e9b809c9 gui: add isset test for date header fixing
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-03-30 08:09:35 +02:00
Janos SUTO
c12a876e59 Fixed #758: sphinx index watcher
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-03-18 13:54:13 +01:00
Janos SUTO
c918ad2a66 fix handling partial lines in DATA stage
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-03-17 17:32:32 +01:00
Janos SUTO
f2853b9f18 logging fix for piler-smtp.c
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-03-13 15:22:51 +01:00
Janos SUTO
0e116cfd6e improved logging for piler-smtp.c
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-03-13 14:50:49 +01:00
Janos SUTO
e5262ff935 Added smtp response time in ms to stats.c output
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-03-11 17:06:49 +01:00
Janos SUTO
c3a36dc213 improved signal logging for piler-smtp.c
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-03-11 09:01:34 +01:00
Janos SUTO
9997c10b4e fixed a leaking file descriptor in extract_attachment_content()
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-03-06 20:57:54 +01:00
Janos SUTO
15c9fa7101 Retire piler child after processing max_requests_per_child messages
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-03-06 14:42:07 +01:00
Janos SUTO
ae1d551db4 Added more signals to result p_clean_exit()
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-03-06 11:59:24 +01:00
Janos SUTO
2ca822c689 fix buffering issue introduced with the simplifed handle_data()
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-03-04 20:16:30 +01:00
Janos SUTO
1d0019ff35 simplified handle_data()
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-03-04 19:50:37 +01:00
Janos SUTO
a48e3c74df fix opendocument text extraction
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-03-04 13:21:19 +01:00
Janos SUTO
553d7e92c0 truncate extremely long from address and message_id
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-03-03 11:20:55 +01:00
Janos SUTO
2cfd5ece53 db: fixing database schema #2
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-03-03 11:05:50 +01:00
Janos SUTO
06bc6fb15c db: fixing database schema
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-03-03 10:54:37 +01:00
Janos SUTO
6939b7fe45 added missing include file to test.c
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-03-03 10:37:19 +01:00
Janos SUTO
e18ec3a701 revised smtp protocol handling
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-03-02 22:46:48 +01:00
Janos SUTO
52d44ddee1 added option to specify a different config file for pilertest
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-02-28 14:19:58 +01:00
Janos SUTO
e284d15801 reset rcpt_domain hash as well for journaled messages after the journal header is found
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-02-26 17:38:17 +01:00
Janos SUTO
91074ed617 gui: remove X-Piler-Envelope-To: header lines for non auditor users
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-02-21 14:56:38 +01:00
Janos SUTO
a815d1b60f write only envelope to if it's not on @hostname
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-02-21 13:55:05 +01:00
Janos SUTO
b9f6f3627a add only envelope recipients to the beginning of email in case of process_rcpt_to_addresses=1
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-02-20 21:47:08 +01:00
Janos SUTO
30b50f72c5 parser fix for envelope addresses
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-02-20 21:09:08 +01:00
Janos SUTO
f88740ad9b envelope header fix for piler
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-02-20 20:35:31 +01:00
Janos SUTO
abe2849ace fix writing envelope recipients to eml file
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-02-20 20:03:20 +01:00
Janos SUTO
e0e59d2e74 write envelope addresses to the beginning of email message file
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-02-20 15:59:21 +01:00
Janos SUTO
1a9c145116 re-introduced the archive_only_mydomains feature to the new architecture
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-02-19 15:01:11 +01:00
Janos SUTO
e3569f02c1 fixed missing comma in stats.c
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-02-18 19:45:54 +01:00
Janos SUTO
34ba5b25d1 improve pilerstats by adding the number of error emails
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-02-18 14:48:32 +01:00
Janos SUTO
3f7fdb7f08 improved the sphinx stats
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-02-17 19:36:48 +01:00
Janos SUTO
ce0bd526a6 fixed json output for pilerstats
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-02-17 17:44:06 +01:00
Janos SUTO
6003e08060 added pilerstats utility
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-02-17 17:27:17 +01:00
Janos SUTO
7310552ffb syslog rules loaded
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-02-07 13:52:25 +01:00