Commit Graph
100 Commits
Author SHA1 Message Date
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
Janos SUTO 4be9f7dcc4 parser: handle properly if there is no filename in content-type mime header
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-02-06 19:55:17 +01:00
Janos SUTO 96f831a652 release: 1.3.3
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-02-06 13:36:07 +01:00
Janos SUTO 00df5107e0 fix a 4000....xxx.a0 issue for pilerget
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-02-05 22:42:29 +01:00
Janos SUTO 644ff2b630 tests: added unit test for attachment checking
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-02-04 10:58:35 +01:00
Janos SUTO 3e22fbfd76 parser: fix multiline attachment name
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-02-04 10:50:42 +01:00
Janos SUTO 5830bf5ef7 improved error handling for sql insert failures
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-01-23 20:02:50 +01:00
Janos SUTO 7e2fdcaae2 db: schema fix for metadata.message_id and attachment.name
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-01-23 20:01:25 +01:00
Janos SUTO 06b5954070 improved mysql logging
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-01-23 20:00:40 +01:00
Janos SUTO b4e1a6cf44 fix for ks_c_5601-1987 encoding
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-01-23 20:00:20 +01:00
Janos SUTO ea1cad8839 gui: fix form url for password change
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-01-16 10:59:18 +01:00
Janos SUTO 67dcb496a4 remove commented out unlink pidfile from piler-smtp.c
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-01-16 10:57:56 +01:00
Janos SUTO bef68aec3a added pidfile check in piler.c to prevent multiple start of the piler daemon
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-01-11 10:56:32 +01:00
Janos SUTO e03a9f2982 test: added new unit tests
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-01-11 10:20:02 +01:00
Janos SUTO 7e3367d04d cron: count the number of files in the error dir
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-01-11 10:00:34 +01:00
Janos SUTO 723f0b5c5f additional parser fix
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-01-11 09:59:58 +01:00
Janos SUTO 1c8dc1cc68 parser fix to support some emojis in subject line
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-01-11 09:28:45 +01:00
Janos SUTO c846b6aa21 gui: pdo fetch should exclude numbered indexes in fetched rows
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-01-03 21:04:57 +01:00
Janos SUTO 6eb6d5aebc added remote smtp host to piler-smtp received: log message
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-01-02 09:16:19 +01:00
Janos SUTO c1c5c30423 gui: added check for user@domain sso format
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-01-01 10:39:22 +01:00
Janos SUTO a49591f4f3 gui: apply CUSTOM_EMAIL_QUERY_FUNCTION to sso user in ntlm auth
Signed-off-by: Janos SUTO <sj@acts.hu>
2017-12-23 18:14:17 +01:00
Janos SUTO e3f53863b7 gui: use a session variable for "not before" feature
Signed-off-by: Janos SUTO <sj@acts.hu>
2017-12-23 18:03:01 +01:00
Janos SUTO b7b61a80e5 gui: add mandatory start date to certain users preventing them to search for older emails
Signed-off-by: Janos SUTO <sj@acts.hu>
2017-12-23 17:43:34 +01:00
Janos SUTO 4b5f349710 test: fixed test.conf for unit tests
Signed-off-by: Janos SUTO <sj@acts.hu>
2017-12-12 20:50:55 +01:00
Janos SUTO 018e6ca07a src: added proper usage text to piler daemons
Signed-off-by: Janos SUTO <sj@acts.hu>
2017-11-30 10:32:14 +01:00
Janos SUTO b90438bef6 src: fix for multiple filename in a single mime part line
Signed-off-by: Janos SUTO <sj@acts.hu>
2017-11-28 08:56:39 +01:00
Janos SUTO 08fbbe46c7 gui: demo mode fix
Signed-off-by: Janos SUTO <sj@acts.hu>
2017-11-28 08:56:33 +01:00
Janos SUTO 1192fc3218 src: decoder and parser fix
Signed-off-by: Janos SUTO <sj@acts.hu>
2017-11-08 11:50:28 +01:00
Janos SUTO 25aeff66ba src: fix gb2312 -> utf8 iconv conversion issue
Signed-off-by: Janos SUTO <sj@acts.hu>
2017-11-07 19:24:06 +01:00
Janos SUTO 1c27ead3af src: syslog if problematic message is moved
Signed-off-by: Janos SUTO <sj@acts.hu>
2017-11-07 15:25:17 +01:00
Janos SUTO 36b1e03939 src: move problematic messages to error directory
Signed-off-by: Janos SUTO <sj@acts.hu>
2017-11-07 15:07:56 +01:00
Janos SUTO 6af77bf0f1 src: timeout check fix
Signed-off-by: Janos SUTO <sj@acts.hu>
2017-11-05 16:17:56 +01:00
Janos SUTO 9646225ae9 src: fixing aborted connection handling, mostly from o365
Signed-off-by: Janos SUTO <sj@acts.hu>
2017-11-05 08:35:01 +01:00
Janos SUTO 20d41eb261 src: improved sessin logging
Signed-off-by: Janos SUTO <sj@acts.hu>
2017-11-04 15:34:34 +01:00
Janos SUTO c96693f98f piler-smtp wont scare users with epoll error if the remote end just disconnected
Signed-off-by: Janos SUTO <sj@acts.hu>
2017-11-01 07:54:16 +01:00
Janos SUTO 2e801d149a moved config.php.in to the base dir
Signed-off-by: Janos SUTO <sj@acts.hu>
2017-10-29 11:18:32 +01:00
Janos SUTO 2cc0dd65fc gui: move config-site.php to $sysconfdir/piler directory
Signed-off-by: Janos SUTO <sj@acts.hu>
2017-10-29 11:01:39 +01:00
Janos SUTO 0232f3cb81 bumped version to 1.3.2
Signed-off-by: Janos SUTO <sj@acts.hu>
2017-10-29 08:32:46 +01:00
Janos SUTO 052a93fc3d src: dir import fix #3
Signed-off-by: Janos SUTO <sj@acts.hu>
2017-10-28 22:33:47 +02:00
Janos SUTO 7b0f93edf6 src: dir import fix #2
Signed-off-by: Janos SUTO <sj@acts.hu>
2017-10-28 22:27:33 +02:00
Janos SUTO 8d41af27d0 src: fixed recursive directory import
Signed-off-by: Janos SUTO <sj@acts.hu>
2017-10-28 22:13:08 +02:00
Janos SUTO d3e2de3ada gui: piler_mime_decode fix
Signed-off-by: Janos SUTO <sj@acts.hu>
2017-10-28 12:32:30 +02:00
Janos SUTO def0496502 gui: added unit tests for Piler_Mime_Decoder class
Signed-off-by: Janos SUTO <sj@acts.hu>
2017-10-22 21:45:10 +02:00
Janos SUTO 698cc86548 introduced a simplified mime decoder class
Signed-off-by: Janos SUTO <sj@acts.hu>
2017-10-22 21:37:40 +02:00
Janos SUTO 445e6e96bd src: fix the smtp protocol handling
Signed-off-by: Janos SUTO <sj@acts.hu>
2017-10-18 20:34:51 +02:00
Janos SUTO 6522d64bd7 gui: restore fix for auditor
Signed-off-by: Janos SUTO <sj@acts.hu>
2017-09-23 17:13:29 +02:00
Janos SUTO cc4e2d6f6a util: minor fixes in postinstall.sh.in
Signed-off-by: Janos SUTO <sj@acts.hu>
2017-09-23 17:12:54 +02:00
Janos SUTO 63dd22f1e5 util: fixed bare new line in automated search
Signed-off-by: Janos SUTO <sj@acts.hu>
2017-09-22 18:25:26 +02:00
Janos SUTO 33efacfdaa util: automated-search.php fix
Signed-off-by: Janos SUTO <sj@acts.hu>
2017-09-09 20:13:19 +02:00
Janos SUTO c821e2a892 cron: fix for generate_stats.php cro job
Signed-off-by: Janos SUTO <sj@acts.hu>
2017-09-09 20:12:22 +02:00
Janos SUTO 899ee9ab7a util: postinstall fix
Signed-off-by: Janos SUTO <sj@acts.hu>
2017-09-09 20:11:48 +02:00
Janos SUTO 578863ec90 gui: remove session.cookie_domain settings
Signed-off-by: Janos SUTO <sj@acts.hu>
2017-09-09 10:29:08 +02:00
Janos SUTO 549d9cf03b gui: log unsuccessful login attempts
Signed-off-by: Janos SUTO <sj@acts.hu>
2017-09-07 12:12:08 +02:00
Janos SUTO 03900aef6e gui: show search menu if admin can search too
Signed-off-by: Janos SUTO <sj@acts.hu>
2017-09-06 20:05:29 +02:00
Janos SUTO 631e8de191 src: fix html parsing + added amazon journaling support
Signed-off-by: Janos SUTO <sj@acts.hu>
2017-09-06 19:55:30 +02:00
Janos SUTO 19c41a37fe util: remove ENABLE_SYSLOG from utils
Signed-off-by: Janos SUTO <sj@acts.hu>
2017-09-06 19:03:34 +02:00
Janos SUTO b2c372b0fe src: bdat fix
Signed-off-by: Janos SUTO <sj@acts.hu>
2017-08-30 20:46:39 +02:00
Janos SUTO 64056bdc73 src: bdat fix
Signed-off-by: Janos SUTO <sj@acts.hu>
2017-08-30 17:35:19 +02:00
Janos SUTO b2b3ada394 util: fixed database schema lengthes
Signed-off-by: Janos SUTO <sj@acts.hu>
2017-08-30 11:09:21 +02:00
Janos SUTO 1d7e3b0cbb fixed piler.conf mysql character set typo
Signed-off-by: Janos SUTO <sj@acts.hu>
2017-08-30 11:08:50 +02:00
Janos SUTO 896b4b2b57 gui: make content-type lowercase
Signed-off-by: Janos SUTO <sj@acts.hu>
2017-08-27 16:32:06 +02:00
Janos SUTO 5b246d5447 gui: fixed calling html purifier settings
Signed-off-by: Janos SUTO <sj@acts.hu>
2017-08-12 15:55:28 +02:00
Janos SUTO 7cdb016565 gui: improved session handling
Signed-off-by: Janos SUTO <sj@acts.hu>
2017-08-12 15:54:52 +02:00