Commit Graph

554 Commits

Author SHA1 Message Date
Janos SUTO
5830bf5ef7 improved error handling for sql insert failures
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-01-23 20:02:50 +01:00
Janos SUTO
06b5954070 improved mysql logging
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-01-23 20:00:40 +01:00
Janos SUTO
b4e1a6cf44 fix for ks_c_5601-1987 encoding
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-01-23 20:00:20 +01:00
Janos SUTO
67dcb496a4 remove commented out unlink pidfile from piler-smtp.c
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-01-16 10:57:56 +01:00
Janos SUTO
bef68aec3a added pidfile check in piler.c to prevent multiple start of the piler daemon
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-01-11 10:56:32 +01:00
Janos SUTO
e03a9f2982 test: added new unit tests
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-01-11 10:20:02 +01:00
Janos SUTO
723f0b5c5f additional parser fix
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-01-11 09:59:58 +01:00
Janos SUTO
1c8dc1cc68 parser fix to support some emojis in subject line
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-01-11 09:28:45 +01:00
Janos SUTO
6eb6d5aebc added remote smtp host to piler-smtp received: log message
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-01-02 09:16:19 +01:00
Janos SUTO
018e6ca07a src: added proper usage text to piler daemons
Signed-off-by: Janos SUTO <sj@acts.hu>
2017-11-30 10:32:14 +01:00
Janos SUTO
b90438bef6 src: fix for multiple filename in a single mime part line
Signed-off-by: Janos SUTO <sj@acts.hu>
2017-11-28 08:56:39 +01:00
Janos SUTO
1192fc3218 src: decoder and parser fix
Signed-off-by: Janos SUTO <sj@acts.hu>
2017-11-08 11:50:28 +01:00
Janos SUTO
25aeff66ba src: fix gb2312 -> utf8 iconv conversion issue
Signed-off-by: Janos SUTO <sj@acts.hu>
2017-11-07 19:24:06 +01:00
Janos SUTO
1c27ead3af src: syslog if problematic message is moved
Signed-off-by: Janos SUTO <sj@acts.hu>
2017-11-07 15:25:17 +01:00
Janos SUTO
36b1e03939 src: move problematic messages to error directory
Signed-off-by: Janos SUTO <sj@acts.hu>
2017-11-07 15:07:56 +01:00
Janos SUTO
6af77bf0f1 src: timeout check fix
Signed-off-by: Janos SUTO <sj@acts.hu>
2017-11-05 16:17:56 +01:00
Janos SUTO
9646225ae9 src: fixing aborted connection handling, mostly from o365
Signed-off-by: Janos SUTO <sj@acts.hu>
2017-11-05 08:35:01 +01:00
Janos SUTO
20d41eb261 src: improved sessin logging
Signed-off-by: Janos SUTO <sj@acts.hu>
2017-11-04 15:34:34 +01:00
Janos SUTO
c96693f98f piler-smtp wont scare users with epoll error if the remote end just disconnected
Signed-off-by: Janos SUTO <sj@acts.hu>
2017-11-01 07:54:16 +01:00
Janos SUTO
0232f3cb81 bumped version to 1.3.2
Signed-off-by: Janos SUTO <sj@acts.hu>
2017-10-29 08:32:46 +01:00
Janos SUTO
052a93fc3d src: dir import fix #3
Signed-off-by: Janos SUTO <sj@acts.hu>
2017-10-28 22:33:47 +02:00
Janos SUTO
7b0f93edf6 src: dir import fix #2
Signed-off-by: Janos SUTO <sj@acts.hu>
2017-10-28 22:27:33 +02:00
Janos SUTO
8d41af27d0 src: fixed recursive directory import
Signed-off-by: Janos SUTO <sj@acts.hu>
2017-10-28 22:13:08 +02:00
Janos SUTO
445e6e96bd src: fix the smtp protocol handling
Signed-off-by: Janos SUTO <sj@acts.hu>
2017-10-18 20:34:51 +02:00
Janos SUTO
631e8de191 src: fix html parsing + added amazon journaling support
Signed-off-by: Janos SUTO <sj@acts.hu>
2017-09-06 19:55:30 +02:00
Janos SUTO
b2c372b0fe src: bdat fix
Signed-off-by: Janos SUTO <sj@acts.hu>
2017-08-30 20:46:39 +02:00
Janos SUTO
64056bdc73 src: bdat fix
Signed-off-by: Janos SUTO <sj@acts.hu>
2017-08-30 17:35:19 +02:00
Janos SUTO
7e67db16ae src: fixed typo in sql refactoring
Signed-off-by: Janos SUTO <sj@acts.hu>
2017-08-11 19:44:36 +02:00
Janos SUTO
63e21aa7d1 src: sql structure refactoring
Signed-off-by: Janos SUTO <sj@acts.hu>
2017-08-11 18:18:45 +02:00
Janos SUTO
d0c432bd79 src: removed not used smtp messages from smtpcodes.h
Signed-off-by: Janos SUTO <sj@acts.hu>
2017-08-09 15:35:45 +02:00
Janos SUTO
f4f0806e40 src: fix smtp response code for helo command
Signed-off-by: Janos SUTO <sj@acts.hu>
2017-08-08 20:27:19 +02:00
Janos SUTO
ac3ae0e2f3 src: imap folder fix
Signed-off-by: Janos SUTO <sj@acts.hu>
2017-08-08 16:04:54 +02:00
Janos SUTO
950211687f src: refactoring
Signed-off-by: Janos SUTO <sj@acts.hu>
2017-08-08 15:34:45 +02:00
Janos SUTO
0ea240dab3 improved pilertest
Signed-off-by: Janos SUTO <sj@acts.hu>
2017-07-09 16:48:31 +02:00
Janos SUTO
17f21f1bc3 src: openssl 1.1 fix
Signed-off-by: Janos SUTO <sj@acts.hu>
2017-07-07 21:55:40 +02:00
Janos SUTO
20b50b7f21 src: bump up build number
Signed-off-by: Janos SUTO <sj@acts.hu>
2017-07-07 21:48:57 +02:00
Janos SUTO
3289b3fc27 src: pilerimport counter display fix
Signed-off-by: Janos SUTO <sj@acts.hu>
2017-07-07 21:48:06 +02:00
Janos SUTO
ae5123ac3c src: openssl 1.1 support for pilerimport
Signed-off-by: Janos SUTO <sj@acts.hu>
2017-07-07 21:47:25 +02:00
Janos SUTO
30d8861b5d src: added openssl 1.1 support
Signed-off-by: Janos SUTO <sj@acts.hu>
2017-07-07 21:46:35 +02:00
Janos SUTO
2036843b88 release of 1.3.0
Signed-off-by: Janos SUTO <sj@acts.hu>
2017-06-25 08:23:38 +00:00
Janos SUTO
1a0acb0185 switch from utf8 to utf8mb4 on the database level
Signed-off-by: Janos SUTO <sj@acts.hu>
2017-06-24 06:07:38 +00:00
Janos SUTO
0cf7bfa04a parser: remove isHexNumber() function
Signed-off-by: Janos SUTO <sj@acts.hu>
2017-06-13 19:46:48 +00:00
SJ
a94019f09f util: rewritten pilerpurge in python
Change-Id: I2dfa02fa287a02c636f5c91914c3b8e4bef0e764
Signed-off-by: SJ <sj@acts.hu>
2017-05-14 22:18:05 +02:00
SJ
c0308ac70b rename path fix
Change-Id: Ib46c6e869fb0ce31ff90f3bc33f60ef2bfcbaddb
Signed-off-by: SJ <sj@acts.hu>
2017-05-14 17:48:47 +02:00
SJ
a21328139c Resolved issue #791
Change-Id: Ie9477db7e13490e1b19594a8d9f8e56d215c8f1d
Signed-off-by: SJ <sj@acts.hu>
2017-05-14 17:18:09 +02:00
SJ
a831d8cd2e starttls fix
Change-Id: I271bb3bb0db4308254fe193efddcdb19fd0ab9f0
Signed-off-by: SJ <sj@acts.hu>
2017-05-12 20:57:06 +02:00
SJ
961ae7afee improved the search feature
Change-Id: Ia714ffade38edc9dd19b70ba37f996e6705ce057
Signed-off-by: SJ <sj@acts.hu>
2017-05-06 20:15:41 +02:00
SJ
12ea64c90b src: remove unused syslog() call
Change-Id: I39bedda7cef2c06a554378c588713b3ebbf5a818
Signed-off-by: SJ <sj@acts.hu>
2017-04-14 21:43:51 +02:00
SJ
0489af6cbb src: fixed ssl_accept handling
Change-Id: Ibebe79a3e740eded4238061ab5feac51d45af0d8
Signed-off-by: SJ <sj@acts.hu>
2017-04-14 17:38:55 +02:00
SJ
71f0af9bb2 parser: fixed aaa+bbb@aaa.fu recipient address
Change-Id: I56b8065edc1a2efb371911236108acbbdb051233
Signed-off-by: SJ <sj@acts.hu>
2017-03-05 21:16:18 +01:00
SJ
a59e322c2c fixed logging
Change-Id: I568e5f3cc4fbe898a77bde7c7a16ffc88edf546d
Signed-off-by: SJ <sj@acts.hu>
2017-03-04 17:45:39 +01:00
SJ
2b4c64de0e antivirus fixes
Change-Id: If5d5caee19880ba121d7f1165a22f7e8b811e476
Signed-off-by: SJ <sj@acts.hu>
2017-01-26 20:16:33 +01:00
SJ
2c55ff96f7 antivirus check refactored
Change-Id: I47d599239dac13f7bc455070dd5a84dd034cbb42
Signed-off-by: SJ <sj@acts.hu>
2017-01-25 22:19:12 +01:00
SJ
376b0345e1 smtp session fixes
Change-Id: I2e1b7dac87d5513e3dfefe4823dcaf43167f1d64
Signed-off-by: SJ <sj@acts.hu>
2017-01-18 09:38:30 +01:00
SJ
7c3d659194 terminate fix for piler-smtp
Change-Id: I07592f4bc68549a0bdae155b8bff4035bdb213dd
Signed-off-by: SJ <sj@acts.hu>
2016-12-22 10:46:11 +01:00
SJ
96625883bb Update the imap noselect fix
Change-Id: I91c260dec9e50e0b12d51f2bcc2b843c579acca6
Signed-off-by: SJ <sj@acts.hu>
2016-12-19 20:25:09 +01:00
SJ
3be31d52ac fix a Noselect imap folder problem
Change-Id: I128fbeb45c56f7d456cac5c71d5a0c31de263976
Signed-off-by: SJ <sj@acts.hu>
2016-12-19 20:25:09 +01:00
SJ
1a68d37a36 minor fixes
Change-Id: I16d16df9db05219fefd918d2c977e6ee6cc9f5f0
Signed-off-by: SJ <sj@acts.hu>
2016-11-26 11:49:08 +01:00
SJ
0b95fc19ac code refactoring
Change-Id: I6b634f1cc57b69a243259ad424b7c7aab6b93736
Signed-off-by: SJ <sj@acts.hu>
2016-11-12 10:48:08 +01:00
SJ
f3cf6896a7 removed debug info
Change-Id: I5192cd078f39987fff4b58972697f57773584a7c
Signed-off-by: SJ <sj@acts.hu>
2016-11-10 22:11:29 +01:00
SJ
a59508b994 listener socket fix
Change-Id: I6a81c4ab345b072b2bf6e3b1a3b914a6da08a49e
Signed-off-by: SJ <sj@acts.hu>
2016-11-10 21:25:42 +01:00
SJ
1c941a6433 initial release of an epoll version
Change-Id: I53bf6621abdbfeb6b5d5f22c2aa632d29c48441b
Signed-off-by: SJ <sj@acts.hu>
2016-11-06 22:16:03 +01:00
SJ
2e5ddbaef5 added some explanation to example.conf
Change-Id: I859b48c70008a4961c87cd23c16ce9573bf8a18a
Signed-off-by: SJ <sj@acts.hu>
2016-10-31 09:39:17 +01:00
SJ
f4e9238aaf lowering the default max connection value to 64
Change-Id: Ib0f317d6ed0480686d2dbf4ddcfd4a97315959a7
Signed-off-by: SJ <sj@acts.hu>
2016-10-31 09:27:12 +01:00
SJ
4a1c1785d1 user can sepcify the max connections piler-smtp can handle
Change-Id: Id92d625d354838558a63dfdd668143168bb7ebee
Signed-off-by: SJ <sj@acts.hu>
2016-10-30 22:53:49 +01:00
SJ
49348fd261 syslog recipients
Change-Id: I9d7e5307447babb71ab152d33b0f02d9bf05384f
Signed-off-by: SJ <sj@acts.hu>
2016-10-29 10:32:12 +02:00
SJ
d314a606b2 move email fix
Change-Id: Ie9754cae0d08c6717069cff2d6c93443f5e48066
Signed-off-by: SJ <sj@acts.hu>
2016-10-28 22:37:12 +02:00
SJ
cf1d7bdf45 improved queue id generation
Change-Id: I8a0f91eabd3eaf6c074946f723147a3f6ef925d9
Signed-off-by: SJ <sj@acts.hu>
2016-10-28 22:11:14 +02:00
SJ
37d4babd38 added a queue id to piler-smtp
Change-Id: Id616c31c709ccc3e986c7cbe46f23ec927efa5df
Signed-off-by: SJ <sj@acts.hu>
2016-10-28 21:46:25 +02:00
SJ
4e5ded4da9 ttmpfile name fix
Change-Id: I51af73005423177055fac2c41f1c2588ea2e20de
Signed-off-by: SJ <sj@acts.hu>
2016-10-28 20:17:36 +02:00
SJ
e6e83a1635 minor fixes
Change-Id: I0b6c8c53bbe65c3a6f4b01b64c6883b8560acfbd
Signed-off-by: SJ <sj@acts.hu>
2016-10-28 20:00:46 +02:00
SJ
d505fd10c2 piler.c trimming
Change-Id: I0b1ca133a291680534171b517bcfdaf70e0302b3
Signed-off-by: SJ <sj@acts.hu>
2016-10-28 19:32:59 +02:00
SJ
028ee95365 import fix
Change-Id: Idbbf7f8204d52710d58f4fc23139c3dbf7b339c6
Signed-off-by: SJ <sj@acts.hu>
2016-10-26 22:33:29 +02:00
SJ
edd4ff0349 processing fix
Change-Id: Idde6a32aa3cca70850dd34b13cf4986dc17c5e3b
Signed-off-by: SJ <sj@acts.hu>
2016-10-26 22:18:18 +02:00
SJ
076b918008 added dir import to piler.c
Change-Id: Ic2aa7c259c2c4e420ed25f6b9d07929c1317bef7
Signed-off-by: SJ <sj@acts.hu>
2016-10-26 21:26:20 +02:00
SJ
5f5585d519 first demo of the new architecture
Change-Id: Id76636f30173465fbd0e8516d99017b4336de4db
Signed-off-by: SJ <sj@acts.hu>
2016-10-23 22:04:55 +02:00
SJ
6783f9eec5 freebsd compile fix
Change-Id: I86c8f7dbf477200883be39bbc0fb5deb6b027a17
Signed-off-by: SJ <sj@acts.hu>
2016-10-21 07:41:30 +02:00
SJ
754a0ca632 release of 1.2.0
Change-Id: I682745cac75ebf665e292165b45c5ba324c67f87
Signed-off-by: SJ <sj@acts.hu>
2016-10-07 10:31:04 +02:00
SJ
7b3564bd0a reverted the fixmetadata commit
Change-Id: Iea5249f81d4915ff91c13ddd4dbab8ef059d8ba7
Signed-off-by: SJ <sj@acts.hu>
2016-10-06 22:36:53 +02:00
SJ
6c8180e4cd piler.conf path fix
Change-Id: Ifa97cbc7cc306d8a60e77cde0f15773787692c32
Signed-off-by: SJ <sj@acts.hu>
2016-09-18 17:02:39 +02:00
SJ
857ba6e9a4 enable using the extra email address for pilerimport
Change-Id: I9d0a8f7a61d4b69e3cd0ba3b5a4010fde3356c46
Signed-off-by: SJ <sj@acts.hu>
2016-09-17 22:33:02 +02:00
SJ
338571d299 compile fixes for gcc 5
Change-Id: Ifdf5736620632cb5eabb745b9d3ee1f830478826
Signed-off-by: SJ <sj@acts.hu>
2016-09-13 21:17:51 +02:00
SJ
802c811a70 bdat fix
Change-Id: I2cb8ca7220fe3aadabf7d13d16826305a21b9372
Signed-off-by: SJ <sj@acts.hu>
2016-08-31 18:07:23 +02:00
SJ
ef767e83a0 session fix
Change-Id: I1d4e8057f8db594981072584dd3a370795c8d727
Signed-off-by: SJ <sj@acts.hu>
2016-08-31 17:47:18 +02:00
SJ
3174bcb016 smtp transaction fix
Change-Id: I5ce784a0a4d88f5170de8a9325e857fca4745a83
Signed-off-by: SJ <sj@acts.hu>
2016-08-31 17:09:33 +02:00
Janos SUTO
a6e3c68e3a session.c edited online with Bitbucket 2016-08-31 10:47:21 +00:00
Janos SUTO
79d7e1fb56 smtp.h edited online with Bitbucket 2016-08-31 10:37:13 +00:00
Janos SUTO
65a5d48ad2 smtp.c edited online with Bitbucket 2016-08-31 10:35:31 +00:00
SJ
15aa501bc8 protocol fix for bdat
Change-Id: I8396b2988e190d99934753da66dcb3165ed4af2b
Signed-off-by: SJ <sj@acts.hu>
2016-08-23 07:31:42 +02:00
SJ
27a484af3c more bdat refactoring
Change-Id: I9b2f78ff103beb775c6214509ae50099f93ca0fb
Signed-off-by: SJ <sj@acts.hu>
2016-08-21 21:15:48 +02:00
SJ
64827038de added config to sctx
Change-Id: Ie2e12941934c75aa07ed7f358fda37407f9b0d89
Signed-off-by: SJ <sj@acts.hu>
2016-08-21 09:30:09 +02:00
SJ
783ffb96c7 parser reference fix
Change-Id: I9c074b2512972f25f260477e5ba751c727d35a18
Signed-off-by: SJ <sj@acts.hu>
2016-08-21 09:10:13 +02:00
SJ
d87dc6847c improved session handling
Change-Id: I8d7d6acec884ca4909bd00caec7018d447cbb6e7
Signed-off-by: SJ <sj@acts.hu>
2016-08-21 09:03:01 +02:00
SJ
8695663104 BDAT fixes
Change-Id: Ifd5f7342378a2feddafa1faba69645107bee90a1
Signed-off-by: SJ <sj@acts.hu>
2016-08-19 23:27:24 +02:00
SJ
02bc3cffa7 added bdat support
Change-Id: I831afeda8b1f026b2f7675a609a0ed345a267340
Signed-off-by: SJ <sj@acts.hu>
2016-08-19 22:33:47 +02:00
SJ
25c2581e80 session.c refactoring #3
Change-Id: I280221dc2ed0a997175526c165716195f8dbc357
Signed-off-by: SJ <sj@acts.hu>
2016-08-19 20:04:53 +02:00
SJ
27f7a99dd9 session.c refactorig #2
Change-Id: I9fc31ff4ea5c4f18571451dfb1e0a0c4cd1fa3a0
Signed-off-by: SJ <sj@acts.hu>
2016-08-18 00:02:04 +02:00
SJ
e6559bc906 heavy refactoring of session.c
Change-Id: Iddde0479444dae15a61fa32ea4fd8ae894029183
Signed-off-by: SJ <sj@acts.hu>
2016-08-17 23:22:02 +02:00
SJ
28a9d86951 added chunking advertising to ehlo response
Change-Id: I89b4c3e8bc1228d42ff97d4f47f2178e3b603723
Signed-off-by: SJ <sj@acts.hu>
2016-08-17 21:47:19 +02:00
SJ
d04776fb5f journal fix
Change-Id: I4b4f4e8e6924d0f5c910ddd2affee7b0841d93b5
Signed-off-by: SJ <sj@acts.hu>
2016-05-30 10:17:54 +02:00