Commit Graph

82 Commits

Author SHA1 Message Date
Peter Simons
fd3bf06a8a List's "AllowPublicSubscripiton" does not exist anymore. Now we have
"SubscriptionType" with valid values "public", "admin" or
"acknowledged".
2001-01-15 16:55:45 +00:00
Peter Simons
6168ea3bec - Added Ack_Queue_Dir keyword.
- Changed default of List_Directory from LOCALSTATEDIR to
  LOCALSTATEDIR/lists.
2001-01-15 16:37:33 +00:00
Peter Simons
3ad4ad6931 Removed the whole concept of "alien subscription". It was stupid to
begin with and now that we'll have acknowledged subscriptions, it is
useless, too.
2001-01-15 16:35:06 +00:00
Peter Simons
f5a3d6dbe8 Implemented spooling mechanism for requests and postings that need an
acknowledgement to be processed. The code is there, it just isn't
called yet.
2001-01-15 16:29:11 +00:00
Peter Simons
40c7ea336b Added --approved command line parameter, which is treated as a
boolean. Whether it is set or not will be passed through to
listserv_main() and to hermes_main(). The parameter will be used by
the spooling mechanism.
2001-01-15 16:27:52 +00:00
Peter Simons
8625cea8e4 Added config entry "AcknowledgementFile" to the mailing list's config file. 2001-01-11 14:17:53 +00:00
Peter Simons
48563f8faa Added generate_cookie() routine taken from mapSoN. 2001-01-11 14:11:33 +00:00
Peter Simons
1ee5bff1c4 The requestor will now receive a mail telling him something went wrong
when he tries to unsubscribe an address without specifying a list
name.
2001-01-11 14:10:57 +00:00
Peter Simons
99aaaee119 Set the right margin for word-wrapping to 70 characters instead of 75. 2001-01-10 17:12:40 +00:00
Peter Simons
5bd861dd77 The requestor will now receive a mail telling him something went wrong
when he tries to subscribe an address without specifying a list name.
2001-01-10 17:08:22 +00:00
Peter Simons
0224f8ad6b When running in listserv mode, there is no 'listname' which can be
used to get the mailing list's configuration. Thus, the routine
shouldn't try to got one. Fixed it.
2001-01-10 17:07:19 +00:00
Peter Simons
6ff1663900 Removed debugging output. 2001-01-10 16:34:00 +00:00
Peter Simons
7104ded04d Changed the ACL code to use the configured locations of the list's ACL
file rather than the hard-coded one.
2001-01-08 20:49:52 +00:00
Peter Simons
c0d14afc86 Completed the install-testlist target. 2001-01-08 20:40:24 +00:00
Peter Simons
88ffd53ded Rewrote Petidomo so that virtually any file's path can be configured
at run-time now.
2001-01-08 20:36:19 +00:00
Peter Simons
81d982c82b Added example entries for the new keywords "List_Directory",
"Help_File", "ACL_File", and "Index_File".
2001-01-08 20:35:29 +00:00
Peter Simons
ff9c148fca Added example entries for the new keywords "IntroductionFile",
"DescriptionFile", "ACLFile", "HeaderFile", "SignatureFile", and
"AddressFile".
2001-01-08 20:34:39 +00:00
Peter Simons
c793980ae0 Removed the path of the file in the comment header, since it doesn't
fit anymore anyway.
2001-01-08 20:33:11 +00:00
Peter Simons
0dcb44832b Added dependencies. 2001-01-08 16:19:32 +00:00
Peter Simons
191e98cadf Petidomo will now expect its master config file at
SYSCONFDIR/petidomo.conf. This location can be changed at run-time
with the command line parameter --masterconf.
2001-01-08 15:55:07 +00:00
Peter Simons
bacafded6a Added preliminary install and install-testlist target. 2001-01-08 15:54:18 +00:00
Peter Simons
4ae03faca5 Removed the ETCDIR stuff again. We use sysconfdir instead. 2001-01-08 15:14:41 +00:00
Peter Simons
2726404cd1 Replaced the old basedir-mechanism in Petidomo, which used to be the
home directory of the petidomo user. Now, Petidomo expects its master
config file in ETCDIR, which is '/etc' per default. All other paths
will be set there at run-time.
2001-01-06 14:12:21 +00:00
Peter Simons
9aec2b31b5 - Added a "Petidomo:" prefix to all subject lines, to distinguish them
from regular mail. Rejection mails furthermore have the prefix
  "BOUNCE <listaddress>:", mails that need approval have the prefix
  "APROVE <listaddress>:".

- When a mail is rejected due to ACL, the mail body will tell you
  whether the global acl file or the list's local acl file hit.

- If a file "lists/<listname>/header" exists, it contents will be
  added to the headers of the article posted to the list. Be careful
  not to have blank lines in there, as this will screw the whole
  message up.

- When generating the index of available mailing lists, the list type
  will now be typeset in brackets, e.g.: "(public mailing list)".

- The index will no longer contain tabs in the mail body.
2001-01-06 11:05:08 +00:00
Peter Simons
f1f7dcefda The local List_Config variable was potentially used uninitialized.
Fixed that.
2001-01-06 10:11:58 +00:00
Peter Simons
fe3947876e Added dependency to stop parallel make from messing up with the
yacc/lex targets.
2000-12-16 13:37:58 +00:00
Peter Simons
08f3fb4045 Fixed parsing bug. 2000-12-16 13:27:12 +00:00
Peter Simons
55f89a924d Added definition of YYSTYPE. 2000-12-16 13:23:51 +00:00
Peter Simons
d0e19399e6 Use petidomo.h file to determine $srcdir, rather than main.c. 2000-12-16 13:18:18 +00:00
Peter Simons
6cad68b3c1 Reversed all changes concerning C++ in Petidomo ... it isn't worth the
major rewrite.
2000-12-16 13:11:54 +00:00
Peter Simons
00fc84dfeb Ignore yacc and lex files 2000-12-16 13:11:09 +00:00
Peter Simons
9a49431890 - Added GNU GPL copyright headers.
- Cleaned build process up.
2000-12-16 13:06:03 +00:00
Peter Simons
0909ac418c Initial revision 2000-12-16 12:38:21 +00:00
Peter Simons
713e8e60dc Added preliminary install target. 2000-12-16 12:14:15 +00:00
Peter Simons
529649f343 Removed reference to firepower altogether; MTA is a required keyword. 2000-12-16 12:06:09 +00:00
Peter Simons
bcca21a2e6 Removed note about Firepore MTA. 2000-12-15 17:30:43 +00:00
Peter Simons
c13dfcf2ff Hardcoded the base directory /usr/local/petidomo for the moment. 2000-12-15 17:27:53 +00:00
Peter Simons
a0ef75b0b2 Wrapped the header's contents in "extern C" linkage when compiling in
a C++ module.
2000-12-15 17:27:27 +00:00
Peter Simons
b305cb94ab The petidomo binary will now be linked with $(CXX).
Updated dependencies.
2000-12-15 16:58:11 +00:00
Peter Simons
069042ad61 Removed the signature code and all code that depended on it. In the
new Petidomo, the signature mechanism for server mails will work
differently.
2000-12-15 16:16:07 +00:00
Peter Simons
147e9c87fe Removed the global configuration options "DetachImmediately" and
"ShowStatistics". Consequently removed all code that deals with these
options, too.
2000-12-15 16:03:15 +00:00
Peter Simons
e1d0179fbb The clean target will now erase the argv.info file. 2000-12-15 15:58:39 +00:00
Peter Simons
837ff29661 Ignore the argv.info file. 2000-12-15 15:58:21 +00:00
Peter Simons
7df3f0088d Removed the mail rescue mechanism and all relating code. I guess
_nobody_ ever used that mechanism anyway, not even me. :-)
2000-12-15 15:56:46 +00:00
Peter Simons
0cb339abd8 - Removed all debugging code. Now that Petidomo will be "rewritten"
in C++, I need a new paradigm for debugging anyway and the old
   solution of mine was to messy for my taste anyway.

 - Petidomo no longer cares under what name it has been started. The
   different modes of operation will now be distinguished by a
   mandatory command line parameter.
2000-12-15 15:48:00 +00:00
Peter Simons
5d6c97d465 Added support for C++ source modules within Petidomo. 2000-12-15 14:54:00 +00:00
Peter Simons
7c59e894d3 Modified the main Makefile so that it will pass the values determined
by Autoconf down to the libraries.
2000-12-14 16:43:10 +00:00
Peter Simons
135cf3c8f6 FreeBSD's make again: That stupid thing really doesn't grasp $< targets. 2000-12-14 16:08:47 +00:00
Peter Simons
c79aeb2b08 FreeBSD's make sucks big time: It doesn't honor the -C flag. Hence we
have to change into the target directory before calling make.
2000-12-14 15:35:11 +00:00
Peter Simons
3362ed9a9b BSD make doesn't understand $< like GNU make does, thus it is better
to explicitely name the targets for the sake of portability.
2000-12-14 15:30:52 +00:00