summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Donn Cave's patch #602087 to honor configure's --srcdir switch.bwarsaw2002-12-121-2/+2
|
* Patch # 490029 by Don Porter for a couple of missing DIRSETGIDs.bwarsaw2002-12-121-11/+3
| | | | Helps BSD installations.
* Jon Parise says:bwarsaw2002-10-211-1/+1
| | | | | | | | | | | Under FreeBSD, at least, sys/types.h should be included before grp.h. Otherwise, the following (apparently harmless) warning is generated: In file included from common.h:28, from ./cgi-wrapper.c:22: /usr/include/grp.h:58: warning: parameter names (without types) in function declaration Make life easier for FreeBSD'ers.
* fatal(): Change the signature of vsnprintf() in the case of using thebwarsaw2002-09-051-1/+1
| | | | GNU version.
* Signature update.bwarsaw2002-09-051-2/+2
|
* Patch set for SF bug #596565. Use symbolic user/group names insteadbwarsaw2002-08-231-149/+174
| | | | | | | | | | | | | | | of numeric ids. Initial idea and patch by Todd Vierling, fleshed out by Barry. Specific changes here: check_caller(): The second argument now is a const char* instead of a GID_T, since it takes a group name not an id. Also, significantly rewrote the error messages that get logged when a group mismatch (or other error) occurs. Hopefully now when errors do occur, they'll be much easier to understand because they'll actually give the suggested configure options to fix the problem.
* Patch set for SF bug #596565. Use symbolic user/group names insteadbwarsaw2002-08-231-9/+10
| | | | | | | | | | | | | | | | | of numeric ids. Initial idea and patch by Todd Vierling, fleshed out by Barry. Specific changes here: We need to include grp.h check_caller()'s second argument now is a const char* instead of a GID_T, since it takes a group name not an id. GID_MISMATCH -> GROUP_MISMATCH Added exit code 8 for GROUP_NAME_NOT_FOUND which can happen if the symbolic group name isn't installed on the system.
* Patch set for SF bug #596565. Use symbolic user/group names insteadbwarsaw2002-08-232-63/+63
| | | | | | | | | | | | | of numeric ids. Initial idea and patch by Todd Vierling, fleshed out by Barry. Specific changes here: LEGAL_PARENT_GID -> LEGAL_PARENT_GROUP Also use parentgroup instead of parentid. Whitespace normalization.
* Patch set for SF bug #596565. Use symbolic user/group names insteadbwarsaw2002-08-231-8/+8
| | | | | | | | | | | | | of numeric ids. Initial idea and patch by Todd Vierling, fleshed out by Barry. Specific changes here: MAIL_GID -> MAIL_GROUP CGI_GID -> CGI_GROUP MAILMAN_UID -> MAILMAN_USER Also, safely pass the group names via the -D options.
* CGI_PROGS: Get rid of the `archives' program. It's long been obsolete.bwarsaw2002-03-261-2/+2
|
* Remove obsolete files.bwarsaw2002-03-161-112/+0
|
* Update copyright years.bwarsaw2002-03-164-4/+4
|
* Obsolete.bwarsaw2002-03-162-118/+0
|
* VALID_COMMANDS: Added `confirm'bwarsaw2002-03-141-0/+1
|
* VALID_COMMANDS: Add `subscribe' and `unsubscribe'.bwarsaw2002-02-231-0/+2
|
* Bump the copyright years.bwarsaw2002-02-141-1/+1
|
* VALID_COMMANDS: To make life easier, we'll include `admin' as a validbwarsaw2002-02-141-0/+1
| | | | | mail program. The installation procedure will copy the bounces script to the admin script. This is for backwards compatibility.
* ignore `mailman', delete `wrapper'bwarsaw2001-12-241-6/+6
|
* MAIL_PROGS: To avoid name clashes with other MLM's, rename the wrapperbwarsaw2001-12-241-2/+2
| | | | program to `mailman'.
* In order to make the list alias -> script mapping more consistent,bwarsaw2001-11-301-4/+4
| | | | | | | | | | | | | | | | | | | we've renamed mailcmd to request and mailowner to owner (through some SF-assisted CVS repo magic). We've also moved scripts/auto to contrib/auto since it's an obsolete way of doing the auto-aliasing in Postfix. We need to update mail-wrapper.c for the new list of acceptable script names. Note that there are still two abberations: - messages posted to just `listname' go to the post script - messages posted to listname-admin go to the bounces script The latter, listname-admin may eventually go away. Note that this requires you to regenerate your aliases!
* VALID_COMMANDS: Add bouncesbwarsaw2001-11-201-0/+1
|
* Removed commented out macros ALIAS_UID, ALIAS_GID, ALIAS_FLAGS.bwarsaw2001-07-181-5/+0
|
* CGI_PROGS: The handle_opts cgi is obsolete.bwarsaw2001-05-311-1/+1
|
* In the definition of LOG_IDENT and SCRIPTDIR, don't try to glue stringtwouters2001-05-292-2/+2
| | | | | | | | literals together with ##. That's not what ## is for; ## is to glue together stringified versions of tokens. The fact that it worked was a bug in GCC. Thanx to Jeff Dairiki for reminding me to take care of this. This fixes SF bug #227694.
* VALID_COMMANDS: Deprecate the `auto' script since there is now abwarsaw2001-05-111-2/+3
| | | | | better way to integrate Mailman and Postfix. Add the `join' and `leave' mail programs.
* Ignore the two new binaries.bwarsaw2001-05-091-0/+2
|
* Add the create and rmlist CGI programs.bwarsaw2001-05-091-1/+1
|
* Ignore the new generated confirm binarybwarsaw2001-04-021-0/+1
|
* Add `confirm' to list of CGI_PROGS to build.bwarsaw2001-03-261-2/+2
|
* VALID_COMMANDS: `auto' is an acceptable command -- this is a scriptbwarsaw2000-12-201-0/+1
| | | | that can be used with the Postfix MTA.
* intermediatebwarsaw2000-12-071-0/+31
|
* intermediatebwarsaw2000-12-071-0/+87
|
* Noam Zeilberger correctly notices that the prototype for vsnprintf()bwarsaw2000-11-092-5/+2
| | | | is incorrect. This closes SF bug #121185
* A couple of notes for laterbwarsaw2000-09-292-0/+10
|
* run_script(): Generalize the filtering out of environment variables.bwarsaw2000-09-271-6/+27
| | | | | | We now discard $PYTHONHOME and $PATH as well as the previously discarded $PYTHONPATH (which we later hand craft). Just a bit of extra paranoia.
* Include @CFLAGS@ on CFLAGS def line so this worksbwarsaw2000-08-061-1/+1
| | | | | | CFLAGS=-Wall ./configure --stuff closes SF bug #110906
* main(): Don't include newline in Usage: error message; this is addedbwarsaw2000-08-021-1/+1
| | | | by fatal() automatically.
* fatal(): Close SF bug #110401 and potential local security hole bybwarsaw2000-08-021-2/+2
| | | | | | formatting user supplied input. Also added newlines to both stderr and syslog output for more consistent formatting. Reported by Stan Bubrouski.
* fatal(): When not running as a CGI (e.g. when running at the mailbwarsaw2000-05-221-0/+5
| | | | | | wrapper), simply print the log_entry information to stderr. Most MTAs will include this in their bounce message, which will be helpful for debugging.
* Update the copyright lines to include the years 1999 & 2000.bwarsaw2000-03-216-6/+6
|
* Get the gid_t type from configure.bwarsaw1999-12-123-3/+6
|
* check_caller(): Get the gid_t type from configure. Also use %ld tobwarsaw1999-12-121-4/+4
| | | | print the gid values.
* Invoke Python with -S option, which avoids the "import site". Thisbwarsaw1999-10-291-10/+13
| | | | | speeds up invocation of the executable considerably by eliminating tons of stats and other computation.
* fatal() no longer has "const char*" as third arg prototype. Didn'tbwarsaw1999-07-121-1/+7
| | | | | | | work well with our own vsnprintf(). When the system doesn't have vsnprintf() -- as determined by autoconf -- provide a definition for the one our own vsnprintf.c
* fatal() no longer has "const char*" as third arg prototype. Didn'tbwarsaw1999-07-121-1/+1
| | | | work well with our own vsnprintf().
* Add magic to include our own vsnprintf if the OS is missing one.bwarsaw1999-07-121-5/+10
|
* An implementation of vsnprintf() ripped from GNU screen 3.7.6's misc.cbwarsaw1999-07-121-0/+126
| | | | | | | | | file. Known operating systems missing vsnprintf(): Solaris 2.5 This code is GPL'd but not copyright the FSF. RMS says its okay to use, but should be kept in a separate file permanently. I can only test that it compiles correctly, but cannot test its proper operation on systems that are missing vsnprintf().
* fatal(): Use vsnprintf() to avoid potential buffer overflowbwarsaw1999-07-021-2/+4
| | | | vulnerability (PR#72)
* Undo, previous checkin was a mistake (I'm still only beginning tohmeland1999-06-131-11/+8
| | | | experiment with the addaliases stuff).
* Create(): Do ValidateEmail(admin) before trying to actually createhmeland1999-06-131-8/+11
| | | | | anything, to disallow bin/newlist creating lists with bogus admin addresses.