Commit Graph

330 Commits

Author SHA1 Message Date
alexhudson 6a55905bf3 Initial attempt at writing out document metadata when saving a backup 2007-12-13 15:25:07 +00:00
alexhudson 82a65cb789 Initial commit of backup/restore capability for storetool
- backup works, but doesn't save metadata
- restore seems to trigger a python lib bug atm :/
2007-12-13 12:13:06 +00:00
pfelt b2de4558ba -- this should fix client side tls conversations. reference bug #9536 2007-12-08 23:34:40 +00:00
pfelt 90b8aed904 r556 should have fixed bug 10295, but apparently i didn't get it all. this should complete the fix 2007-12-08 16:25:31 +00:00
pfelt 7e96de2317 -- the queue now will rewrite the envelope with correct values as to if a recipient is local or remote. this removes the need for smtp to listen on queues 6 and 7 both
-- change an old LoggerEvent call for the new Log function call
-- fixed a bug in CheckTrustedHost() where it wouldn't ever find an entry
2007-11-30 07:15:17 +00:00
pfelt bf77accbc2 -- fixed a minor typo
-- changed antivirus to look like antispam
2007-11-22 06:47:03 +00:00
pfelt e056f3d5cc -- removed printf's and converted to the Log()
-- changed the config to use addresspools like antispam
-- minor fixups and cleanups
2007-11-22 04:44:10 +00:00
pfelt 93337032bc -- always enable ssl/tls. fixes bug #10295 2007-11-21 08:34:37 +00:00
pfelt 5b3f5f4031 -- prevents the spam daemon from leaving c* files behind in the spool directory 2007-11-21 08:06:54 +00:00
pfelt bed593af01 -- minor cleanups including logging 2007-11-20 23:10:59 +00:00
pfelt 6ba714f3bd -- round 1.1 of Received header fixes 2007-11-13 03:13:34 +00:00
pfelt 71db6f4572 -- round one of fixing up the Received header lines 2007-11-13 03:12:13 +00:00
alexhudson 7de3b107da Get rid of store's printfs and make it log properly. 2007-11-08 20:35:33 +00:00
pfelt 1c29ebebfb -- skip tar'ing up the .svn directories 2007-11-07 08:07:55 +00:00
pfelt 85d4460e48 -- properly quote mailbox names so mailbox names with spaces in them function 2007-11-07 07:35:30 +00:00
alexhudson 546d3036dc Add the aliases config file by default 2007-11-06 22:27:00 +00:00
halex 35b595cc3e Minor woopsie that broke bongo-standalone. 2007-11-05 08:11:29 +00:00
halex 369d0c9787 Hopefully get viewing and editing domains and their aliases working. 2007-11-05 08:07:54 +00:00
halex e370c1b53d * Fix up the domainlist/string array box thing so that removing items works right.
* Make template for editing domains actually display something useful.
2007-11-04 03:36:05 +00:00
halex 1311056741 Added event history table on dashboard. 2007-11-04 03:16:07 +00:00
halex 2f1106a5be I need to get my eyes checked. ;) 2007-11-04 01:39:39 +00:00
halex 5f3b1681bd * Added new Hawkeye collection in store via bongo-config and a 'history' document.
* Modified tar command to support multiple directories - it's a bit hacky though, so FIXME if you get a chance.
* Unbreak enable/disable agents template.
* Added EventHistory function.
2007-11-04 01:12:25 +00:00
pfelt 8fbf362ed1 -- revert the portions with the CONFIGFILE in preference to this much better solution 2007-11-03 23:43:19 +00:00
halex 63a7d66c93 * Yeeeha, more of the alias/domain config pages!
* Fix up queue agent definitions
* Added SMTP, POP3, IMAP and mail proxy agents to Hawkeye.
* Reset templating variables on page loads ie. for when we have errors and then don't, but the message still appears.
* A bit more detailed error printed if JSON parsing fails.
2007-11-03 23:24:49 +00:00
halex a3a4a42eda Fix up malformed JSON. 2007-11-03 23:17:40 +00:00
alexhudson ac4d5d74fc Change BongoConfiguration parser into something which takes Json nodes 2007-11-03 22:23:03 +00:00
pfelt 9b01d46b53 -- Renamed Globals to BongoGlobals
-- modified bongoagent.h to use CONFIGFILE to determine when the BongoGlobals is defined as extern and not.  this prevents a build error in store
-- re-worked aliases to work more constently and dropped the idea of hosted vs global domains, (mapping-type)
-- MsgParseAddress now strdups the local_part if no domain is on the address.
2007-11-03 22:15:48 +00:00
alexhudson 05fdab5524 Fix some indentation and slightly change some messages 2007-11-03 21:42:26 +00:00
pfelt e6bca4bb60 -- missed this file during the initial import of odbc 2007-11-03 20:54:47 +00:00
alexhudson 964c09aad2 Separate out config reading routing into generic parser and utility function for the store 2007-11-03 17:07:20 +00:00
halex 84d6f07b6e * Stubbed out new AliasView.
* Removed remaining bits of the old antispam view.
* Don't force agents to have a version key in their config.
* Disable version update check - DNS is buggered and it lags the index.
2007-11-03 05:26:40 +00:00
halex e325e26d8a Woops, minor mistake. 2007-11-03 04:26:15 +00:00
halex 81d7437b81 * Updated the bongoantispam agent icon.
* Added an icon for the global prefs thingy.
2007-11-03 04:09:33 +00:00
halex 479491fdd2 Finish off Hawkeye changes.
* Agents do not need URI handlers in AgentView.py, in either 
bongo-standalone or via Apache.
2007-11-03 03:55:17 +00:00
halex c988ca2be2 Push out these Hawkeye changes; includes:
* new agentdef type 'hostlist', similar to array
 * added label and description fields
 * only list agents that have been defined, not every single one
 * we still require a method handler for each agent, haven't worked out 
why yet. :(

Also added a friendly note to a DF file. :)
2007-11-03 02:26:54 +00:00
alexhudson 0b989e5af3 Minor fix to bongocollector to stop it segfaulting 2007-11-02 12:46:08 +00:00
pfelt f84182aa1c -- this should have gone with the last patch. it is the default configuration document for domains 2007-11-01 21:16:45 +00:00
pfelt 6c6f8958c8 -- patch to modify configuration documents during install.
-- changed the domain parameter to hostname and added the domain parameter back which can be specified multiple times
2007-11-01 20:45:19 +00:00
pfelt bad715ecb7 -- this is alex's work on suggesting fixes to the aliasing. user level aliasing now takes precedence over domain level aliasing.
-- also a minor fix for user level aliasing checking
2007-11-01 05:29:33 +00:00
pfelt c664fc1694 -- added the concept of global domains. the domains array in the config doc now holds the domains that will alias automatically to local users that are not fully distingushed. global domains are transparently added to the aliasing list
-- fixed some minor formatting problems
2007-10-31 03:30:31 +00:00
pfelt cfffc2142e -- added back code to set the ip address to the global msgapi config 2007-10-31 02:50:13 +00:00
pfelt a29826d981 -- enable the namespace command 2007-10-30 22:16:33 +00:00
halex ec751498f7 We can create new calendars again, yay! 2007-10-29 08:43:51 +00:00
halex b8f334889c Fix contact sidebar thingy so that we can add more than one contact after each other, and that the 'Add Contact' label doesn't change. 2007-10-29 08:01:04 +00:00
pfelt 869e5cad79 -- removed some general settings from agent's configuration documents and moved them to /config/global (hostname, hostaddr, postmaster). i'm not sure what to do with hostaddr yet though
-- changed a ton of XplConsolePrintf() statements to Log() statements
-- a couple of general housekeeping issues
-- fixed smtp to be more robust in its queue connection startup.  i was seeing issues where it wouldn't connect because the store wasn't up yet.  this should fix that
2007-10-25 05:30:12 +00:00
pfelt f91943147e -- i'm not sure how multipart messages ever worked. the response from nmap with the mime bodystructure is quite long, but we'd only ever copy 4 bytes worth of it and try and use that to parse the data. 2007-10-25 04:42:23 +00:00
pfelt 8a29e2b972 -- categories in log4c are hierarchical and thus the root logger catches everything. commenting out everything else prevents duplicate messages from getting logged 2007-10-24 01:24:53 +00:00
pfelt aa7086c751 -- FreeBongoConfiguration() was freeing strings duplicated by the SetBongoConfigItem() call. This also fixes a memory overwrite issue found in smtp 2007-10-23 01:38:38 +00:00
pfelt 243029b31f -- fix a missing space causing pipelined data to be incorrectly formatted 2007-10-23 01:36:26 +00:00
pfelt 819192e0be -- we weren't resetting r which determined how much to read out of the filestream. this prevented ConnWriteFile() from working properly 2007-10-17 21:53:14 +00:00