Commit Graph

30 Commits

Author SHA1 Message Date
Peter Simons
f693f67bf4 hermes.c, approve.c: use proper EXIT_* code instead of magic contstant 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
df82141618 hermes.c, main.c: drop unused variables 2013-02-09 19:06:23 +01:00
Peter Simons
497ddceaf9 Bumped date in copyright headers. 2013-02-06 12:50:58 +01:00
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
99ebe514bc Updated license to GPLv3 or later. 2010-02-24 17:34:05 +01:00
Thomas Lotterer
e8a971cbb8 merge in thl slpit cookie update from OpenPKG 2004-02-02 19:56:38 +00:00
Thomas Lotterer
9b08bfd944 merge in OpenPKG X-Spam-Flag addition 2004-02-02 19:55:26 +00: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
ede943e589 Petidomo will now let the "keywords:" and "summary:" headers pass when
posting to a list. These headers are uncommon but have been around for
ages.
2001-02-17 21:37:05 +00:00
Peter Simons
625983a6b5 Changed loglevel of sereval syslog() calls from NOTICE to INFO,
because they do not really require the administrator's attention but
are informational.
2001-02-12 20:44:13 +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
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
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
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
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
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
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
afe1f3f231 Cosmetic change: Reformatted the source. 2001-01-15 17:23:25 +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
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
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
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