mmondor.git
14 years ago*** empty log message ***
Matthew Mondor [Sat, 26 Mar 2005 11:45:48 +0000 (11:45 +0000)]
*** empty log message ***

14 years agoNow allows '=' characters in hostnames and mail addresses. Should ideally
Matthew Mondor [Sat, 26 Mar 2005 10:50:49 +0000 (10:50 +0000)]
Now allows '=' characters in hostnames and mail addresses. Should ideally
only be allowed in the username part of the email address though.
Also improved efficiency of valid_address() by using a table lookup for
allowed characters instead of needing explicit comparisions in the
VALID_CHAR() macro (which now has been renamed to VALID_ADDR_CHAR()).
I needed '=' character support as an emergency measure against spam I
receive on my mailing lists address. I can now set a deny by default rule
and explicitely allow mail originating from the netbsd mailing lists. These
use a MAIL FROM: containing an address with a '=' character, possibly a
default with majordomo managed mailing lists...

14 years ago*** empty log message ***
Matthew Mondor [Sat, 26 Mar 2005 10:45:34 +0000 (10:45 +0000)]
*** empty log message ***

14 years agoAgain some related work for RELAYING = TRUE (note: broken, do not use yet)
Matthew Mondor [Sat, 26 Mar 2005 10:44:29 +0000 (10:44 +0000)]
Again some related work for RELAYING = TRUE (note: broken, do not use yet)
an emergency commit was required to fix an urgent problem I had with spam.

14 years ago*** empty log message ***
Matthew Mondor [Wed, 9 Mar 2005 08:55:28 +0000 (08:55 +0000)]
*** empty log message ***

14 years ago*** empty log message ***
Matthew Mondor [Sun, 6 Mar 2005 09:50:36 +0000 (09:50 +0000)]
*** empty log message ***

14 years ago*** empty log message ***
Matthew Mondor [Sat, 5 Mar 2005 15:37:48 +0000 (15:37 +0000)]
*** empty log message ***

14 years agoAdded support for locking to determine if configuration-specific daemon
Matthew Mondor [Sat, 5 Mar 2005 15:33:34 +0000 (15:33 +0000)]
Added support for locking to determine if configuration-specific daemon
is already running, along with LOCK_PATH configuration directive.

14 years ago*** empty log message ***
Matthew Mondor [Tue, 1 Mar 2005 15:18:21 +0000 (15:18 +0000)]
*** empty log message ***

14 years ago*** empty log message ***
Matthew Mondor [Tue, 1 Mar 2005 13:25:02 +0000 (13:25 +0000)]
*** empty log message ***

14 years ago*** empty log message ***
Matthew Mondor [Tue, 1 Mar 2005 13:13:33 +0000 (13:13 +0000)]
*** empty log message ***

14 years ago*** empty log message ***
Matthew Mondor [Tue, 1 Mar 2005 11:10:10 +0000 (11:10 +0000)]
*** empty log message ***

14 years agoAdded part for mmsmtpd(8)->mmrelayd(8) notification used for newly queued
Matthew Mondor [Tue, 1 Mar 2005 11:05:29 +0000 (11:05 +0000)]
Added part for mmsmtpd(8)->mmrelayd(8) notification used for newly queued
messages which should interrupt the relay daemon's sleep when waiting for
sheduled events.

14 years agoBugfix related to filters
Matthew Mondor [Sun, 27 Feb 2005 01:33:15 +0000 (01:33 +0000)]
Bugfix related to filters

14 years ago*** empty log message ***
Matthew Mondor [Tue, 22 Feb 2005 09:40:39 +0000 (09:40 +0000)]
*** empty log message ***

14 years agoStricter checking for integer arguments
Matthew Mondor [Sun, 20 Feb 2005 22:30:33 +0000 (22:30 +0000)]
Stricter checking for integer arguments

14 years agoAdded fcntl(2), with only support for F_GETFL and F_SETFL,i
Matthew Mondor [Sun, 20 Feb 2005 08:33:13 +0000 (08:33 +0000)]
Added fcntl(2), with only support for F_GETFL and F_SETFL,i
with only flags O_APPEND and O_NONBLOCK.

14 years ago- Added the other poll(2) events
Matthew Mondor [Sun, 20 Feb 2005 07:19:45 +0000 (07:19 +0000)]
- Added the other poll(2) events
- Added setsockopt(2)/getsockopt(2) support

14 years ago*** empty log message ***
Matthew Mondor [Sun, 20 Feb 2005 01:18:01 +0000 (01:18 +0000)]
*** empty log message ***

14 years agoFixed bug in filtering where mysql field query wasn't properly imported
Matthew Mondor [Wed, 16 Feb 2005 20:53:28 +0000 (20:53 +0000)]
Fixed bug in filtering where mysql field query wasn't properly imported

14 years ago*** empty log message ***
Matthew Mondor [Wed, 16 Feb 2005 11:56:50 +0000 (11:56 +0000)]
*** empty log message ***

14 years ago*** empty log message ***
Matthew Mondor [Wed, 16 Feb 2005 11:03:00 +0000 (11:03 +0000)]
*** empty log message ***

14 years agoAdded support for Allowed by default filters in addition to Denied by default
Matthew Mondor [Tue, 15 Feb 2005 22:30:22 +0000 (22:30 +0000)]
Added support for Allowed by default filters in addition to Denied by default
ones

14 years ago*** empty log message ***
Matthew Mondor [Tue, 15 Feb 2005 09:20:11 +0000 (09:20 +0000)]
*** empty log message ***

14 years ago*** empty log message ***
Matthew Mondor [Tue, 15 Feb 2005 09:12:26 +0000 (09:12 +0000)]
*** empty log message ***

14 years agoReduced code duplication by providing a common function to use for arguments
Matthew Mondor [Tue, 15 Feb 2005 09:04:12 +0000 (09:04 +0000)]
Reduced code duplication by providing a common function to use for arguments
number and types checking, as well as necessary/allowed type/state of the
descriptor.

14 years ago*** empty log message ***
Matthew Mondor [Mon, 14 Feb 2005 22:18:02 +0000 (22:18 +0000)]
*** empty log message ***

14 years agoMore testing and fixes
Matthew Mondor [Mon, 14 Feb 2005 22:14:19 +0000 (22:14 +0000)]
More testing and fixes

14 years ago*** empty log message ***
Matthew Mondor [Mon, 14 Feb 2005 13:09:30 +0000 (13:09 +0000)]
*** empty log message ***

14 years agoBugfixes and tests
Matthew Mondor [Mon, 14 Feb 2005 13:04:37 +0000 (13:04 +0000)]
Bugfixes and tests

14 years agoImplemented bind(2), listen(2) and accept(2)
Matthew Mondor [Mon, 14 Feb 2005 10:50:37 +0000 (10:50 +0000)]
Implemented bind(2), listen(2) and accept(2)

14 years ago- Added better arguments type sanity checking to methods
Matthew Mondor [Mon, 14 Feb 2005 08:41:50 +0000 (08:41 +0000)]
- Added better arguments type sanity checking to methods
- Implemented connect(2)

14 years ago*** empty log message ***
Matthew Mondor [Sun, 13 Feb 2005 09:26:27 +0000 (09:26 +0000)]
*** empty log message ***

14 years ago*** empty log message ***
Matthew Mondor [Sun, 13 Feb 2005 09:09:57 +0000 (09:09 +0000)]
*** empty log message ***

14 years agoBugfix related to FD.poll()
Matthew Mondor [Sun, 13 Feb 2005 09:02:07 +0000 (09:02 +0000)]
Bugfix related to FD.poll()

14 years agoImplemented FD.poll(), remains to properly test it
Matthew Mondor [Sun, 13 Feb 2005 07:56:16 +0000 (07:56 +0000)]
Implemented FD.poll(), remains to properly test it

14 years agoAdded iterator function which can work on all types of array objects
Matthew Mondor [Sun, 13 Feb 2005 05:43:36 +0000 (05:43 +0000)]
Added iterator function which can work on all types of array objects

14 years ago*** empty log message ***
Matthew Mondor [Sat, 12 Feb 2005 07:23:20 +0000 (07:23 +0000)]
*** empty log message ***

14 years agoExample using methods defined in the object prototype
Matthew Mondor [Fri, 11 Feb 2005 23:02:26 +0000 (23:02 +0000)]
Example using methods defined in the object prototype

14 years ago*** empty log message ***
Matthew Mondor [Fri, 11 Feb 2005 18:25:36 +0000 (18:25 +0000)]
*** empty log message ***

14 years ago*** empty log message ***
Matthew Mondor [Thu, 10 Feb 2005 20:05:29 +0000 (20:05 +0000)]
*** empty log message ***

14 years ago*** empty log message ***
Matthew Mondor [Thu, 10 Feb 2005 20:02:26 +0000 (20:02 +0000)]
*** empty log message ***

14 years agoAdded important check using JS_IsConstructing() in constructors, since
Matthew Mondor [Thu, 10 Feb 2005 11:57:05 +0000 (11:57 +0000)]
Added important check using JS_IsConstructing() in constructors, since
otherwise an assertion can cause a crash whenever the user script attempts
to call a constructor as a function (I.E. fd = FD(); vs fd = new FD();)

14 years ago*** empty log message ***
Matthew Mondor [Thu, 10 Feb 2005 10:34:25 +0000 (10:34 +0000)]
*** empty log message ***

14 years ago*** empty log message ***
Matthew Mondor [Wed, 9 Feb 2005 21:12:14 +0000 (21:12 +0000)]
*** empty log message ***

14 years ago*** empty log message ***
Matthew Mondor [Wed, 9 Feb 2005 13:43:58 +0000 (13:43 +0000)]
*** empty log message ***

14 years ago*** empty log message ***
Matthew Mondor [Wed, 9 Feb 2005 12:10:57 +0000 (12:10 +0000)]
*** empty log message ***

14 years ago*** empty log message ***
Matthew Mondor [Wed, 9 Feb 2005 11:18:46 +0000 (11:18 +0000)]
*** empty log message ***

14 years ago*** empty log message ***
Matthew Mondor [Mon, 7 Feb 2005 06:39:11 +0000 (06:39 +0000)]
*** empty log message ***

14 years ago*** empty log message ***
Matthew Mondor [Mon, 7 Feb 2005 06:04:56 +0000 (06:04 +0000)]
*** empty log message ***

14 years ago*** empty log message ***
Matthew Mondor [Sun, 6 Feb 2005 06:57:08 +0000 (06:57 +0000)]
*** empty log message ***

14 years ago*** empty log message ***
Matthew Mondor [Sun, 6 Feb 2005 04:50:01 +0000 (04:50 +0000)]
*** empty log message ***

14 years ago*** empty log message ***
Matthew Mondor [Sat, 5 Feb 2005 08:07:35 +0000 (08:07 +0000)]
*** empty log message ***

14 years ago*** empty log message ***
Matthew Mondor [Mon, 31 Jan 2005 23:14:34 +0000 (23:14 +0000)]
*** empty log message ***

14 years ago*** empty log message ***
Matthew Mondor [Mon, 31 Jan 2005 23:06:43 +0000 (23:06 +0000)]
*** empty log message ***

14 years agoNow using long instead of int as the base word move, this allows to use
Matthew Mondor [Mon, 31 Jan 2005 18:11:57 +0000 (18:11 +0000)]
Now using long instead of int as the base word move, this allows to use
64-bit word moves on 64-bit systems for which ABI usually specifies 32-bit
for int and 64-bit for long.

14 years agoReplaced eintr() by more general errno()
Matthew Mondor [Mon, 31 Jan 2005 16:04:49 +0000 (16:04 +0000)]
Replaced eintr() by more general errno()

14 years ago*** empty log message ***
Matthew Mondor [Mon, 31 Jan 2005 15:58:10 +0000 (15:58 +0000)]
*** empty log message ***

14 years ago*** empty log message ***
Matthew Mondor [Thu, 27 Jan 2005 09:07:15 +0000 (09:07 +0000)]
*** empty log message ***

14 years ago*** empty log message ***
Matthew Mondor [Wed, 26 Jan 2005 13:42:45 +0000 (13:42 +0000)]
*** empty log message ***

14 years ago*** empty log message ***
Matthew Mondor [Wed, 26 Jan 2005 08:13:00 +0000 (08:13 +0000)]
*** empty log message ***

14 years ago*** empty log message ***
Matthew Mondor [Sun, 23 Jan 2005 14:47:34 +0000 (14:47 +0000)]
*** empty log message ***

14 years agoSimplified GNUmakefile and added mmrelayd to it
Matthew Mondor [Sun, 23 Jan 2005 14:44:31 +0000 (14:44 +0000)]
Simplified GNUmakefile and added mmrelayd to it

14 years agoUsing sigsetjmp(3)/siglongjmp(3) instead of setjmp(3)/longjmp(3)
Matthew Mondor [Thu, 20 Jan 2005 11:28:30 +0000 (11:28 +0000)]
Using sigsetjmp(3)/siglongjmp(3) instead of setjmp(3)/longjmp(3)
for better portability (some pre ANSI C implementations did not save the
signal mask), and the currently used functions are POSIX hence suitable
for UNIX systems.

14 years ago*** empty log message ***
Matthew Mondor [Mon, 27 Dec 2004 11:16:16 +0000 (11:16 +0000)]
*** empty log message ***

15 years ago*** empty log message ***
Matthew Mondor [Sun, 5 Dec 2004 07:02:41 +0000 (07:02 +0000)]
*** empty log message ***

15 years ago*** empty log message ***
Matthew Mondor [Sun, 5 Dec 2004 06:55:03 +0000 (06:55 +0000)]
*** empty log message ***

15 years ago- Preparations for HTTP frontend system
Matthew Mondor [Sun, 5 Dec 2004 06:51:20 +0000 (06:51 +0000)]
- Preparations for HTTP frontend system

15 years ago- setproctitle(2) used on BSD systems in parent to show number of processes
Matthew Mondor [Sun, 5 Dec 2004 06:50:59 +0000 (06:50 +0000)]
- setproctitle(2) used on BSD systems in parent to show number of processes
  that were launched

15 years agoPreparations for mmmail HTTP frontend
Matthew Mondor [Fri, 3 Dec 2004 17:29:56 +0000 (17:29 +0000)]
Preparations for mmmail HTTP frontend

15 years ago*** empty log message ***
Matthew Mondor [Sun, 21 Nov 2004 13:22:59 +0000 (13:22 +0000)]
*** empty log message ***

15 years agoAdded description field in box table so that user administration HTTP frontend
Matthew Mondor [Sun, 21 Nov 2004 12:26:30 +0000 (12:26 +0000)]
Added description field in box table so that user administration HTTP frontend
for filters can also be used to set descriptions for boxes owned by the user

15 years ago*** empty log message ***
Matthew Mondor [Fri, 19 Nov 2004 22:08:58 +0000 (22:08 +0000)]
*** empty log message ***

15 years ago*** empty log message ***
Matthew Mondor [Thu, 18 Nov 2004 17:21:44 +0000 (17:21 +0000)]
*** empty log message ***

15 years agoChanged method to store unique multiple keys
Matthew Mondor [Tue, 16 Nov 2004 13:43:06 +0000 (13:43 +0000)]
Changed method to store unique multiple keys

15 years agofilter_allow() didn't need to query two columns for filter_allow patterns
Matthew Mondor [Tue, 16 Nov 2004 04:52:05 +0000 (04:52 +0000)]
filter_allow() didn't need to query two columns for filter_allow patterns

15 years agoAdded filter_created field to filter table
Matthew Mondor [Tue, 16 Nov 2004 04:51:34 +0000 (04:51 +0000)]
Added filter_created field to filter table

15 years ago- Changed user table user_id and box table box_user to varchar(32) which is
Matthew Mondor [Mon, 15 Nov 2004 23:02:06 +0000 (23:02 +0000)]
- Changed user table user_id and box table box_user to varchar(32) which is
  more suitable for HTTP frontends and can serve for user login.
- Dropped user table user_admin and alias table alias_user columns.

15 years ago*** empty log message ***
Matthew Mondor [Mon, 15 Nov 2004 05:56:36 +0000 (05:56 +0000)]
*** empty log message ***

15 years ago*** empty log message ***
Matthew Mondor [Sun, 14 Nov 2004 15:15:28 +0000 (15:15 +0000)]
*** empty log message ***

15 years ago*** empty log message ***
Matthew Mondor [Sun, 14 Nov 2004 14:54:36 +0000 (14:54 +0000)]
*** empty log message ***

15 years ago*** empty log message ***
Matthew Mondor [Fri, 12 Nov 2004 18:34:30 +0000 (18:34 +0000)]
*** empty log message ***

15 years agoFixed receiving single dot processing
Matthew Mondor [Fri, 12 Nov 2004 17:11:37 +0000 (17:11 +0000)]
Fixed receiving single dot processing

15 years agoFixed headers parsing bug related to multiple lined ones
Matthew Mondor [Fri, 12 Nov 2004 16:52:02 +0000 (16:52 +0000)]
Fixed headers parsing bug related to multiple lined ones

15 years ago*** empty log message ***
Matthew Mondor [Fri, 12 Nov 2004 16:33:59 +0000 (16:33 +0000)]
*** empty log message ***

15 years agoWe now are performing better sanity checking on message headers.
Matthew Mondor [Fri, 12 Nov 2004 16:31:12 +0000 (16:31 +0000)]
We now are performing better sanity checking on message headers.
Message-Id:, Date:. From: and To: headers are automatically created in
received messages if missing. We also ensure that all messages are always
composed of both a header and a body (which can be empty), separated by
an empty line. These steps were necessary in preparation for relaying support.
We do not want mmrelayd(8) to have to perform message sanity checking before
relaying mail out; The queue should be clean and only consist of valid
messages. Also added RESOLVE_MX_RCPT.

15 years ago- Added support for FDBRB_ADDSTOP in fdbreadbuf() to add current line then stop
Matthew Mondor [Fri, 12 Nov 2004 16:26:02 +0000 (16:26 +0000)]
- Added support for FDBRB_ADDSTOP in fdbreadbuf() to add current line then stop

15 years agoVarious fixes and addition of RESOLVE_MX_RCPT
Matthew Mondor [Fri, 12 Nov 2004 11:05:01 +0000 (11:05 +0000)]
Various fixes and addition of RESOLVE_MX_RCPT

15 years agoNow issues From: and To: headers automatically if necessary, which seem
Matthew Mondor [Tue, 9 Nov 2004 11:53:16 +0000 (11:53 +0000)]
Now issues From: and To: headers automatically if necessary, which seem
mendatory for some SMTP servers

15 years agoExplicitely ignore display of some special bits
Matthew Mondor [Tue, 9 Nov 2004 07:16:49 +0000 (07:16 +0000)]
Explicitely ignore display of some special bits

15 years agoAdded support for relaying to mmsmtpd(8). Did not however write mmrelayd(8)
Matthew Mondor [Tue, 9 Nov 2004 05:31:14 +0000 (05:31 +0000)]
Added support for relaying to mmsmtpd(8). Did not however write mmrelayd(8)
yet. At least mail can now be queued for relaying, and security is handled.

15 years ago*** empty log message ***
Matthew Mondor [Sun, 31 Oct 2004 06:50:57 +0000 (06:50 +0000)]
*** empty log message ***

15 years ago*** empty log message ***
Matthew Mondor [Sun, 31 Oct 2004 06:21:02 +0000 (06:21 +0000)]
*** empty log message ***

15 years ago*** empty log message ***
Matthew Mondor [Fri, 22 Oct 2004 14:28:26 +0000 (14:28 +0000)]
*** empty log message ***

15 years ago*** empty log message ***
Matthew Mondor [Fri, 22 Oct 2004 13:30:16 +0000 (13:30 +0000)]
*** empty log message ***

15 years ago*** empty log message ***
Matthew Mondor [Mon, 18 Oct 2004 17:34:15 +0000 (17:34 +0000)]
*** empty log message ***

15 years agoFixed a macro bug in executable_security(), used to always return -1
Matthew Mondor [Fri, 15 Oct 2004 09:02:05 +0000 (09:02 +0000)]
Fixed a macro bug in executable_security(), used to always return -1

15 years ago*** empty log message ***
Matthew Mondor [Fri, 15 Oct 2004 08:24:45 +0000 (08:24 +0000)]
*** empty log message ***

15 years ago*** empty log message ***
Matthew Mondor [Thu, 14 Oct 2004 15:13:20 +0000 (15:13 +0000)]
*** empty log message ***

15 years agoOnly notify by a signal when queueing a message into an empty port as a
Matthew Mondor [Thu, 14 Oct 2004 15:05:23 +0000 (15:05 +0000)]
Only notify by a signal when queueing a message into an empty port as a
performance enhancement