Commit Graph

558 Commits

Author SHA1 Message Date
forcev 3bdd4cbde9 Fix the init file to enable building on >=openSUSE 11.0 2009-02-11 22:40:07 +00:00
alexhudson 17e3c2a308 Make the count in ConnReadToConnUntilEOS be signed so that we detect "error" conditions. Need to review if this is ok wrt. 'int' being a big enough value. 2009-02-10 13:05:44 +00:00
pfelt 449353f91b -- fixed a bug in ConnReadToAllocatedBuffer() where we end up reading way out past the end of our buffer. 2009-02-06 06:37:24 +00:00
alexhudson f8fe125870 Add back some more missing files... 2009-01-27 15:04:26 +00:00
alexhudson 13f9dcd0ca Put back the stuff that got nuked somehow :/ 2009-01-27 14:39:28 +00:00
alexhudson 1632cfd68a Remove CLucene! 2009-01-27 14:26:54 +00:00
alexhudson c224849f87 Add sqlite3 3.6 for people on ancient OSes :) 2009-01-27 14:23:04 +00:00
alexhudson a4d5ccfb34 Remove old version of sqlite from bongo import; will break build for people using it. 2009-01-27 14:18:01 +00:00
pfelt 8ce1339a7a -- the previous commit on this, while it worked, was a messed up way of doing it. this is a tad cleaner. 2009-01-26 04:35:44 +00:00
pfelt 26f865c448 -- fix a couple of conntrace related bugs. conntrace should now work again 2009-01-25 16:51:52 +00:00
pfelt 54e2e82bf4 -- i don't really like the way that i fixed the memory leak in connio, however i wanted to get this out to users asap for testing. this fixed a major memory leak for me when tls is used
-- there were a couple of remaining memory leaks in smtpc that have been fixed and i've changed the threadpool size from 5-20 down to 1.  The system still seems to deliver mail rapidly and the huge memory usage does not occur any longer.
2009-01-20 05:13:08 +00:00
pfelt 61182fdcf5 -- Fixed two memory leaks 2009-01-17 06:57:17 +00:00
pfelt 745b2df92c -- These files are no longer needed 2008-11-01 16:19:10 +00:00
pfelt f280eb8490 -- Fixed a bug where I was setting a character to null for string operations and not correctly setting it back when finished.
-- Fixed the envelope parser used to generate the replacement envelope on the new email.
-- (bugs submitted by Andrew Wafaa)
2008-10-26 04:59:27 +00:00
alexhudson 06013ebc60 Don't attempt to look for files on disk during REPAIR for object types that only exist in the database. 2008-10-17 10:47:22 +00:00
alexhudson d0ae6bc3a6 Make IMAP work with folders that have spaces in their names. 2008-10-17 10:31:54 +00:00
alexhudson 8e54ef5ab3 New store command 'REPAIR' to at least get broken stores consistent 2008-10-16 21:17:51 +00:00
alexhudson e31d7842fc Initial bits of store read-only support 2008-10-15 19:18:11 +00:00
alexhudson f231aeea79 Close remote SMTP connections even where the mail wasn't sent. 2008-10-15 11:55:06 +00:00
alexhudson f67fa7cfe9 Make smtpc work with "long banner" smtp servers. 2008-10-15 11:46:28 +00:00
alexhudson 8ff06fd1c4 Small fix to stop an infinite loop in the SMTP client. 2008-10-10 09:31:22 +00:00
alexhudson 90e8a95b6a Go back to previous libical API for header files since this seems to be 'right' for the future now... 2008-10-10 09:08:05 +00:00
alexhudson 07b8c90144 Stop attempting to cache SQL statements; we have a race in here which causes crashing. 2008-10-05 11:43:58 +00:00
pfelt 6c2350dcc8 -- added some debug logging
-- added bounce messages which should probably be fleshed out a bit
2008-10-02 04:14:34 +00:00
pfelt a477fc729a -- rewrite. We drop messages with viruses detected, however we do not yet send any notification in either direction of an infected mail. 2008-09-29 22:13:18 +00:00
alexhudson c8b76933bb Try to catch various crashes and log something to a file. Works for the queue, and possibly other agents if they use the main signal handler. 2008-09-22 20:00:41 +00:00
alexhudson 04c034b932 Make SMTP client take notice of remote server errors in the banner. 2008-09-14 16:28:58 +00:00
alexhudson 38db0ebefe Get store watches to correctly remove themselves. 2008-09-14 15:42:28 +00:00
alexhudson 77c41aa224 Remove the query builder SQL debug output 2008-09-14 14:42:21 +00:00
alexhudson 3d4dc3e9db Make store watch work on the root collection somewhat. 2008-09-14 14:40:47 +00:00
alexhudson 6cb1793be7 Make CREATE recursively create any collections which need to exist. 2008-09-09 19:32:02 +00:00
alexhudson bc25bc985f Tidy up CREATE and WRITE a bit; remove objects that we can't successfully save to 2008-09-09 18:31:28 +00:00
alexhudson 1c4e90947f Don't try to attempt to CREATE folders in the store if the filename and/or guid is already in use; it will fail at an sql schema level and we get the error code wrong... 2008-09-09 16:23:00 +00:00
alexhudson 9523adc725 Minor fix to header for when inttypes.h is not available. 2008-09-08 07:50:52 +00:00
alexhudson 004ae5b87d Look for and use GMime 2.0/2.2 if it's available, as well as 2.4. 2008-09-07 19:59:01 +00:00
alexhudson c787f57d95 Minor build fix for older gcc 2008-09-07 14:51:00 +00:00
alexhudson 567a1fa1b3 Store agent now uses GMime to parsing incoming mails. 2008-09-07 13:01:20 +00:00
alexhudson e92b2d8da6 Turn off stack protection on older glibcs; in theory it should work, in practice the linker complains bitterly. :( 2008-09-06 11:35:28 +00:00
pfelt fa80a0db2f -- fix the code so that it will actually work when there are more than one mx.
-- fixed a bit anding bug where i would starttls even though the server didn't advertise it could
2008-09-06 04:34:13 +00:00
alexhudson cff22138ac Enable stack protection by default for gcc versions that support it. 2008-09-05 18:46:08 +00:00
alexhudson 36164fa8fa Remove last two patches :( 2008-09-05 18:35:17 +00:00
alexhudson 25485609b4 Make the right property get stored for From: 2008-09-04 22:25:56 +00:00
alexhudson 605fa09732 Decode mail From: according to rfc 1342. Doesn't yet attempt to translate between different character sets, which it should... 2008-09-04 22:04:18 +00:00
alexhudson 29f4eeec4e Merge the store-sqlite branch back onto trunk 2008-09-04 15:22:34 +00:00
pfelt 38f62420e8 -- fixed the thread handling to use BongoAgentListenWithClientPool()
--  this fixes the bug where messages get stuck in the queue, threads get lost, and tcp socket usage grows
2008-08-02 15:52:39 +00:00
pfelt 092a50fb56 -- one should not memset a struct before checking that the malloc didn't fail
-- set client authorized to true so that queue agents can run all the commands they need to
2008-08-02 02:25:19 +00:00
pfelt f60f7ba979 -- use connection pools to connect to queue agents. 2008-07-27 04:24:37 +00:00
jonnylamb 8bb71dc4de Fixed man page installation rule which was symlinking files incorrectly. 2008-07-01 20:19:47 +00:00
jonnylamb 4081646700 Add $(top_srcdir) to many Bongo.rules files to allow building outside of the root directory. 2008-06-23 11:52:26 +00:00
alexhudson 51e1c068b2 Minor log message change s/queue/store/, since that's what we're trying to connect to 2008-05-05 15:05:18 +00:00