Commit Graph

282 Commits

Author SHA1 Message Date
Peter Simons
c9eddba714 Petidomo used the mail's envelope to deliver the request for
confirmation. I have changed this to either reply-to or from (if
reply-to is unset), because sendmail will destroy the original
envelope under obscure circumstances.
2001-01-19 16:02:22 +00:00
Peter Simons
65727bdc47 Removed unnecessary cast. 2001-01-19 15:27:58 +00:00
Peter Simons
4b7563f263 Due to a mix-up in the variable names, Petidomo expanded all list
config file paths incorrectly when the list has a flat hierarchy. That
is fixed now.
2001-01-19 15:26:53 +00:00
Ralf S. Engelschall
5e5d16e5f3 Provide "make dist" command for rolling distribution tarball. 2001-01-19 15:09:12 +00:00
Peter Simons
1d2ace552e Added version information to the start-up log message. 2001-01-19 15:08:26 +00:00
Ralf S. Engelschall
a63cdcd16b First step in GNu shtool version support:
Add version.c and use it for "petidomo --version".
Support for handling version.c in Makefile.in is coming later.
2001-01-19 15:01:19 +00:00
Ralf S. Engelschall
00eb2b8fc0 Get rid of all complaints from GCC 2.97
(except for two things which I do not want to change on my own)
2001-01-19 14:56:33 +00:00
Peter Simons
727cb694ec Incorporated the cookie into the end-of-mail-marker used in the
ack-script, so that the whole mechanism doesn't break when somebody
has the words '[end-of-mail-marker]' in the mail body itself.
2001-01-19 14:53:23 +00:00
Peter Simons
c2fde848d9 Fixed the spelling of the newly added syslog messages. 2001-01-19 14:28:08 +00:00
Peter Simons
89c8fa617c Moved the initial startup log message up so that it is logged before
the main config file is parsed. Also added the path of the main config
file to the message so that people can see where Petidomo locks for it
in case parsing fails.
2001-01-19 14:26:48 +00:00
Peter Simons
0b219dd569 Greatly enhanced the log messages Petidomo writes. Made the existing
messages more helpful, added lots of new ones, generally made things
real perfect. Remember: Life is BEAUTIFUL.
2001-01-19 14:18:43 +00:00
Ralf S. Engelschall
cff3b98e7f Do not show subdir walking commands 2001-01-19 14:14:18 +00:00
Peter Simons
dfa298ce19 Added a message that is logged every time Petidomo starts up. This
message will "dump" the configuration of Petidomo so that the user has
a clue which Petidomo instance is doing what.
2001-01-19 14:09:48 +00:00
Peter Simons
0670963e12 When a un-/subscribe command needs confirmation, the request for
confirmation is sent to the address that is supposed to added to or
removed from the list. If, and only if, this address is different than
the one from which the request came, a short mail is sent to the
requestor to inform him what is going on.
2001-01-19 13:31:11 +00:00
Peter Simons
5cffe86638 Mailing list config files may now have the suffix ".config" or
".conf". Similarly, if the list config file is in a separate
directory, it may be called <listname>/config or <listname>/conf.
2001-01-19 13:20:34 +00:00
Peter Simons
ea35e3f74d Mailing list config files may now have the suffix ".config" or
".conf". Similarly, if the list config file is in a separate
directory, it may be called <listname>/config or <listname>/conf.
2001-01-19 13:12:46 +00:00
Peter Simons
e1fe9b9d4b Added code that will set the real user id of the process equal to the
effective user id.
2001-01-19 13:05:13 +00:00
Peter Simons
1745aa4250 - Word-wrapped long lines to fit into 80 characters per line.
- Updated dependencies.
- Removed BINDIR from FLAGS_TO_PASS as it isn't needed anymore.
2001-01-19 12:50:55 +00:00
Peter Simons
1440285340 Petidomo needs to know the path to the executable in order to write
the ack-spool file, which starts Petidomo again to process the
acknowledged command or posting. I used BINDIR for that, but realized
that this sucks when somebody manually moves the binary. Hence, I am
using the contents of argv[0] now, normalized to an absolute path.
This value is stored in the global variable who_am_i, which the
queue_*() routines now use.
2001-01-19 12:49:44 +00:00
Ralf S. Engelschall
60a0658b81 Get rid of the following GCC complains:
generate_cookie.c: In function `generate_cookie':
generate_cookie.c:58: warning: implicit declaration of function `strlen'
generate_cookie.c: In function `MD5Update':
generate_cookie.c:245: warning: declaration of `index' shadows global declaration
generate_cookie.c:260: warning: implicit declaration of function `memcpy'
generate_cookie.c: In function `MD5Final':
generate_cookie.c:286: warning: declaration of `index' shadows global declaration
generate_cookie.c:303: warning: implicit declaration of function `memset'
2001-01-19 08:31:14 +00:00
Ralf S. Engelschall
2976c607a6 As GCC complained: There is an ISO 9899:1990 (``ISO C'') function
clock(3), so we have a symbol conflict here. Get rid of this by renaming
our symbol.
2001-01-19 08:27:49 +00:00
Ralf S. Engelschall
80f283f8ee Do not use C++ comments in ANSI C 2001-01-19 08:23:11 +00:00
Ralf S. Engelschall
24bae40be7 As we agreed today, Petidomo is now open because licensed under GPL and
always will be licensed under GPL, so use "Petidomo" as the program name
everywhere and consistently.
2001-01-18 20:30:50 +00:00
Ralf S. Engelschall
8cd52f167e Install petidomo-xxxx tools 2001-01-18 20:22:13 +00:00
Ralf S. Engelschall
3a55ccec61 Show were we are operating 2001-01-18 20:20:02 +00:00
Ralf S. Engelschall
f55b087348 Start filling ChangeLog... 2001-01-18 20:07:58 +00:00
Ralf S. Engelschall
7ac5933aa1 *** empty log message *** 2001-01-18 15:43:57 +00:00
Ralf S. Engelschall
b130cb26de *** empty log message *** 2001-01-18 15:43:34 +00:00
Peter Simons
a7691cdfaa Add old RSE admin scripts 2001-01-18 15:31:30 +00:00
Ralf S. Engelschall
f6fbe740a0 ListACLFile -> ACLFile 2001-01-18 14:41:28 +00:00
Ralf S. Engelschall
18c9619303 New layout 2001-01-18 13:17:11 +00:00
Ralf S. Engelschall
6d86950750 New layout 2001-01-18 13:10:18 +00:00
Ralf S. Engelschall
6352e0499d Switch to GNU shtool 2001-01-18 12:54:56 +00:00
Ralf S. Engelschall
5ac9e217db Remove obsolete install-sh 2001-01-18 12:50:47 +00:00
Ralf S. Engelschall
df6412f7d9 Add GNU shtool 2001-01-18 12:45:42 +00:00
Ralf S. Engelschall
e9aa5c16f3 fix install-testlist target 2001-01-18 12:28:24 +00:00
Peter Simons
a620bf4593 When a request for confirmation is required, the originator of the
command will receive a short mail, telling him that this is so, so
that he knows what's going on.
2001-01-16 12:09:12 +00:00
Peter Simons
95ea9d1899 Delayed the processing of the acknowledgment-requirement so that you
don't have to ack commands that will fail anyways.
2001-01-16 11:57:51 +00:00
Peter Simons
04d4355c3f Implemented the acked-once feature. 2001-01-16 11:33:36 +00:00
Peter Simons
e4beacc940 Added new action keyword to the Access Control Language: approve. This
keyword will -- unlike to "pass" -- not only pass the mail, but will
also make sure that the mail passes all other authorization controls.
This means, the mail will be treated as if the Petidomo master
password had been given in the header.
2001-01-16 10:49:08 +00:00
Peter Simons
cf31a9325c Added include of sys/types.h. Required on some systems to be able to
include regex.h.
2001-01-16 10:47:15 +00:00
Peter Simons
5f6df01b4e Moved the call to checkACL() before anything else is tested regarding
authorization. Combined with the new "approve" action in the ACL file,
this allows to pass all other authentication mechanisms with the ACL.
2001-01-16 10:45:21 +00:00
Peter Simons
5df03932d0 Added code that will request confirmation when posting to a list that
is set to "acknowledged".
2001-01-15 19:18:49 +00:00
Peter Simons
2fcd50d4c4 Implemented the approve mode, where incoming mails are searched for
confirmation cookies and the apropriate queue entries will be
executed.
2001-01-15 18:48:49 +00:00
Peter Simons
859f5e9887 The call to queue_command() had the command wrong. 2001-01-15 18:47:32 +00:00
Peter Simons
0cfd7e405e Added code that will send the "request for confirmation" mail out when
apropriate.
2001-01-15 17:56:33 +00:00
Peter Simons
afe1f3f231 Cosmetic change: Reformatted the source. 2001-01-15 17:23:25 +00:00
Peter Simons
56addb6b2f - ListType is no longer a required parameter; it now defaults to "open". 2001-01-15 17:19:36 +00:00
Peter Simons
cce2222de3 Had to make is_approved a global variable, because it is actually
tested in subroutines of listserv_main() and hermes_main(), like
subscribe(), which's parameter list I don't want to change.
2001-01-15 17:06:48 +00:00
Peter Simons
228e6c443c queue_command() and queue_posting() will now return the cookie used as
filename, so that the calling code can mail back the request for
confirmation.
2001-01-15 16:58:58 +00:00