Commit Graph

691 Commits

Author SHA1 Message Date
Janos SUTO
5cacb212e9 Minor enhancement to syslog pilerimport parameters
Signed-off-by: Janos SUTO <sj@acts.hu>
2023-06-01 19:57:14 +02:00
Janos SUTO
0dfccc1473 Fixed #1293 pilerimport syslogs stats
Signed-off-by: Janos SUTO <sj@acts.hu>
2023-05-28 16:17:31 +02:00
Janos SUTO
0573c6daaf Added timestamps to pilerimport --before/--after in verbose mode
Signed-off-by: Janos SUTO <sj@acts.hu>
2023-03-20 16:32:40 +01:00
Janos SUTO
7e3e8edf49 Added --before and --after support for pilerimport
Signed-off-by: Janos SUTO <sj@acts.hu>
2023-03-20 16:32:40 +01:00
Janos SUTO
7e9a4bcf8d Added checking read_from_pilerexport to pilerimport
Signed-off-by: Janos SUTO <sj@acts.hu>
2023-02-12 13:05:48 +01:00
Janos SUTO
949792ef9a Fixed loading openssl legacy stuff
Signed-off-by: Janos SUTO <sj@acts.hu>
2023-01-25 13:28:51 +01:00
Janos SUTO
63b0caff59 Fixed including provider.h #2
Signed-off-by: Janos SUTO <sj@acts.hu>
2023-01-24 12:35:34 +01:00
Janos SUTO
e0c986e184 Fixed including provider.h
Signed-off-by: Janos SUTO <sj@acts.hu>
2023-01-24 12:22:38 +01:00
Janos SUTO
955b9bd7b6 Load openssl legacy stuff in archive.c to support blowfish cipher for older messages
Signed-off-by: Janos SUTO <sj@acts.hu>
2023-01-24 12:14:01 +01:00
Janos SUTO
76dbfa95c3 Fixed sphx query assembly when storing index data
Signed-off-by: Janos SUTO <sj@acts.hu>
2022-12-29 09:53:45 +01:00
Janos SUTO
e5d14b279e Fixed sphx variable when storing index data
Signed-off-by: Janos SUTO <sj@acts.hu>
2022-12-29 09:22:16 +01:00
Janos SUTO
9cfe92153f Fixed sql query to manticore
Signed-off-by: Janos SUTO <sj@acts.hu>
2022-12-29 09:20:15 +01:00
Janos SUTO
092301e6a6 Use prepare_sphx_statement() for rt index
Signed-off-by: Janos SUTO <sj@acts.hu>
2022-12-29 07:00:15 +01:00
Janos SUTO
9d24300408 Fixed close_sphx() typo
Signed-off-by: Janos SUTO <sj@acts.hu>
2022-12-29 06:41:21 +01:00
Janos SUTO
29dc4685da Write directly to manticore using rt index
Signed-off-by: Janos SUTO <sj@acts.hu>
2022-12-29 06:19:33 +01:00
Janos SUTO
c860ca6799 Added support for pilerexport to spread files among several directories
Signed-off-by: Janos SUTO <sj@acts.hu>
2022-12-05 20:22:49 +01:00
Janos SUTO
cbc852e735 Fixed Sender: and From: lines comparison
Signed-off-by: Janos SUTO <sj@acts.hu>
2022-10-29 15:48:46 +02:00
Janos SUTO
c0cf5da34f Fixed md5 buffer size
Signed-off-by: Janos SUTO <sj@acts.hu>
2022-09-14 20:38:53 +02:00
Janos SUTO
611260fd7e openssl refactor of digest handling
Signed-off-by: Janos SUTO <sj@acts.hu>
2022-09-14 20:08:59 +02:00
Janos SUTO
eb2b22b2bc Fixed parser to properly handle Received: lines
Signed-off-by: Janos SUTO <sj@acts.hu>
2022-05-28 13:04:55 +02:00
Janos SUTO
7d655b569d Added explanation to the long email address issue
Signed-off-by: Janos SUTO <sj@acts.hu>
2022-03-14 12:35:47 +01:00
Janos SUTO
27119a17ab Added support for long email addresses to mitigate sphinx <=3.1.1 issue
Signed-off-by: Janos SUTO <sj@acts.hu>
2022-03-14 12:30:19 +01:00
Janos SUTO
e789d1cd9d Fixed reindex utility
Signed-off-by: Janos SUTO <sj@acts.hu>
2022-02-17 19:32:45 +01:00
Janos SUTO
c274e21823 Fixed handling of the extra_to_field header
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-12-16 10:40:26 +01:00
Janos SUTO
ede81c7f11 Changed type of state->journaltolen to fix a compiler warning
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-12-14 20:53:40 +01:00
Janos SUTO
231e95598c Append all journal recipients to b_journal_to buffer
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-12-14 20:39:07 +01:00
Janos SUTO
09a4e6a356 Fixed duplicated email handling with journal addresses
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-12-10 14:53:02 +01:00
Janos SUTO
06c929ce7e Improved reference handling of imported messages
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-12-09 11:32:39 +01:00
Janos SUTO
e3973144b4 Improved html parsing
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-12-09 11:27:51 +01:00
Janos SUTO
959b729a6e Improved Message-ID parsing
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-12-09 11:02:24 +01:00
Janos SUTO
aea0cf865d Fixed date header parsing
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-10-30 18:40:46 +02:00
Janos SUTO
8685574ede Fixed started column for import jobs
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-08-21 19:33:18 +02:00
Janos SUTO
c2be67aff0 Restore data folder after processing the imported message
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-08-20 13:41:06 +02:00
Janos SUTO
689a06cfa4 Improved imap quite==0
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-08-20 13:23:48 +02:00
Janos SUTO
4ce49d6bc2 Fixed parsing the received lines
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-08-14 19:15:07 +02:00
Janos SUTO
fcaa841da0 Fixed checking for TLSv1.3 support
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-08-13 20:49:27 +02:00
Janos SUTO
e1ea14374a Fixed piler-smtp to properly handle emails with NUL byte(s)
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-07-26 16:56:45 +02:00
Janos SUTO
a9f5562f63 Fixed message/rfc822 parsing
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-07-24 12:39:53 +02:00
Janos SUTO
b2a1666c41 If the calculated date based on Date: header line differs more than 1 week then override it with the data parsed from the first Received: line
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-07-20 13:00:53 +02:00
Janos SUTO
8ffcb6e664 Fixed adding extra recipient for pilerimport
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-07-19 18:07:49 +02:00
Janos SUTO
fbe7a76b65 Fixed dotstuff and while() loop when writing the buffer to disk
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-07-18 16:05:36 +02:00
Janos SUTO
4fd0fd25c5 Fixed reading a line from smtp data stage
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-07-11 17:26:03 +02:00
Janos SUTO
03c22264ea Fixed reindex percent calculation
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-07-11 14:09:16 +02:00
Janos SUTO
9745b078f5 Refactored pop3 download function to fix a dot stuffing error
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-07-03 16:21:48 +02:00
Janos SUTO
0b18c6060f Fixed handling dot stuffing in the DATA stage of the smtp chat
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-07-03 13:08:33 +02:00
Janos SUTO
62fcb37606 Get server_id from piler_id for utilities
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-07-02 10:37:15 +02:00
Janos SUTO
9360b429ce Fixed progressbar for reindex
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-07-02 10:25:19 +02:00
Janos SUTO
817df3c172 Added compat support for openssl 1.0.2 (most notably centos7)
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-06-28 19:39:18 +02:00
Janos SUTO
aab7b712d2 Introduced -Z option for pilerimport to add delay between importing emails
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-06-21 12:52:58 +02:00
Janos SUTO
83530e2036 duplicate detection went to a new function
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-06-02 20:20:10 +02:00