Commit Graph

61 Commits

Author SHA1 Message Date
alexhudson 2fd6ea3402 Merge post-release fixes from trunk in preperation for 0.3.1. This covers r611:619 2008-02-02 15:42:41 +00:00
alexhudson 3de6d55404 Partial fix for POP3 TOP command - bug #10918 2008-01-29 12:01:21 +00:00
pfelt afc9a21829 -- hopefully this will fix the odd bug where we think there is a loop in the aliasing when there is not. 2008-01-27 17:27:28 +00:00
alexhudson d337c3d486 Merge remove-mdb branch onto trunk, branch is now closed! 2008-01-23 08:20:27 +00:00
pfelt 39d68be761 -- apply r513 and r514 to the trunk. i apologize if this messes anything up when we go to merge branch! 2007-10-23 16:05:33 +00:00
alexhudson 1c9d457e50 Fix potential segfault in smtpd 2007-09-17 13:45:20 +00:00
alexhudson 204abc232d Fix up some DNS packet boundary checking 2007-09-06 16:28:06 +00:00
alexhudson bf0efbcb3e Don't try to redeliver failed/delivered mail 2007-09-05 14:33:33 +00:00
alexhudson 2d889da6ba New smtp outgoing mail code 2007-09-05 12:08:33 +00:00
alexhudson 6ce6bd184f * Fix up the check system so that we can run unit tests again
* Start new dns bits to Xpl with tests
2007-08-08 19:49:13 +00:00
alexhudson cb74eae670 Correct file closing logic for QRETR 2007-07-27 17:06:03 +00:00
alexhudson 9c52b028ae Missed initializing a file handle, oops 2007-07-27 16:22:58 +00:00
alexhudson 785476ba0f Even more stringent file checking in the queue 2007-07-27 16:01:37 +00:00
trisk f37e40d9aa * Fix some obvious bugs in smtpd's remote host resolution. 2007-07-26 13:31:26 +00:00
alexhudson c8f9670d70 Fixed a bug in a temporary file handle, and made the file open/close checks more correct 2007-07-26 10:38:10 +00:00
alexhudson a289b56729 Remove some DMC cruft we missed 2007-07-25 20:20:29 +00:00
alexhudson 8ed1e89fe1 A couple of compiler blatherings fixed. 2007-07-25 19:50:19 +00:00
alexhudson ce0211995d Instrument the queue with some file checking. 2007-07-25 19:46:18 +00:00
alexhudson deb78542ce smtp now correctly logs, slight change to API used in queue 2007-07-25 18:01:27 +00:00
alexhudson cf114834d9 Put some logging and assertions into the queue 2007-07-25 17:37:14 +00:00
alexhudson b901178411 Disable outgoing TLS in SMTP, causes bug #9536. 2007-07-18 19:32:48 +00:00
alexhudson 41ed4dedc7 Small fix to stop cmuser module leaking handles to a directory 2007-07-12 09:42:13 +00:00
alexhudson 25f1a34250 * Update default config for antivirus and antispam
* Hopefully corrected a config bug where we crash on malformed json data
2007-07-11 21:40:55 +00:00
trisk 2bb2877866 * Make avirus crash a bit less. 2007-07-11 20:59:10 +00:00
trisk 9816a936e2 Clean up sketchy parts of the store. 2007-07-11 17:58:45 +00:00
alexhudson 2963a454c7 * New configuration system
* Default config now comes from a backup file, not hard-coded
2007-07-11 12:11:55 +00:00
trisk e52ab32f26 * Fix crash in bongoimap - session->user.name is only set after UserLogin(). 2007-07-09 17:18:17 +00:00
trisk 1e573957ef Generate a Message-Id if the an email did not include one, to prevent crashing the store on import. 2007-07-08 12:30:04 +00:00
trisk 2696ce97b4 * Prevent use of uninitialised pointers. 2007-07-07 10:56:08 +00:00
trisk 0a3cd0f322 Clean up CPPFLAGS in various places, including a number of missing flags. 2007-07-05 04:02:13 +00:00
alexhudson 103227e92b Support for kstat on Solaris, thanks to Albert Lee 2007-07-04 09:32:14 +00:00
alexhudson 58b724ef88 Make BongoJsonJPathGetString() allocate memory for the caller 2007-07-04 08:45:46 +00:00
alexhudson c33882cc1c * Another buffer overflow in config.c found by Albert Lee
* Python 2.5 warning fixed
2007-07-02 20:34:29 +00:00
halex de2e1693ed * Fixes --with-libcurl with bongo-collector and --with-sqlite3.
Thanks to Albert Lee <trisk@acm.jhu.edu> for these!
* Accidentally missed some duplicate message definitions in dragonfly.properties.
2007-06-29 23:28:33 +00:00
pfelt d60eba8d68 -- bug found by Jan Schrewe invloving the RSET command. it seems RSET should only reset the envelope not the entire connection. 2007-06-04 16:47:26 +00:00
halex 8f666506ff De-MDBify the alarm agent (not that there was much there to begin with). 2007-06-03 10:45:13 +00:00
alexhudson 75cd51ea2f SQL query change to make Bongo work with SQLite 3.3.17. We should review the main DStoreListConversations() query to see if we can do things better... 2007-05-30 21:39:05 +00:00
alexhudson 885a9de837 Simplify the logging statements in smtpd and pop3d 2007-05-28 07:58:21 +00:00
pfelt c490af954d -- antivirus now works against clamav.
--   i removed some management dmc stuff that we didn't need
--   added the new configuration read code
--   changed the unused defaults to the correct syntax in bongo-config
--     the system defaults to connect to the clamd on localhost and scan mail
-- this isn't the final revision, but at least it works now
2007-05-26 08:26:57 +00:00
alexhudson 042db32ab1 Remove DMC stuff from pop3 2007-05-18 20:41:29 +00:00
alexhudson 41402fced8 Make it possible to compile against various Lucene versions (hopefully!) 2007-05-09 09:30:36 +00:00
pfelt 5a3419edac -- removed some legacy dmc code that was no longer used
-- removed the feedback system.  this was something akin to syslog, but was homebrew.  it connected to port 781, but bongo doesn't have anything listening there
-- by default we are not in verbose mode any longer.  perhaps this should be a configure setting somehow?
-- changed a couple of the debug printf()'s
-- we now no longer support headerThreshold or dropThreshold as we will always add headers to the mail and will leave dropping mail up to the rules agent
-- quarantine code is still in, but is #if 0 'd out.  do we need/want it?
-- cleaned up a couple of unused variables
-- no longer link against the management library
-- removed all cc bounces etc. to the postmaster
2007-05-07 04:19:16 +00:00
pfelt 53cbf5096b this patch fixes a bug in the queue agent handling code where there is a possible buffer overrrun. when agents are notified of a waiting message, they are given the
size of the envelope.  this conversation was not properly protected against an overrun.

the code should be slightly slower, and use a more memory, and it might not be fully patched.

todo:  there are three places in code where the envelope is read.  the two existing ones should have already been fairly protected, but they don't use connio to its 
potential.  fixing that will allow for the removal of PullLine() and the exclusive use of PullLine2()
2007-05-06 19:24:26 +00:00
pfelt a5a71afa75 a good portion of the antispam stuff. there is still configuration data that i need to figure out, like the postmaster to send bounces
to and other such stuff.  basic functionality exists though.
2007-05-05 08:21:19 +00:00
alexhudson 876724ad05 Remove NMAP routines from msgapi 2007-05-04 09:37:24 +00:00
alexhudson a52de8bca1 bongo-config correctly sets up some ACLs, so that hawkeye will be able to access configuration information 2007-04-24 19:33:52 +00:00
alexhudson 588b8acf7d Fix the initialisation of the calendar library 2007-04-19 09:59:17 +00:00
alexhudson df51571288 Put in place infrastructure to read config files from the store, and change the bongo-manager to use it. You now need to run "bongo-config install" when you install Bongo! 2007-04-05 16:37:44 +00:00
alexhudson 8edbc1307b Remove DMC and the stats system. It makes me so happy to see this code die \o/ 2007-04-04 12:43:13 +00:00
alexhudson b42b14befe Remove a file which should never have been imported... 2007-03-22 22:08:13 +00:00