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
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