pfelt
b95822f9ef
-- fix a couple of memory leaks in store. there is still one in there somewhere reproduceable by sending gobs of "collections /mail" store command consecutively
2009-05-31 04:48:01 +00:00
pfelt
8d464bdbfc
-- fix the error message displayed in the log when tls fails.
...
-- a dirty fix for messages getting stuck in my queue due to the remote server not sending a dh prime "long enough" (GNUTLS_E_DH_PRIME_UNACCEPTABLE). one can now specify using the message flags that tls should not be used. the default is to use tls.
2009-05-20 04:26:07 +00:00
pfelt
154430b8e4
-- fix: bug where mail would not be delivered to local users who have no rules.
2009-05-12 21:50:06 +00:00
alexhudson
b7e4ae5eb7
Make PROPGET response codes be properly understood for now.
2009-05-09 10:40:29 +00:00
alexhudson
0845d02c39
Extra PROPGET fixes for decimal / hexadecimal responses
2009-05-03 19:45:38 +00:00
alexhudson
4660ee8966
Make PROPGET work for nmap client library
2009-05-03 19:39:08 +00:00
alexhudson
5cbb7d3524
Make PROPGET response sanely
2009-05-03 19:29:02 +00:00
pfelt
d4a8e0f8f2
-- fix a double free in avirus
...
-- the last commit also committed building rules by default
2009-04-25 03:15:31 +00:00
pfelt
5c26d034c4
-- fix the resend the email a ton of times bug. the queue was out of sync causing delivery to appear to fail
2009-04-25 02:41:50 +00:00
pfelt
5c4ac00fb5
-- this should fix bounce messages to create the envelope properly
2009-04-24 04:00:22 +00:00
alexhudson
91955db366
Make MIME work-ish
2009-04-19 21:39:20 +00:00
pfelt
5d70bf41de
-- fix memory leak: when conntrace is enabled there is a memory leak because NMAPQuit() did not free the trace destination.
2009-04-18 20:45:24 +00:00
pfelt
23afd06ef7
-- rules.c: memory leak fix. when using a linked list it is important to free more than just the head
...
-- bongoagent.c: if the type is array and the subtype is string, free the strings since we MemStrdup()'d them initially.
2009-04-17 18:08:57 +00:00
ahixon
77f271876d
Fix viewing domain aliases.
2009-04-16 02:43:15 +00:00
pfelt
6e6727b194
-- fix a memory leak in the rules agent. there is still one in there somewhere
...
-- fix a memory leak in ReadBongoConfiguration(). we weren't freeing the memory
2009-04-16 00:44:52 +00:00
alexhudson
f773e2a2f4
Possibly a rather embarrassing bug fix... :)
2009-04-15 19:44:22 +00:00
alexhudson
ea6e60b217
Fix up minor pre-processor bug
2009-04-09 13:21:19 +00:00
pfelt
d795c59e95
-- change the cleanup a bit for the *BongoConfiguration() functions. There is still a double free in there somewhere that needs to be found
...
-- change to FreeBongoConfiguration() to free the strings in the array if string is the subtype.
-- Duplicate strings so that we don't overwrite the memory later
2009-04-05 15:42:57 +00:00
pfelt
41f8747ca9
-- initial version of the rules agent. rules are stored in a format that is going to change and as such this agent is *not* production ready nor does it build by default.
...
-- there is a double free in the json code somewhere.
-- i'm sure there are a ton of other bugs too so use at your own risk!
2009-04-04 07:40:50 +00:00
alexhudson
07b37b9e90
Another fsync-related patch, this time to better secure data coming in from the queue
2009-03-13 13:45:01 +00:00
alexhudson
a95844b863
Attempt to ensure store doesn't get snared by ext4 data loss - fatpelt, you may want to do something similar for queue (hint, hint ;)
2009-03-13 13:29:44 +00:00
pfelt
ca04d0241e
-- some fixes for opensuse 64bit build
...
-- a fix for gnutls detection of invalid sessions
2009-03-07 19:14:54 +00:00
pfelt
6df48db556
-- fixed a compile warning for an unused function
...
-- changed the logging in DeliverMessage() to hopefully find out what the process is doing a bit better.
2009-02-25 06:04:01 +00:00
pfelt
45476cc47b
-- the queue really should not try to send via smtp failed messages every 10 seconds. it'll re-try now approx every 10 minutes
2009-02-17 04:06:09 +00:00
alexhudson
70d6da04ab
Make MsgSQLResultTextPtr() return a value instead of random rubbish.
2009-02-15 22:00:37 +00:00
pfelt
d8a8373931
-- several changes to clear up some compiler warnings
2009-02-14 17:11:30 +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
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