Commit Graph

554 Commits

Author SHA1 Message Date
SJ
ed0a8bafd5 logging option to the prepared statement 2015-07-24 14:28:31 +02:00
SJ
fe499d18c1 added a list of extractors for the -V list 2015-07-17 14:50:49 +02:00
SJ
863d9ecb50 added an option to decide whether to add rcpt to addresses to rcpt table 2015-06-25 21:13:33 +02:00
SJ
842fc6b434 improved imap error message 2015-05-22 11:36:36 +02:00
SJ
7c3aa6b152 improved piler own header line handling 2015-05-17 21:41:13 +02:00
SJ
89fd162f4f improved dedup helper 2015-05-14 14:35:07 +02:00
SJ
20ed9b9e6d Merge branch 'mmap_dedup' 2015-05-13 11:54:58 +02:00
SJ
e45b5abb0c journal parser fix 2015-05-12 20:40:55 +02:00
SJ
533e486973 journal parsing fix 2015-05-12 10:56:03 +02:00
SJ
ab344e0385 added a mmap based ipc feature to prevent duplicates 2015-05-09 14:31:20 +02:00
SJ
4c52250a91 dup detection fix 2015-05-09 12:06:45 +02:00
SJ
ef5ee32a7f improved cipher list for tls 2015-05-06 12:22:48 +02:00
SJ
54410669d4 dedup debug message 2015-05-06 12:22:15 +02:00
SJ
12c1c62a35 do not transform imap folder names 2015-04-09 21:26:55 +02:00
SJ
fa9ce0f715 fixed a journal parsing issue 2015-04-09 18:23:53 +02:00
SJ
aaa16d0151 improved legal hold feature 2015-03-29 09:59:41 +02:00
SJ
f5a2144cb5 prevent too future dates 2015-03-29 09:55:29 +02:00
SJ
2da754a7de improved parsing of email addresses 2015-03-23 14:09:22 +01:00
SJ
f7bafa1932 extract fix 2015-03-20 15:46:10 +01:00
SJ
78728c2c6e added version number for piler -v 2015-03-18 11:20:46 +01:00
SJ
fc08523afa extract fix 2015-03-18 11:00:42 +01:00
SJ
30f5aafc32 updated extract.c 2015-03-17 12:07:48 +01:00
SJ
f0963cdfbd improved attachment extraction 2015-03-17 12:03:45 +01:00
SJ
e46b1e9f64 added a security check for extracting zip / tnef attachments 2015-03-16 13:06:57 +01:00
SJ
4c489d1a47 added a safety check for zip extraction 2015-03-16 11:10:52 +01:00
SJ
30a4b8d782 added body option for the rules check 2015-03-11 12:54:31 +01:00
SJ
1e74472480 release of 1.1.1 2015-03-10 20:35:42 +01:00
SJ
c01f0afc18 add a global extractor enable/disable option to piler.conf 2015-02-14 19:47:40 +01:00
SJ
ad85dd1a2f added compat storage layout 2015-02-01 10:40:18 +01:00
SJ
74bf302126 improved log message for corrupt zip files 2015-01-27 09:54:49 +01:00
SJ
9244105f4b improved zip file handling 2015-01-26 21:34:03 +01:00
SJ
40d50f7115 journal fix for outlook 2015-01-19 16:00:38 +01:00
SJ
73f86e5b88 added VERSION file 2015-01-16 22:51:37 +01:00
SJ
66db430f24 better parsing of multiline subjects 2015-01-09 12:00:59 +01:00
SJ
12649bee12 imap login fix 2014-12-15 22:20:53 +01:00
SJ
aba29bff77 date parser fix 2014-12-03 14:30:26 +01:00
SJ
5ce5d28c00 save & and ' in the email addresses 2014-11-26 11:50:03 +01:00
SJ
74db18063b fixed mydomains case sensitivity issue 2014-11-25 15:54:50 +01:00
SJ
6fed43bddd introduced helper_timeout parameter 2014-11-04 12:01:39 +01:00
SJ
eb2aa4df8f pilerimport fixes 2014-10-15 23:22:36 +02:00
SJ
3aa0ebe4a6 sslv3 fix 2014-10-15 22:53:09 +02:00
SJ
636f673d3f cosmetic fix for pilerimport 2014-10-15 22:51:50 +02:00
SJ
a49c181c86 parser fix 2014-10-15 11:00:47 +02:00
SJ
0a78b061d5 imap import fixes 2014-10-15 09:36:09 +02:00
SJ
2a49299c82 pilerimport fixes 2014-10-13 09:58:39 +02:00
SJ
8798ea7921 import port fix 2014-10-10 14:57:26 +02:00
SJ
cd53d12099 added support for extended notation in attachment filenames, see RFC5987 2014-10-03 11:38:49 +02:00
SJ
d26b3a7e74 directory write ability check for some piler binaries 2014-10-02 10:02:33 +02:00
SJ
f048e5c4e7 piler daemon reload fix 2014-09-18 10:44:45 +02:00
SJ
8c6af1710b emit the error in case of pop3 login problem 2014-09-10 16:12:35 +02:00
SJ
48a86ed82b check attachment size as well as sha256 sum 2014-09-10 14:55:07 +02:00
SJ
845f60bece pop3 import message fixes 2014-09-04 14:57:23 +02:00
SJ
9b279af0c6 added start position option for pop3 imports 2014-09-03 11:39:52 +02:00
SJ
977744d757 added a batch limit option to processing emails from a pop3 account 2014-09-02 12:54:11 +02:00
SJ
5551df3f9d decoding fixes 2014-08-30 21:10:29 +02:00
SJ
8b67083157 release of v1.1.0 2014-08-19 11:12:25 +02:00
SJ
1852d90211 added logging recipients 2014-08-18 12:58:45 +02:00
SJ
ccf4d72dd2 boundary parser fix in the binaries 2014-08-13 15:09:24 +02:00
SJ
78f120a130 added a meta fix for outlook 2014-08-12 14:25:37 +02:00
SJ
537641afd9 imap fixes 2014-07-22 16:00:03 +02:00
SJ
850445a324 added a progress counter for reindex 2014-07-16 23:26:37 +02:00
SJ
4c352efb76 imap fix 2014-07-16 12:39:54 +02:00
SJ
8b9ea09144 sql errno fix 2014-07-10 11:54:37 +02:00
SJ
0ff5ab90a4 errno fix 2014-07-10 10:20:17 +02:00
SJ
5abff0fe48 added errno support for prepared statement execution 2014-07-10 09:55:07 +02:00
SJ
d73a38830d do not treat as a fatal error if a recipient cannot be added 2014-07-09 21:34:18 +02:00
SJ
f72ff6839e verp fix 2014-07-08 16:39:07 +02:00
SJ
5411414981 imap protocol fix 2014-07-08 15:16:23 +02:00
SJ
bbd81faf0b verp fix 2014-07-07 16:45:37 +02:00
SJ
d79b1f97c7 verp fix 2014-07-01 11:43:36 +02:00
SJ
39a2e6a306 support for VERP addresses 2014-06-30 16:10:36 +02:00
SJ
284c434612 fixed a rule checking bug 2014-06-30 14:44:33 +02:00
SJ
ff50fa42e6 extra recipient fix 2014-06-05 15:37:47 +02:00
SJ
196c6d272f reindex sent date fix 2014-06-04 23:23:13 +02:00
SJ
ea5513105a extra recipient for piler 2014-06-04 22:20:10 +02:00
SJ
ccc7ad20da better date parsing 2014-05-23 14:27:02 +02:00
SJ
de3a6fff76 smtp errmsg fix 2014-05-23 14:07:58 +02:00
SJ
8227183443 format fix 2014-05-23 11:35:41 +02:00
SJ
7a773de8d1 fixed a date parsing bug 2014-05-23 10:52:53 +02:00
SJ
a913c80172 date parsing fix 2014-05-12 12:00:55 +02:00
SJ
f763ed5f4d rule check fix 2014-05-12 01:05:44 +02:00
SJ
e2afcc34bf 0.1.25-rc2 2014-05-07 15:26:03 +02:00
SJ
2595e6cf22 improved pilerimport imap skipfolder handling 2014-05-06 22:29:27 +02:00
SJ
85179ae360 added a missing close() 2014-05-06 10:22:29 +02:00
SJ
f356574ea5 stored counter stats 2014-05-05 16:00:33 +02:00
SJ
3bf589ab5c store the stored size as well 2014-05-05 15:26:42 +02:00
SJ
8c12662ddc count the stored size 2014-05-05 15:08:38 +02:00
SJ
605104224a released 0.1.25-rc1 2014-05-04 11:14:11 +02:00
SJ
2a78ad2f57 restrict imap import to the given folder 2014-05-04 10:34:00 +02:00
SJ
b7e61f27ef fixed handling enrypted zip files 2014-04-27 10:59:59 +02:00
SJ
a21f5a68e1 better duplicate detection 2014-04-25 21:17:01 +02:00
SJ
1be641087e updated the build number 2014-04-18 10:16:57 +02:00
SJ
a773387a36 header file fix 2014-04-17 15:40:24 +02:00
SJ
db26a463d0 pop3 import can remove messages from server 2014-04-17 15:39:40 +02:00
SJ
1efe9ffc02 update attachment select query 2014-04-17 15:39:05 +02:00
SJ
325d821a40 fixed a multiline attachment name issue 2014-03-14 12:17:50 +01:00
SJ
190ce71af7 message-id is not mandatory when importing manually 2014-02-24 10:07:20 +01:00
SJ
3c4ed238f2 fixed a reindex vs. folder issue 2014-02-19 15:16:20 +01:00
SJ
7c1150052b code cleanup 2014-02-18 10:46:23 +01:00
SJ
f0687d6339 fix the pilertest utility 2014-02-12 14:58:40 +01:00
SJ
8f653e3fc3 parser fix for internal messages regarding invalid date 2014-02-11 22:11:58 +01:00
SJ
319c9e9732 support longer attachment names 2014-02-11 15:34:12 +01:00
SJ
36565b887b fixed a bug for detecting the header size for messages without body 2014-02-09 22:00:52 +01:00
SJ
ae2037d06c fixed date header parsing 2014-02-09 21:54:29 +01:00
SJ
393269b6f4 improved the imap handling 2014-02-09 20:51:18 +01:00
SJ
fd4184daa9 fixed the date parsing 2014-02-03 15:38:10 +01:00
SJ
59563a31c6 export emails based on from/to domain 2014-01-20 15:24:36 +01:00
SJ
dd2ea801bf fixing an odd exchange behaviour 2014-01-13 13:06:10 +01:00
SJ
8d71cdc9aa fixed tnef parameters 2013-12-16 22:20:23 +01:00
SJ
e408305668 removed a stale debug message 2013-12-16 20:57:42 +01:00
SJ
5fb280b297 journal detection fix 2013-12-06 15:26:25 +01:00
SJ
70abaa8a4b syslog the status of the received message 2013-12-04 15:52:23 +01:00
SJ
e133a41570 parsing the date header honors the timezone offset 2013-11-27 16:28:50 +01:00
SJ
c02766a18c pilerimport can remove message from imap server 2013-11-26 16:04:54 +01:00
SJ
1e44042b82 tweaked the parser to support cjk languages 2013-11-26 11:43:21 +01:00
SJ
c0301ceaca journal header parsing fix 2013-11-22 21:44:04 +01:00
SJ
7cd329f10c display the stored id when a duplicate is found 2013-11-12 14:51:31 +01:00
SJ
c31355b343 bumped the build number 2013-11-11 12:06:37 +01:00
SJ
efbb6c3ea9 attachment name rule fix 2013-11-11 11:48:13 +01:00
SJ
dc3da74311 add rule support for attachment filename 2013-11-11 11:34:00 +01:00
SJ
cdce84052f fixing a segfault issue when starting piler 2013-11-01 00:41:39 +01:00
SJ
b8d10ea9e5 skip storing rcpt address matching the cfg.hostid 2013-10-29 16:05:35 +01:00
SJ
900f7df86d fixed typo in pilerpurge 2013-10-24 13:14:07 +02:00
SJ
6aad513879 use the sent date instead of arrival date 2013-10-19 10:34:29 +02:00
SJ
62e5dc8afa fixed pilerpurge 2013-10-15 12:52:13 +02:00
SJ
5dd2232d28 changed the default listen address/port to 0.0.0.0/25 2013-10-09 15:55:34 +02:00
SJ
187503887a make pilerimport quiet with -q 2013-09-27 14:33:15 +02:00
SJ
74ab6f0193 pilerimport fix 2013-09-26 23:12:29 +02:00
SJ
ff32283695 pilerimport status fix 2013-09-26 13:11:36 +02:00
SJ
08d38786cb imap fix 2013-09-25 22:43:37 +02:00
SJ
fdb3491ecb removed debug line 2013-09-25 22:18:18 +02:00
SJ
8a9b963fbf better email compilance 2013-09-25 22:08:38 +02:00
SJ
e5dd2f06a2 tnef compile error fix 2013-09-24 21:04:15 +02:00
SJ
ccf6fd14b0 purge log fix 2013-09-19 16:44:33 +02:00
SJ
74e6da0bdb purge archive size update fix 2013-09-19 12:02:34 +02:00
SJ
c73af94e77 decreasing the archive size with the purge messages 2013-09-19 09:46:17 +02:00
SJ
fe6171b1d5 added status update on exit to imap import 2013-09-12 15:17:04 +02:00
SJ
53739b7f71 imap login fix 2013-09-12 09:40:20 +02:00
SJ
1229e10bfc added tnef support 2013-09-11 09:19:29 +02:00
SJ
5161103a44 added imap support to the gui 2013-09-09 15:02:30 +02:00
SJ
5bbf9458af imap gui import counter fix 2013-09-05 22:38:03 +02:00
SJ
c2539c71a8 added imap support for gui import 2013-09-04 23:42:07 +02:00
SJ
4a961e4ecc imap folder listing fix 2013-09-04 22:42:06 +02:00
SJ
016794767c do not return an error if the pop3 import finds no message 2013-09-04 16:47:27 +02:00
SJ
fdb4c84f55 gui fixes 2013-09-04 14:02:11 +02:00
SJ
7b8932176c imap fix 2013-08-27 10:17:51 +02:00
SJ
899d97edfa gui import fixes 2013-08-23 13:46:27 +02:00
SJ
5dba3241d0 fixed a typo 2013-08-23 13:10:06 +02:00
SJ
eb826537dd added pop3 import to the gui 2013-08-23 13:02:51 +02:00
SJ
a9050a9f44 boundary fix 2013-08-22 00:33:39 +02:00
SJ
7c507ed038 log the number of attachments 2013-08-21 21:43:54 +02:00
SJ
b3cea9de7f changed the internal lists to hash tables 2013-08-14 14:24:30 +02:00
SJ
2a8c13d774 added indexer stat to health page 2013-08-09 10:13:54 +02:00
SJ
20345baf7d minor fixes 2013-08-03 12:57:35 +02:00
SJ
d1cae282dc improved logging of retention days 2013-07-31 10:06:05 +02:00
SJ
7ea15b5b05 added domain field to rules 2013-07-31 09:10:26 +02:00
SJ
bd484784f9 imap fixes 2013-07-27 22:31:55 +02:00
SJ
01a92a4a16 minor code cleanup in message.c 2013-07-12 23:01:12 +02:00
SJ
66b8d079d2 added archive only mydomains feature 2013-07-12 22:54:45 +02:00
SJ
a1d11d01b9 prepared statement fixes 2013-06-29 15:43:16 +02:00
SJ
1b693f3ba9 folder fixes 2013-06-29 15:22:07 +02:00
SJ
a28a44b88d fixed a folder creation bug 2013-06-25 20:00:46 +02:00
SJ
4fac30507d folder handling fix 2013-06-19 13:36:58 +02:00
SJ
7dd81479a1 import folder fix 2013-06-19 12:21:48 +02:00
SJ
74cd173eac daily-report.php fix 2013-05-21 11:03:03 +02:00
SJ
349298b90d improved Makefiles to support psql 2013-05-16 22:13:46 +02:00
SJ
e597956eb5 pilerimport counter fix 2013-05-16 12:24:46 +02:00
SJ
43b72c3e57 dbfix merge 2013-05-16 12:21:36 +02:00
SJ
bcca735a1a fixed permission problem for extracting attachments 2013-05-15 12:05:42 +02:00
SJ
a1385cf948 fixed a typo 2013-05-15 11:52:41 +02:00
SJ
4853694fcd added customer initial support 2013-05-15 11:46:08 +02:00
SJ
7d8fcb86b2 customer fix 2013-05-15 10:59:02 +02:00
SJ
63899aa025 customer fix 2013-05-15 10:34:49 +02:00
SJ
5064f07248 added customer support for the piler daemon 2013-05-07 15:32:05 +02:00
SJ
97a76b71fe fix counters for pilerimport 2013-05-06 23:15:14 +02:00
SJ
7a267904e6 initial commit using a very minimalistic db abstraction preparing to add postgresql support as well 2013-05-05 11:57:14 +02:00
SJ
742aa27260 preparing for database consolidation 2013-04-28 14:18:09 +02:00
SJ
a80dafafb6 added memcached support to pilerimport 2013-04-22 22:28:01 +02:00
SJ
86a236311d pilergetd support unencrypted connections too 2013-04-18 16:49:18 +02:00
SJ
07c8a15400 pilergetd fixes 2013-04-09 16:10:08 +02:00
SJ
163ebb7c46 added auth support to pilergetd 2013-04-09 15:15:59 +02:00
SJ
8cf4a1b759 added detach support for the gui 2013-04-09 15:02:10 +02:00
SJ
2a94804586 added pilergetd daemon 2013-04-09 14:50:27 +02:00
SJ
d5d6741748 final fixes to 0.1.23 2013-04-08 20:46:19 +02:00
SJ
37e921898f ipv6 support for the piler daemon 2013-04-02 16:35:32 +02:00
SJ
4e922152d6 got rid of ipv4 specific code from imap/pop3 importing 2013-04-01 16:15:43 +02:00
SJ
d77b6da1a6 added a friendly postinstall script to shorten install time 2013-03-24 18:24:08 +01:00
SJ
93696c2985 parser fixes 2013-03-24 01:20:12 +01:00
SJ
31d801da6f fixed attachment handling 2013-03-23 17:58:58 +01:00
SJ
f530f84d62 fixed follow-up handling 2013-03-19 21:56:08 +01:00
SJ
a87b62264a improved pilerexport 2013-03-18 12:06:49 +01:00
SJ
15f18eb939 added a fix to find the first message of a thread 2013-03-18 10:13:26 +01:00
SJ
28a85ef44c added tweak option to manually imported emails, too 2013-02-22 15:35:37 +01:00
SJ
b6b1a203d0 added a tweak option to change the sent time piler stores 2013-02-22 15:01:21 +01:00
SJ
e685bcffc1 eliminated a compile time warning 2013-02-19 22:28:44 +01:00
SJ
e6098bf2a0 fixed the pop3 import 2013-02-19 19:50:41 +01:00
SJ
78e750fde5 code cleanup and added server_id to the store path 2013-02-15 20:58:58 +01:00
SJ
67895e9c43 add offset to metadata table 2013-02-15 20:14:35 +01:00
SJ
6bbfe1e734 code cleanup 2013-01-31 22:20:23 +01:00
SJ
3e64bcd9d5 code clean up in folder.c 2013-01-28 13:40:44 +01:00
SJ
0cabb8ce8a switching to prepared statements in attachment.c 2013-01-28 12:10:39 +01:00
SJ
879acc85c4 using prepared statements in message processing 2013-01-27 23:42:45 +01:00
SJ
b690a4bb5c let piler child process give 421 error if it cannot connect to database 2013-01-27 21:57:15 +01:00
SJ
80cee9f59c revised ms journal handling 2013-01-27 21:43:42 +01:00
SJ
560178f458 issue a warning and keep the message if it cannot be imported 2013-01-24 09:54:20 +01:00
SJ
f522ed9267 added quotes around the password to support special characters in the LOGIN command 2013-01-21 14:50:26 +01:00
SJ
04a39461d3 added encrypt_messages piler.conf option to decide whether to encrypt messages or not 2013-01-11 11:37:23 +01:00
SJ
d7792ee9f3 fixed a bug in imap parser 2013-01-10 22:30:30 +01:00
SJ
648836f6f1 removed the unused bodydigest function 2013-01-09 15:39:51 +01:00
SJ
cea3af3cd8 fixed a typo in the test/ directory 2013-01-06 22:29:02 +01:00
SJ
be259f56bd eliminated the mydomains piler.conf 2013-01-06 22:16:21 +01:00
SJ
1d2ac1c117 introduced the server_id variable 2013-01-06 21:04:58 +01:00
SJ
7085f3c225 fixed a bug (-A) in pilerexport 2013-01-03 15:14:07 +01:00
SJ
cbe21312d2 removed the trailing space from the Subject line 2012-12-17 11:43:10 +01:00
SJ
e371f5ebfa piler daemon forgot to remove the stripped attachments if the message was discarded by an archiving rule. Fixed 2012-12-15 21:25:36 +01:00
SJ
fee08e9de8 redesigned the top storing directory structure 2012-12-15 09:57:24 +01:00
SJ
eeeb3fbad8 early decoding of utf/qp/... encoded attachment filenames 2012-12-09 23:14:39 +01:00
SJ
13534576df fixed a buffer overflow when processing extremly long body lines 2012-12-06 16:43:40 +01:00
SJ
2de295008e minor code cleanup 2012-12-04 13:39:24 +01:00
SJ
e30025e139 bumped up the build number 2012-12-04 12:03:12 +01:00
SJ
207d50ed03 added a workaround for an unzipping bug 2012-12-04 12:01:33 +01:00
SJ
0ded5892db parse the Delivery-date: header field if the Date: field is missing 2012-12-03 14:21:55 +01:00
SJ
47de67e4bc fixed a pilerimport counter 2012-12-03 13:27:14 +01:00
SJ
22d9828e8f fixed an smtp chat bug related to multiple transactions 2012-12-02 17:17:41 +01:00
SJ
26df94f5e5 added -a command line swith to reindex to reindex all stored emails 2012-11-30 12:27:18 +01:00
SJ
34568e7d82 fixed the underscore in email addresses 2012-11-28 23:54:55 +01:00
SJ
b137a1b0ef fixing the fromdomain issue 2012-11-28 23:15:14 +01:00
SJ
e57098ac1b fixed the metadata fromdomain value 2012-11-28 22:15:11 +01:00
SJ
94a3e2d78b added x-envelop-to: support to see the envelope recipient address 2012-11-27 13:16:30 +01:00
SJ
c0420fed0a added pop3 support for pilerimport 2012-11-24 23:02:08 +01:00
SJ
4b37be8f19 changed the imap auth command from authenticate to login 2012-11-21 22:01:06 +01:00
SJ
90ef9dc0e2 fixed a bug causing for certain messages to rewrite the first byte to NUL-byte 2012-11-03 23:44:09 +01:00
SJ
5db07229f7 code cleanup to make gcc 4.7.1 happy 2012-11-03 23:42:36 +01:00
SJ
8abe4c6d60 minor attachment handling fix 2012-11-02 22:17:21 +01:00
SJ
e969b3efc6 added tcp_wrappers support to the piler daemon 2012-10-29 10:22:31 +01:00
SJ
dbbebbe5bf added starttls support to piler daemon 2012-10-28 20:36:46 +01:00
SJ
d7f860c15b added SSL support to pilerimport 2012-10-27 14:40:25 +02:00
SJ
ff30debbf4 let pilerget syslog its error messages 2012-10-23 10:12:56 +02:00
SJ
a6690a2428 fix for journaled messages with Bcc recipients 2012-10-08 21:06:48 +02:00
SJ
79fafcb3fe combine journal recpient addresses, allowing bcc users to see their messages 2012-10-05 14:27:03 +02:00
SJ
0c20a5f1e1 fixed the from= logged field in case of null sender 2012-10-03 23:32:44 +02:00
SJ
e3f1134f04 removed get_id_by_piler_id() 2012-10-03 23:29:32 +02:00
SJ
9adee38fbd added a new utility: pileraget to retrieve attachments 2012-10-03 23:27:33 +02:00
SJ
040394ec69 subject reading fix 2012-10-02 15:21:16 +02:00
SJ
54d78670e1 fix recipient list issue: do a case insensitive comparison of the email addresses 2012-10-02 14:44:01 +02:00
SJ
6d868c911a fixed a journaling bug 2012-10-01 21:09:11 +02:00
SJ
ab29175975 use a modified version of xlhtml for ppt files 2012-10-01 14:10:56 +02:00
SJ
5490941169 journaling strip fix 2012-09-28 21:49:19 +02:00
SJ
92e2ca30c1 journaling strip fix 2012-09-28 21:48:20 +02:00
SJ
f2dd3b669a finalized google free apps support 2012-09-28 14:15:45 +02:00