Commit Graph

596 Commits

Author SHA1 Message Date
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
Janos SUTO
4c4e1b52b3 Fix #957 missing extra recipient address
Signed-off-by: Janos SUTO <sj@acts.hu>
2019-01-13 13:40:01 +00:00
Janos SUTO
11a78de0c8 Fixed signedness of count_match()
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-11-03 21:54:44 +01:00
Janos SUTO
0e585cf2ca Refactored parser.c
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-11-03 17:12:20 +01:00
Janos SUTO
53249db1eb Refactored rules.c
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-11-03 17:12:07 +01:00
Janos SUTO
78dd67613b Fixed init_ssl() name to init_ssl_to_server()
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-11-03 15:19:08 +01:00
Janos SUTO
2c3f29db44 use init_ssl from misc.c in unit_tests/smtp.c
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-11-03 15:14:41 +01:00
Janos SUTO
d97e653e8c Removed code duplication from rules.c
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-11-03 15:02:54 +01:00
Janos SUTO
6e47f50ffd Removed code duplication from memc.c
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-11-03 14:57:55 +01:00
Janos SUTO
ab488283ec Removing code duplicates from imap.c and pop3.c
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-11-03 14:31:02 +01:00
Janos SUTO
c92ad1bf7e improved logging in message.c
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-10-23 11:56:50 +00:00
Janos SUTO
afa6fc7a7c Fix ctx initialization
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-10-17 07:26:46 +00:00
Janos SUTO
2d0beab92a Fixed signed vs. unsigned comparisons
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-10-17 07:26:07 +00:00
Janos SUTO
cb4b65a840 Even more refactoring for rules.c
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-10-17 06:56:50 +00:00
Janos SUTO
181febf950 Refactored query_retain_period()
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-10-17 06:47:43 +00:00
Janos SUTO
084d578273 Removed unused data parameter from several functions
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-09-29 08:43:50 +02:00
Janos SUTO
25676445e6 Added more debug info to move_email()
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-08-09 09:23:47 +00:00
Janos SUTO
f72a87ca60 use proper boundary checking for to_domain string
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-07-12 20:16:08 +00:00
Janos SUTO
bb6e0578b7 add return value check to system() call
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-07-12 05:53:26 +00:00
Janos SUTO
5d31891f87 pilerstats shows the delta between now and the last archived email
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-07-11 06:18:39 +00:00
Janos SUTO
c5959f79c4 Fixed attachment name parsing
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-07-10 11:18:19 +00:00
Janos SUTO
3ce983bb37 fix bcc address handling
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-06-24 14:40:18 +02:00
Janos SUTO
fb7aef0ddf minor bdat fix
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-06-24 14:08:09 +02:00