mmondor.git
16 years agoModifications to use the new mmlimitrate(3) API
Matthew Mondor [Thu, 23 Oct 2003 01:01:34 +0000 (01:01 +0000)]
Modifications to use the new mmlimitrate(3) API

16 years ago*** empty log message ***
Matthew Mondor [Wed, 22 Oct 2003 19:32:12 +0000 (19:32 +0000)]
*** empty log message ***

16 years ago*** empty log message ***
Matthew Mondor [Wed, 22 Oct 2003 18:19:28 +0000 (18:19 +0000)]
*** empty log message ***

16 years ago*** empty log message ***
Matthew Mondor [Wed, 22 Oct 2003 17:01:06 +0000 (17:01 +0000)]
*** empty log message ***

16 years agoMacros and function library to remove code duplication from the various
Matthew Mondor [Wed, 22 Oct 2003 16:43:27 +0000 (16:43 +0000)]
Macros and function library to remove code duplication from the various
projects using rate limiting

16 years ago*** empty log message ***
Matthew Mondor [Tue, 14 Oct 2003 22:05:27 +0000 (22:05 +0000)]
*** empty log message ***

16 years ago*** empty log message ***
Matthew Mondor [Mon, 13 Oct 2003 11:20:04 +0000 (11:20 +0000)]
*** empty log message ***

16 years ago*** empty log message ***
Matthew Mondor [Sat, 11 Oct 2003 17:13:33 +0000 (17:13 +0000)]
*** empty log message ***

16 years ago- Code cleanup
Matthew Mondor [Sat, 11 Oct 2003 11:20:23 +0000 (11:20 +0000)]
- Code cleanup
- Now uses mmhash(3) for the command parser for speed improvement

16 years ago- Fixed a bug where boolean types would not be evaluated properly
Matthew Mondor [Sat, 11 Oct 2003 11:19:38 +0000 (11:19 +0000)]
- Fixed a bug where boolean types would not be evaluated properly
- Added debugging in case of coding errors to log

16 years agomm_strpack32() now returns an unsigned value.
Matthew Mondor [Sat, 11 Oct 2003 09:46:28 +0000 (09:46 +0000)]
mm_strpack32() now returns an unsigned value.

16 years agoNow using mmhash(3) for the command parser for speed.
Matthew Mondor [Sat, 11 Oct 2003 09:46:01 +0000 (09:46 +0000)]
Now using mmhash(3) for the command parser for speed.

16 years agoAgain a line counting problem in certain circumstances was fixed
Matthew Mondor [Fri, 10 Oct 2003 15:38:12 +0000 (15:38 +0000)]
Again a line counting problem in certain circumstances was fixed

16 years ago*** empty log message ***
Matthew Mondor [Fri, 10 Oct 2003 11:13:19 +0000 (11:13 +0000)]
*** empty log message ***

16 years agoMinor fix about mmreadcfg(3) parsing error reporting
Matthew Mondor [Fri, 10 Oct 2003 04:38:53 +0000 (04:38 +0000)]
Minor fix about mmreadcfg(3) parsing error reporting

16 years agoTwo minor bugfixes, one where the line number would not be right when
Matthew Mondor [Fri, 10 Oct 2003 04:38:32 +0000 (04:38 +0000)]
Two minor bugfixes, one where the line number would not be right when
reporting a parsing error, the other where the '=' sign would not be
considered as the keyword termination forcing spaces to be used.

16 years agoMinor bugfix to display mmreadcfg(3) parsing errors cleaner
Matthew Mondor [Fri, 10 Oct 2003 04:37:23 +0000 (04:37 +0000)]
Minor bugfix to display mmreadcfg(3) parsing errors cleaner

16 years agoThe mmreadcfg() configuration file parser was rewritten around a better
Matthew Mondor [Thu, 9 Oct 2003 16:29:53 +0000 (16:29 +0000)]
The mmreadcfg() configuration file parser was rewritten around a better
design for both efficiency and code clarity. The rest of the software was
adapted to it's minor API changes as well.

16 years agoThe mmlist(3) library macros would conflict at times when programming
Matthew Mondor [Thu, 9 Oct 2003 04:43:44 +0000 (04:43 +0000)]
The mmlist(3) library macros would conflict at times when programming
on NetBSD because of it's queue(3) macros, some of which had the same name,
although semantically behaving differently. A D letter prefix was added
to my macros and software migraded accordingly.

16 years ago*** empty log message ***
Matthew Mondor [Wed, 8 Oct 2003 19:51:03 +0000 (19:51 +0000)]
*** empty log message ***

16 years ago*** empty log message ***
Matthew Mondor [Sun, 5 Oct 2003 10:50:04 +0000 (10:50 +0000)]
*** empty log message ***

16 years ago*** empty log message ***
Matthew Mondor [Sun, 5 Oct 2003 01:43:47 +0000 (01:43 +0000)]
*** empty log message ***

16 years ago*** empty log message ***
Matthew Mondor [Tue, 30 Sep 2003 05:34:53 +0000 (05:34 +0000)]
*** empty log message ***

16 years ago*** empty log message ***
Matthew Mondor [Thu, 4 Sep 2003 18:09:32 +0000 (18:09 +0000)]
*** empty log message ***

16 years agoDebugging
Matthew Mondor [Thu, 4 Sep 2003 18:05:23 +0000 (18:05 +0000)]
Debugging

16 years agoAdded support for shmem_freeall() and secure_freeall().
Matthew Mondor [Thu, 4 Sep 2003 03:59:58 +0000 (03:59 +0000)]
Added support for shmem_freeall() and secure_freeall().
Additionally, shmem_free() and secure_free() will never attempt to unmap
any memory which was not specifically allocated using their allocators,
since a hash table is maintained.

16 years ago*** empty log message ***
Matthew Mondor [Thu, 4 Sep 2003 03:18:01 +0000 (03:18 +0000)]
*** empty log message ***

16 years ago*** empty log message ***
Matthew Mondor [Thu, 4 Sep 2003 02:45:25 +0000 (02:45 +0000)]
*** empty log message ***

16 years ago*** empty log message ***
Matthew Mondor [Wed, 3 Sep 2003 18:04:23 +0000 (18:04 +0000)]
*** empty log message ***

16 years agommfd(3) now supports EINTR for read functions
Matthew Mondor [Wed, 13 Aug 2003 11:20:40 +0000 (11:20 +0000)]
mmfd(3) now supports EINTR for read functions

16 years agoA fix to fdbgets() to use the full incomming buffer size
Matthew Mondor [Tue, 12 Aug 2003 08:35:33 +0000 (08:35 +0000)]
A fix to fdbgets() to use the full incomming buffer size

16 years agoEnhanced fdbwrite() to use the buffer more efficiently and perform less
Matthew Mondor [Mon, 11 Aug 2003 21:46:23 +0000 (21:46 +0000)]
Enhanced fdbwrite() to use the buffer more efficiently and perform less
syscalls.

16 years agoEnhanced the rc4_read() and rc4_write() API as to not modify the supplied
Matthew Mondor [Mon, 11 Aug 2003 16:57:04 +0000 (16:57 +0000)]
Enhanced the rc4_read() and rc4_write() API as to not modify the supplied
I/O buffers.

16 years agoFixed a bug where rc4_read() and rc4_write() would not account for
Matthew Mondor [Mon, 11 Aug 2003 13:40:10 +0000 (13:40 +0000)]
Fixed a bug where rc4_read() and rc4_write() would not account for
0 results from read(2) and write(2).

16 years agorc4_copy() can now also optionally duplicate the key data with the context.
Matthew Mondor [Sun, 10 Aug 2003 08:13:05 +0000 (08:13 +0000)]
rc4_copy() can now also optionally duplicate the key data with the context.

16 years ago*** empty log message ***
Matthew Mondor [Thu, 7 Aug 2003 21:59:08 +0000 (21:59 +0000)]
*** empty log message ***

16 years ago*** empty log message ***
Matthew Mondor [Mon, 4 Aug 2003 19:19:32 +0000 (19:19 +0000)]
*** empty log message ***

16 years agoAdded fdmode()
Matthew Mondor [Mon, 4 Aug 2003 19:18:30 +0000 (19:18 +0000)]
Added fdmode()

16 years agoModified so that it be safe to use fdbdataready() with fdbgets() with an
Matthew Mondor [Mon, 4 Aug 2003 12:09:31 +0000 (12:09 +0000)]
Modified so that it be safe to use fdbdataready() with fdbgets() with an
FDBP_RTIMEOUT of 0, in a loop. Basically, fdbgets() now restores the previous
buffer context on FDB_INPUT errors, so that the operation may be restarted.

16 years ago*** empty log message ***
Matthew Mondor [Sun, 3 Aug 2003 07:12:42 +0000 (07:12 +0000)]
*** empty log message ***

16 years ago*** empty log message ***
Matthew Mondor [Sun, 3 Aug 2003 05:27:03 +0000 (05:27 +0000)]
*** empty log message ***

16 years ago*** empty log message ***
Matthew Mondor [Sun, 3 Aug 2003 03:46:01 +0000 (03:46 +0000)]
*** empty log message ***

16 years ago*** empty log message ***
Matthew Mondor [Sun, 3 Aug 2003 03:42:55 +0000 (03:42 +0000)]
*** empty log message ***

16 years ago*** empty log message ***
Matthew Mondor [Sun, 3 Aug 2003 03:37:26 +0000 (03:37 +0000)]
*** empty log message ***

16 years ago*** empty log message ***
Matthew Mondor [Sun, 3 Aug 2003 01:26:26 +0000 (01:26 +0000)]
*** empty log message ***

16 years ago*** empty log message ***
Matthew Mondor [Sun, 3 Aug 2003 01:02:11 +0000 (01:02 +0000)]
*** empty log message ***

16 years ago*** empty log message ***
Matthew Mondor [Sun, 3 Aug 2003 00:55:21 +0000 (00:55 +0000)]
*** empty log message ***

16 years ago*** empty log message ***
Matthew Mondor [Sun, 3 Aug 2003 00:44:25 +0000 (00:44 +0000)]
*** empty log message ***

16 years ago*** empty log message ***
Matthew Mondor [Sun, 3 Aug 2003 00:09:52 +0000 (00:09 +0000)]
*** empty log message ***

16 years ago*** empty log message ***
Matthew Mondor [Sun, 3 Aug 2003 00:04:17 +0000 (00:04 +0000)]
*** empty log message ***

16 years ago*** empty log message ***
Matthew Mondor [Sat, 2 Aug 2003 09:18:47 +0000 (09:18 +0000)]
*** empty log message ***

16 years agoAdded a simple generic timer event library with second resolution
Matthew Mondor [Sat, 2 Aug 2003 09:05:30 +0000 (09:05 +0000)]
Added a simple generic timer event library with second resolution

16 years agoAdded support to transparently ignore or detect EINTR on a per-fdb basis to mmfd...
Matthew Mondor [Fri, 1 Aug 2003 13:17:49 +0000 (13:17 +0000)]
Added support to transparently ignore or detect EINTR on a per-fdb basis to mmfd(3) library, and migrated daemons

16 years ago*** empty log message ***
Matthew Mondor [Thu, 31 Jul 2003 00:39:27 +0000 (00:39 +0000)]
*** empty log message ***

16 years agoAdded EINTR support to mmfd(3) library and migrated daemons
Matthew Mondor [Wed, 30 Jul 2003 09:07:32 +0000 (09:07 +0000)]
Added EINTR support to mmfd(3) library and migrated daemons

16 years ago*** empty log message ***
Matthew Mondor [Sun, 27 Jul 2003 10:31:01 +0000 (10:31 +0000)]
*** empty log message ***

16 years agoCode cleanup
Matthew Mondor [Sun, 27 Jul 2003 03:22:06 +0000 (03:22 +0000)]
Code cleanup

16 years ago*** empty log message ***
Matthew Mondor [Sun, 27 Jul 2003 03:21:57 +0000 (03:21 +0000)]
*** empty log message ***

16 years agoFixed a silly bug
Matthew Mondor [Tue, 22 Jul 2003 07:22:40 +0000 (07:22 +0000)]
Fixed a silly bug

16 years agoAdded syslog(3) support
Matthew Mondor [Tue, 22 Jul 2003 07:03:07 +0000 (07:03 +0000)]
Added syslog(3) support

16 years ago*** empty log message ***
Matthew Mondor [Tue, 22 Jul 2003 04:16:56 +0000 (04:16 +0000)]
*** empty log message ***

16 years agoRestoring function names in DPRINTF() since __func__ is nonstandard
Matthew Mondor [Sat, 19 Jul 2003 22:22:18 +0000 (22:22 +0000)]
Restoring function names in DPRINTF() since __func__ is nonstandard

16 years agoFixed a bug where some things were misplaced
Matthew Mondor [Fri, 18 Jul 2003 12:12:18 +0000 (12:12 +0000)]
Fixed a bug where some things were misplaced

16 years ago*** empty log message ***
Matthew Mondor [Fri, 18 Jul 2003 09:35:05 +0000 (09:35 +0000)]
*** empty log message ***

16 years agoCode cleanup
Matthew Mondor [Fri, 18 Jul 2003 05:26:03 +0000 (05:26 +0000)]
Code cleanup

16 years agoCode cleanup
Matthew Mondor [Fri, 18 Jul 2003 05:25:12 +0000 (05:25 +0000)]
Code cleanup

16 years agoSource cleanup
Matthew Mondor [Thu, 17 Jul 2003 22:33:08 +0000 (22:33 +0000)]
Source cleanup

16 years agoSource cleanup
Matthew Mondor [Thu, 17 Jul 2003 22:26:51 +0000 (22:26 +0000)]
Source cleanup

16 years agoSource cleanup
Matthew Mondor [Thu, 17 Jul 2003 09:13:01 +0000 (09:13 +0000)]
Source cleanup

16 years agommlist(3) API enhancement and migration
Matthew Mondor [Tue, 15 Jul 2003 21:06:26 +0000 (21:06 +0000)]
mmlist(3) API enhancement and migration

16 years agoAdded mmmail|domain|<domain>|logins mmstat(3) key
Matthew Mondor [Sat, 12 Jul 2003 04:33:07 +0000 (04:33 +0000)]
Added mmmail|domain|<domain>|logins mmstat(3) key

16 years agoAdded mmftpd|total|logins mmstat(3) key
Matthew Mondor [Sat, 12 Jul 2003 04:20:21 +0000 (04:20 +0000)]
Added mmftpd|total|logins mmstat(3) key
Some code cleanup

16 years ago*** empty log message ***
Matthew Mondor [Sat, 12 Jul 2003 04:19:49 +0000 (04:19 +0000)]
*** empty log message ***

16 years ago*** empty log message ***
Matthew Mondor [Sat, 12 Jul 2003 04:02:49 +0000 (04:02 +0000)]
*** empty log message ***

16 years agoAdded mmpop3d|total|logins mmstat(3) key
Matthew Mondor [Sat, 12 Jul 2003 04:02:12 +0000 (04:02 +0000)]
Added mmpop3d|total|logins mmstat(3) key

16 years ago*** empty log message ***
Matthew Mondor [Sat, 12 Jul 2003 02:24:46 +0000 (02:24 +0000)]
*** empty log message ***

16 years agommstat(3) keys for mailbox-specific statistics now unified using mmmail|*
Matthew Mondor [Sat, 12 Jul 2003 02:23:33 +0000 (02:23 +0000)]
mmstat(3) keys for mailbox-specific statistics now unified using mmmail|*
rather than mmsmtpd|* and mmpop3d|*.
mmstat(3) now also used to record domain-specific statistics.

16 years agoAdded STATFAIL_LOGIN and STATFAIL_PASSWORD.
Matthew Mondor [Sat, 12 Jul 2003 02:23:14 +0000 (02:23 +0000)]
Added STATFAIL_LOGIN and STATFAIL_PASSWORD.

16 years agoAdded STATFAIL_LOGIN and STATFAIL_PASSWORD.
Matthew Mondor [Sat, 12 Jul 2003 02:23:13 +0000 (02:23 +0000)]
Added STATFAIL_LOGIN and STATFAIL_PASSWORD.
mmstat(3) keys for mailbox-specific statistics now unified using mmmail|*
rather than mmsmtpd|* and mmpop3d|*.
mmstat(3) now also used to record domain-specific statistics.

16 years agoAdded STATFAIL_LOGIN and STATFAIL_PASSWORD
Matthew Mondor [Sat, 12 Jul 2003 02:21:25 +0000 (02:21 +0000)]
Added STATFAIL_LOGIN and STATFAIL_PASSWORD

16 years ago*** empty log message ***
Matthew Mondor [Sat, 12 Jul 2003 02:21:10 +0000 (02:21 +0000)]
*** empty log message ***

16 years agoRefined mmstat(3) key names for consistency.
Matthew Mondor [Sat, 12 Jul 2003 02:20:58 +0000 (02:20 +0000)]
Refined mmstat(3) key names for consistency.
STATFAIL_LOGIN and STATFAIL_PASSWORD are now mutually inclusive.

16 years agoChecking fflush(3), fsync(2) and close(2) results for more reliable database syncs
Matthew Mondor [Fri, 11 Jul 2003 09:15:31 +0000 (09:15 +0000)]
Checking fflush(3), fsync(2) and close(2) results for more reliable database syncs

16 years ago*** empty log message ***
Matthew Mondor [Fri, 11 Jul 2003 09:11:57 +0000 (09:11 +0000)]
*** empty log message ***

16 years ago*** empty log message ***
Matthew Mondor [Fri, 11 Jul 2003 08:39:46 +0000 (08:39 +0000)]
*** empty log message ***

16 years agoMade the allocated area read only
Matthew Mondor [Fri, 11 Jul 2003 04:32:16 +0000 (04:32 +0000)]
Made the allocated area read only

16 years ago4.2BSD setsockopt(2) after socketpair(2) used for the async processes I/O buffer...
Matthew Mondor [Thu, 10 Jul 2003 03:20:56 +0000 (03:20 +0000)]
4.2BSD setsockopt(2) after socketpair(2) used for the async processes I/O buffer size

16 years agoAdded a tree size cache to speed up logins of users with quotas
Matthew Mondor [Tue, 8 Jul 2003 05:49:15 +0000 (05:49 +0000)]
Added a tree size cache to speed up logins of users with quotas

16 years ago*** empty log message ***
Matthew Mondor [Tue, 8 Jul 2003 05:48:36 +0000 (05:48 +0000)]
*** empty log message ***

16 years ago*** empty log message ***
Matthew Mondor [Mon, 7 Jul 2003 10:23:28 +0000 (10:23 +0000)]
*** empty log message ***

16 years agoFixed bug where STATS_RATE could not be 0 as the documentation stated
Matthew Mondor [Mon, 7 Jul 2003 06:35:07 +0000 (06:35 +0000)]
Fixed bug where STATS_RATE could not be 0 as the documentation stated

16 years ago*** empty log message ***
Matthew Mondor [Sun, 6 Jul 2003 05:19:54 +0000 (05:19 +0000)]
*** empty log message ***

16 years ago*** empty log message ***
Matthew Mondor [Sun, 6 Jul 2003 03:49:27 +0000 (03:49 +0000)]
*** empty log message ***

16 years ago*** empty log message ***
Matthew Mondor [Thu, 3 Jul 2003 07:06:07 +0000 (07:06 +0000)]
*** empty log message ***

16 years ago*** empty log message ***
Matthew Mondor [Wed, 2 Jul 2003 18:57:13 +0000 (18:57 +0000)]
*** empty log message ***

16 years ago*** empty log message *** release-20030701
Matthew Mondor [Wed, 2 Jul 2003 17:20:57 +0000 (17:20 +0000)]
*** empty log message ***

16 years ago*** empty log message ***
Matthew Mondor [Wed, 2 Jul 2003 08:35:13 +0000 (08:35 +0000)]
*** empty log message ***

16 years ago*** empty log message ***
Matthew Mondor [Wed, 2 Jul 2003 08:27:51 +0000 (08:27 +0000)]
*** empty log message ***

16 years ago*** empty log message ***
Matthew Mondor [Wed, 2 Jul 2003 02:49:39 +0000 (02:49 +0000)]
*** empty log message ***

16 years ago*** empty log message ***
Matthew Mondor [Wed, 2 Jul 2003 02:40:15 +0000 (02:40 +0000)]
*** empty log message ***