Peter Simons
84ea53543a
Renamed the followings tags in petidomo.conf
...
MTA_Options --> MTAOptions
List_Directory --> ListDirectory
Ack_Queue_Directory --> AckQueueDirectory
for consistency reasons. While I was at it, I also renamed the source
file from config.c to config-files.c, because the module config.c is
generally associated with GNU autoconf and this has nothing to do with
it.
2001-01-20 13:26:00 +00:00
Ralf S. Engelschall
a333ce43a6
Be careful, listname can be NULL in global operation mode and not
...
all printf implementations are as smart as BSD's variant. Instead of
printing "(null)" others just dump core.
2001-01-20 11:19:14 +00:00
Ralf S. Engelschall
0e34ed74d9
Ignore LaTeX generated files
2001-01-20 11:00:17 +00:00
Peter Simons
1426a7c640
Cosmetic change.
2001-01-19 21:42:34 +00:00
Peter Simons
70f3d043b4
Updated dependencies.
2001-01-19 21:39:49 +00:00
Peter Simons
2785a387a3
Enhanced portability. This commit also contains an older
...
change made by Ralf, which I have to re-commit after
screwing up with the "cvs admin" command. Sorry!!!
2001-01-19 21:21:41 +00:00
Peter Simons
cd24ac475e
Minor change to enhance portability.
2001-01-19 21:16:25 +00:00
Peter Simons
f651fa8224
The module contains the static variable MasterConfig, which all other
...
Petidomo routines can access via getMasterConfig(). The routine
getListConfig(), which is defined in config.c, too, used the "correct"
mechanism to access MasterConfig, even though it could access it
directly. Since I chose the same name ("MasterConfig" :->) for the
local copy of the pointer, gcc warns that this variable shadows the
static one. To get rid of this warning, and since it doesn't make one
bit a difference, getListConfig() accessse the static variable
directly now.
2001-01-19 20:51:11 +00:00
Peter Simons
ac901a4e1c
Changed ACL semantics: The ACL is processed only if the posting didn't
...
have a valid password. If it did, the mail is going through in any
case and the ACL is not tested.
2001-01-19 16:46:25 +00:00
Peter Simons
73ed1ee547
In case no index file is installed, "make install" will create an
...
example file at the correct location so that the admininstrator
hopefully figures out that there is some work to be done.
2001-01-19 16:19:59 +00:00
Peter Simons
c9033a31a7
- Added a warning message to be logged when no global ACL file exists.
...
- Reordered tests in check_local_acl_file: When no listname has been
given, we don't need to initialize the lexer at all.
2001-01-19 16:08:51 +00:00
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