Commit Graph

618 Commits

Author SHA1 Message Date
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
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
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
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
b5a8255be1 Refactored zip support for pilerexport
Signed-off-by: Janos SUTO <sj@acts.hu>
2020-10-31 07:58:52 +01:00
Janos SUTO
5331297c55 Added option to write exported files to a zip file
Signed-off-by: Janos SUTO <sj@acts.hu>
2020-10-30 23:56:52 +01:00
Janos SUTO
1d615a1967 Added support for gui import
Signed-off-by: Janos SUTO <sj@acts.hu>
2020-10-27 21:53:16 +01:00
Janos SUTO
2d084e17d8 Attachment filename is added to the indexed body
Signed-off-by: Janos SUTO <sj@acts.hu>
2020-10-24 18:47:10 +02:00
Janos SUTO
f514d68bd1 Added a separator to searching for attachment names
Signed-off-by: Janos SUTO <sj@acts.hu>
2020-08-11 20:36:18 +02:00
Janos SUTO
e118feb3ab More refactoring
Signed-off-by: Janos SUTO <sj@acts.hu>
2020-08-10 21:58:06 +02:00
Janos SUTO
345fd715f5 cppcheck refactoring
Signed-off-by: Janos SUTO <sj@acts.hu>
2020-08-10 20:58:34 +02:00
Janos SUTO
47838a059f pilerimport.c fixes
Signed-off-by: Janos SUTO <sj@acts.hu>
2020-08-08 21:29:41 +02:00
Janos SUTO
cf97a9161b pilerexport.c fixes
Signed-off-by: Janos SUTO <sj@acts.hu>
2020-08-08 21:28:25 +02:00
Janos SUTO
3e33bf99c8 piler-smtp.c fixes
Signed-off-by: Janos SUTO <sj@acts.hu>
2020-08-08 21:28:09 +02:00
Janos SUTO
8a5e01c5c5 piler.c fixes
Signed-off-by: Janos SUTO <sj@acts.hu>
2020-08-08 21:27:54 +02:00
Janos SUTO
7ce0f42e7b Use TLS v1.2 with openssl 1.0.x for connecting remote pop3/imap servers
Signed-off-by: Janos SUTO <sj@acts.hu>
2020-07-23 09:15:39 +02:00
Janos SUTO
97f63a11a6 gcc 9 fixes
Signed-off-by: Janos SUTO <sj@acts.hu>
2020-06-29 19:38:38 +02:00
Janos SUTO
a01a3b9eb5 Fixed parser issue for attachment directly in the email, no mime
Signed-off-by: Janos SUTO <sj@acts.hu>
2020-03-14 07:43:19 +01:00
Janos SUTO
d687fa16ab Code cleanup
Signed-off-by: Janos SUTO <sj@acts.hu>
2020-03-03 15:47:02 +01:00
Janos SUTO
ee7f5d970b Fixed attachment rule evaluation
Signed-off-by: Janos SUTO <sj@acts.hu>
2020-03-03 11:09:34 +01:00
Janos SUTO
5e58f74981 Added support for mysql 8.0.x
Signed-off-by: Janos SUTO <sj@acts.hu>
2020-02-26 20:42:24 +01:00
Janos SUTO
e5062a22d8 Read version info from VERSION file
Signed-off-by: Janos SUTO <sj@acts.hu>
2020-02-23 11:47:05 +01:00
Janos SUTO
4c0030b636 Removed unused *q variable
Signed-off-by: Janos SUTO <sj@acts.hu>
2020-02-16 10:33:21 +01:00
Janos SUTO
5a548be06c Moved tokenization code to tokenizer.c
Signed-off-by: Janos SUTO <sj@acts.hu>
2020-02-16 10:15:11 +01:00
Janos SUTO
936f27c7a5 Fixed using the lasttime smtp session variable
Signed-off-by: Janos SUTO <sj@acts.hu>
2019-12-15 15:08:16 +01:00
Janos SUTO
779175b596 Revised deferring alarm signal
Signed-off-by: Janos SUTO <sj@acts.hu>
2019-12-03 21:03:36 +01:00
Janos SUTO
8aa2f52308 Checking for short write() in process_data()
Signed-off-by: Janos SUTO <sj@acts.hu>
2019-11-27 21:30:32 +01:00
Janos SUTO
52e7e6293c Protect fsync() and close() from SIGALRM
Signed-off-by: Janos SUTO <sj@acts.hu>
2019-11-27 21:08:00 +01:00
Janos SUTO
34e25f6c74 Introduced check_for_client_timeout_interval config parameter
Signed-off-by: Janos SUTO <sj@acts.hu>
2019-11-27 20:47:04 +01:00
Janos SUTO
f9162bc085 Fixed another make_random_string() call
Signed-off-by: Janos SUTO <sj@acts.hu>
2019-11-27 20:45:30 +01:00
Janos SUTO
ce193974f1 Refactored make_random_string()
Signed-off-by: Janos SUTO <sj@acts.hu>
2019-11-27 20:11:07 +01:00
Janos SUTO
65cc7ebc76 Added docker support
Signed-off-by: Janos SUTO <sj@acts.hu>
2019-08-04 10:40:05 +02:00
Janos SUTO
2227163b68 Print libzip availability at both configure and piler -V output
Signed-off-by: Janos SUTO <sj@acts.hu>
2019-05-06 13:52:57 +02:00
Janos SUTO
f2e4cb1afe Released version 1.3.5
Signed-off-by: Janos SUTO <sj@acts.hu>
2019-04-21 18:46:57 +02:00
Janos SUTO
19ada1288d Fixed #974
Signed-off-by: Janos SUTO <sj@acts.hu>
2019-04-07 12:54:46 +02:00
Janos SUTO
77eaf64050 A minor fix for check_against_...
Signed-off-by: Janos SUTO <sj@acts.hu>
2019-01-13 15:22:27 +00:00
Janos SUTO
dd17184430 Fixed data.import issue
Signed-off-by: Janos SUTO <sj@acts.hu>
2019-01-13 15:12:14 +00:00