Commit Graph

627 Commits

Author SHA1 Message Date
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
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