Commit Graph

638 Commits

Author SHA1 Message Date
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
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
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
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
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
0f2657275c Fixed tear_down_session()
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-02-09 08:55:47 +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
cb56eaeaed Reset buffer in make_digests()
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-01-06 08:36:50 +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
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
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