Commit Graph

25 Commits

Author SHA1 Message Date
Peter Simons
23aeb3f4bb Untabified source code and stripped all trailing white space. 2010-02-24 17:34:14 +01:00
Peter Simons
e4f1835752 Prefer EXIT_SUCCESS and EXIT_FAILURE defines. 2010-02-24 17:34:13 +01:00
Peter Simons
954a849ff9 Invoke set_program_name() in main() functions to make gnulib happy. 2010-02-24 17:34:06 +01:00
Peter Simons
99ebe514bc Updated license to GPLv3 or later. 2010-02-24 17:34:05 +01:00
Peter Simons
3e19c55fcd Use version string determined by Autoconf. 2009-07-19 22:24:16 +02:00
Peter Simons
59bfef901a Added check whether the required listname parameter is there _before_
we try and read the mail from standard input.
2001-02-17 21:59:17 +00:00
Ralf S. Engelschall
3c64978407 Provide a "petidomo --mode=dump <listname>" and use this in petidomo-kickout
instead of directly fiddling with Petidomo's files.
2001-01-21 12:00:35 +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
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
Peter Simons
65727bdc47 Removed unnecessary cast. 2001-01-19 15:27:58 +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
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
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
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
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
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
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
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
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
5ad045c241 - Added correct GNU GPL copyright statements to the files.
- Removed unnecessary include statements.
2000-12-13 15:35:14 +00:00
Peter Simons
3d63ac4c49 Initial revision 2000-12-13 13:19:03 +00:00