Commit Graph
100 Commits
Author SHA1 Message Date
Janos SUTO a8f037c3e9 Introduced convert_date_string_to_ymd_by_template() function
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-05-01 07:51:46 +02:00
Janos SUTO 7b1028d928 Fixed text for rejected removal
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-04-26 06:44:41 +02:00
Janos SUTO 98b4c3c387 Create an audit entry in case of rejecting the removal of the message
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-04-26 06:30:14 +02:00
Janos SUTO 6c68a25b63 Fixed reject button text for data officer
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-04-26 06:18:10 +02:00
Janos SUTO 007e244b7b Add "R" even if the message is already deleted by data officer
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-04-26 06:11:30 +02:00
Janos SUTO 391005247c Added a red "R" sign to the messages been marked for removal
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-04-26 06:10:08 +02:00
Janos SUTO 22076d261c Added audit message if the email has been marked for removal
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-04-26 06:08:18 +02:00
Janos SUTO b010aaab89 Added missing private action to audit records
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-04-24 19:45:45 +02:00
Janos SUTO 13b10d5f3d If the Date: field contains some garbage return the current timestamp
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-04-22 13:45:05 +02:00
Janos SUTO 3bb6b401a1 Fixed export-attachments.php typo
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-04-19 16:00:30 +02:00
Janos SUTO be39146fd2 PVS Studio refactoring
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-04-18 20:19:26 +02:00
Janos SUTO 5d479b732a Introduced the archive_address feature
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-04-17 07:40:13 +02:00
Janos SUTO 10544fe029 Improved zip export performance
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-04-12 05:16:56 +02:00
Janos SUTO e7d8143186 Trim the response from smarthost with the queue id
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-04-12 05:13:01 +02:00
Janos SUTO 10309b9c25 reindex should cleanup its tempfiles
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-04-10 20:53:05 +02:00
Janos SUTO e6607b0bf1 pilerexport should syslog the sphinx query
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-04-07 20:37:05 +02:00
Janos SUTO edceee12c9 Added command line options to export-attachments.php
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-04-06 18:59:16 +02:00
Janos SUTO ca6fddedf6 Added support for locking to export-attachments.php
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-04-06 10:34:10 +02:00
Janos SUTO 0d1d6cd012 Improved the export-attachments contrib script
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-04-06 10:24:42 +02:00
Janos SUTO 4b79925c60 Fixed counters in test case
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-04-04 08:11:31 +02:00
Janos SUTO d7d0f6cbbc [WIP] Added script to dump all attachments to in/out dirs
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-04-04 07:40:16 +02:00
Janos SUTO f71146685d Added readme to gss_api sso auth
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-04-01 06:29:43 +02:00
Janos SUTO 186e56872a Added teaser to the configure script
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-03-26 14:31:48 +01:00
Janos SUTO 105ff4110a Added support to set min. TLS protocol version
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-03-26 05:19:11 +01:00
Janos SUTO 2139f8e9e4 -Wimplicit-fallthrough=2 is added for gcc 7+
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-03-23 15:17:34 +01:00
Janos SUTO f22cd3daaa Refactored advanced search to modal popup
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-03-10 18:31:37 +01:00
Janos SUTO aee8db1b96 Advanced search should clear the simple search input field
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-03-10 09:32:11 +01:00
Janos SUTO 19ba59b36c Added readme to contrib/proxmox-lxc
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-03-02 06:51:41 +01:00
Janos SUTO 462e6c46a2 Added some proxmox and lxc setup scripts to the contrib dir
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-03-02 06:48:35 +01:00
Janos SUTO fc4f7f65d8 Removed duplicate check for MYSQL_DATABASE env var
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-02-27 07:26:12 +01:00
Janos SUTO 1f0dc438e2 Updated docker readme #2
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-02-25 08:19:43 +01:00
Janos SUTO 14f139ce05 Updated docker readme
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-02-25 08:18:26 +01:00
Janos SUTO 5886e37f99 Updated docker image tag
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-02-23 11:52:11 +01:00
Janos SUTO ba6c9e56aa Updated link in SECURITY.md
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-02-23 11:51:38 +01:00
Janos SUTO 5c2ceb178b Release of 1.3.11
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-02-23 07:26:47 +01:00
Janos SUTO 1283e33e50 Further improved the session timeout handling
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-02-22 05:25:19 +01:00
Janos SUTO 50a2328f64 Refactored epoll timeout check
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-02-22 05:25:05 +01:00
Janos SUTO 9856b92c22 Added debugging to track piler-smtp segfault issue
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-02-22 05:24:12 +01:00
Janos SUTO 6716bec68c Improved the ldap group email detection and display
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-02-15 10:29:44 +01:00
Janos SUTO 890a00f46f Removed dead code: get_message_recipients()
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-02-15 07:07:03 +01:00
Janos SUTO e136bbbcb6 Refactored ldap parameters
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-02-14 16:49:02 +01:00
Janos SUTO 2c05ccc517 Added spam2 folder to sent emails
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-02-14 16:04:26 +01:00
Janos SUTO ed176bf815 Fixed counters for test case
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-02-14 16:00:56 +01:00
Janos SUTO 0f2657275c Fixed tear_down_session()
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-02-09 08:55:47 +01:00
Janos SUTO 9dbfbb74af Added healthcheck to mysql container
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-02-09 07:47:31 +01:00
Janos SUTO aa07811d52 Fixed test case
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-02-08 21:13:47 +01:00
Janos SUTO 0b980f59ce Added curl to docker image
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-02-08 21:12:40 +01:00
Janos SUTO 5d70881463 Added SMTP HELP command to piler-smtp
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-02-08 20:36:11 +01:00
Janos SUTO a1d81a0281 Updated docker-compose.yaml to use mariadb:10.5
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-02-08 20:35:24 +01:00
Janos SUTO 657ceaf11f Fixed docker start.sh
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-02-07 20:33:47 +01:00
Janos SUTO ce811951e5 Fixed docker-compose.yaml
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-02-07 16:48:03 +01:00
Janos SUTO fd2bcf4845 Renamed message_highlight css field to mssghglght because some it interfered with some words
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-02-07 15:15:21 +01:00
Janos SUTO 5aa8d62701 Fixed docker setup not using mysql root account
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-02-05 17:36:51 +01:00
Janos SUTO 8afbd8f56d Let the gui return you last 20 messages automatically when you login
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-02-04 12:34:32 +01:00
Janos SUTO 3a6d99e7bd Fixed dockerfile
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-02-02 17:52:58 +01:00
Janos SUTO 59572444dd imapfetch.py fix
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-01-27 09:05:19 +01:00
Janos SUTO c1b717482b Fixed imap server hostname
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-01-27 09:03:29 +01:00
Janos SUTO a07e909c78 Updated LICENSE file
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-01-21 20:41:44 +01:00
Janos SUTO 2c530d5268 Fixed uid collision issue
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-01-16 15:27:37 +01:00
Janos SUTO e6edbc525b indexer shell scripts should syslog using mail.info
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-01-06 08:38:29 +01:00
Janos SUTO cb56eaeaed Reset buffer in make_digests()
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-01-06 08:36:50 +01:00
Janos SUTO ca7c65b84a The piler binaries paths in config.php should honor the ./configure options
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-01-05 10:05:25 +01:00
Janos SUTO 99a4bf4819 Discard header-only message without a Message-ID line
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-01-04 15:57:45 +01:00
Janos SUTO f8eeb71125 Updated test cases count number
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-01-04 15:57:19 +01:00
Janos SUTO 8678ab7e56 updated release notes
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-01-03 19:39:25 +01:00
Janos SUTO 7fc8f74d0f Improved the nginx config
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-01-03 18:23:50 +01:00
Janos SUTO b740bd5075 Fixed docker config
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-01-03 18:23:35 +01:00
Janos SUTO 624cca58e6 Updated php-fpm socket path to match 7.4
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-01-03 18:23:29 +01:00
Janos SUTO 1288c9fed3 Refactored hbuf and sbuf in piler-smtp.c
Signed-off-by: Janos SUTO <sj@acts.hu>
2020-12-28 20:39:43 +01:00
Janos SUTO 1e6a4b22c1 smtp acl fixes
Signed-off-by: Janos SUTO <sj@acts.hu>
2020-12-28 20:31:11 +01:00
Janos SUTO ed8fc2a6e8 Fixed smtp acl implementation
Signed-off-by: Janos SUTO <sj@acts.hu>
2020-12-28 13:11:29 +01:00
Janos SUTO c1150832dd Fixed header protection text for screen.h
Signed-off-by: Janos SUTO <sj@acts.hu>
2020-12-28 11:30:11 +01:00
Janos SUTO f8a32dd025 Introduced smtp acl
Signed-off-by: Janos SUTO <sj@acts.hu>
2020-12-27 23:40:39 +01:00
Janos SUTO 48ec9b5c4a Add -Wimplicit-fallthrough=2 cflag only to gcc version 7+
Signed-off-by: Janos SUTO <sj@acts.hu>
2020-12-24 16:23:14 +01:00
Janos SUTO fbb5aa8479 write to zip file requires libzip 1.x
Signed-off-by: Janos SUTO <sj@acts.hu>
2020-12-24 15:57:29 +01:00
Janos SUTO 3729ed1ecf pilerimport can read data exported by pilerexport from stdin
Signed-off-by: Janos SUTO <sj@acts.hu>
2020-12-20 22:01:34 +01:00
Janos SUTO 2b4f27372d Added -o option to pilerexport to print everything to stdout
Signed-off-by: Janos SUTO <sj@acts.hu>
2020-12-18 22:42:16 +01:00
Janos SUTO 9dea29d783 pilertest should calculate retention timestamp starting from the sent timestamp
Signed-off-by: Janos SUTO <sj@acts.hu>
2020-12-13 19:49:46 +01:00
Janos SUTO 61834843f1 Fixed sender domain check
Signed-off-by: Janos SUTO <sj@acts.hu>
2020-12-13 08:52:52 +01:00
Janos SUTO 58a164467e Fixed unit tests for sender
Signed-off-by: Janos SUTO <sj@acts.hu>
2020-12-13 08:36:12 +01:00
Janos SUTO 4b37b4fc1a Fixed from/sender processing
Signed-off-by: Janos SUTO <sj@acts.hu>
2020-12-13 07:50:03 +01:00
Janos SUTO d9d5f7db66 Handle the Sender: header line
Signed-off-by: Janos SUTO <sj@acts.hu>
2020-12-12 21:43:16 +01:00
Janos SUTO c08bd7393f Updated the iv config parameter description
Signed-off-by: Janos SUTO <sj@acts.hu>
2020-12-04 19:43:28 +01:00
Janos SUTO 82f6d0c0cf Fixed typo for openssl 1.0.x EVP_bf_cbc()
Signed-off-by: Janos SUTO <sj@acts.hu>
2020-12-04 19:38:21 +01:00
Janos SUTO 33ce44dea5 Fixed unit test to new piler id
Signed-off-by: Janos SUTO <sj@acts.hu>
2020-12-04 16:42:35 +01:00
Janos SUTO d2f3f018c0 Introduced new AES-256 encryption method for new emails
Signed-off-by: Janos SUTO <sj@acts.hu>
2020-12-04 16:30:59 +01:00
Janos SUTO 613f25848d Keep a whitespace character when removing xml tags
Signed-off-by: Janos SUTO <sj@acts.hu>
2020-12-04 14:07:25 +01:00
Janos SUTO a35f8903f7 Reindex should process the attachments as well
Signed-off-by: Janos SUTO <sj@acts.hu>
2020-12-04 13:59:47 +01:00
Janos SUTO e8eb74d07a Fixed gz attachment type search in determine_attachment_type()
Signed-off-by: Janos SUTO <sj@acts.hu>
2020-12-04 13:58:47 +01:00
Janos SUTO 2ed654c87f Prepend a random garbage block to the data to be encrypted
Signed-off-by: Janos SUTO <sj@acts.hu>
2020-12-03 18:12:48 +01:00
Janos SUTO 8c6560f302 Disable the security_header check for imported emails
Signed-off-by: Janos SUTO <sj@acts.hu>
2020-11-28 17:45:37 +01:00
Janos SUTO 535a4aa61c Added security header feature
Signed-off-by: Janos SUTO <sj@acts.hu>
2020-11-26 19:01:45 +01:00
Janos SUTO bb8f6b1e00 Fixed google login
Signed-off-by: Janos SUTO <sj@acts.hu>
2020-11-24 21:44:42 +01:00
Janos SUTO 9225d5b32e Obsoleted util/watch_sphinx_main_index.sh by refactoring indexer.main.sh
Signed-off-by: Janos SUTO <sj@acts.hu>
2020-11-13 21:08:11 +01:00
Janos SUTO f7cc52433c #1124 Fixed pilerpurge to remove the last referenced attachment
Signed-off-by: Janos SUTO <sj@acts.hu>
2020-11-10 20:59:11 +01:00
Janos SUTO 0d1e34007e Added before/since date support to imapfetch.py
Signed-off-by: Janos SUTO <sj@acts.hu>
2020-11-01 08:51:59 +01:00
Janos SUTO d2512f0cff Fixed recursive argument definition in pilerexport.c
Signed-off-by: Janos SUTO <sj@acts.hu>
2020-11-01 08:28:59 +01:00
Janos SUTO 8877285302 Wildcard domain fixes
Signed-off-by: Janos SUTO <sj@acts.hu>
2020-11-01 08:23:08 +01:00
Janos SUTO bfeef2669e Added support for wildcard domains
Signed-off-by: Janos SUTO <sj@acts.hu>
2020-10-31 21:10:41 +01:00
Janos SUTO b5a8255be1 Refactored zip support for pilerexport
Signed-off-by: Janos SUTO <sj@acts.hu>
2020-10-31 07:58:52 +01:00