Commit Graph

26 Commits

Author SHA1 Message Date
Peter Simons
6e37fb864d petidomo.h: don't use reserved double-underscore prefix 2013-02-09 20:19:19 +01:00
Peter Simons
23719d36a3 Include <config.h> in every source code module. 2013-02-09 20:19:19 +01:00
Peter Simons
497ddceaf9 Bumped date in copyright headers. 2013-02-06 12:50:58 +01:00
Peter Simons
99ebe514bc Updated license to GPLv3 or later. 2010-02-24 17:34:05 +01:00
Peter Simons
a11f628d97 Converted build to gnulib. 2010-02-24 17:33:58 +01:00
Thomas Lotterer
bc42af933b both peti and rse did overlapping work based on (untagged) 4.0b1; peti committed to the CVS first (no version created ever); this is an attempt to manually merge rse's acl pre/post changes in (claim themselfs to lead to 4.0b2 2004-02-02 19:50:25 +00:00
Peter Simons
3dcc6e0441 Since we never tested the return codes of *_main() anyway, don't
pretend we do: Made listsern_main(), hermes_main() and approve_main()
officially return "void".
2001-01-20 14:29:28 +00:00
Ralf S. Engelschall
a047399b38 First bunch of cosmetic adjustments to text messages. Additionally
--masterconf=FILE is also passed through to files created in acknowledge
directory.
2001-01-20 13:52:41 +00:00
Peter Simons
37d2f1c693 Underscores in file names suck, because you need an extra key-press to
type them compared to the hyphen. For this reason (and for
consistency) I corrected this horrible, horrible mistake of the past
and renamed those files.
2001-01-20 13:42:01 +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
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
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
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
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
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
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
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
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
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
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
36d16be85a All internal prototypes and definitions. 2000-12-13 15:54:29 +00:00