summaryrefslogtreecommitdiff
path: root/src/mail-wrapper.c
diff options
context:
space:
mode:
authorviega1998-05-25 18:14:57 +0000
committerviega1998-05-25 18:14:57 +0000
commit93db3ca4b46bf0a2b60750d72f2527bc1235939b (patch)
tree3219581b6b2837e8766758a5aebbaac8b8d062be /src/mail-wrapper.c
parentcc25e9655d2197d6fa88b2e3a1cf67ee8a297f76 (diff)
downloadmailman-93db3ca4b46bf0a2b60750d72f2527bc1235939b.tar.gz
mailman-93db3ca4b46bf0a2b60750d72f2527bc1235939b.tar.zst
mailman-93db3ca4b46bf0a2b60750d72f2527bc1235939b.zip
Diffstat (limited to 'src/mail-wrapper.c')
-rw-r--r--src/mail-wrapper.c24
1 files changed, 21 insertions, 3 deletions
diff --git a/src/mail-wrapper.c b/src/mail-wrapper.c
index 3969c57e3..3ad0803d4 100644
--- a/src/mail-wrapper.c
+++ b/src/mail-wrapper.c
@@ -1,17 +1,35 @@
/*
+** mail-wrapper.c:
** generic wrapper that will take info from a environment
** variable, and pass it to two commands.
**
-** 10-17-96 : Hal Schechner
+** Copyright (C) 1998 by the Free Software Foundation, Inc.
**
-** 12-14-96 : John Viega -- changed to work on 1 command, take a list of
+** This program is free software; you can redistribute it and/or
+** modify it under the terms of the GNU General Public License
+** as published by the Free Software Foundation; either version 2
+** of the License, or (at your option) any later version.
+**
+** This program is distributed in the hope that it will be useful,
+** but WITHOUT ANY WARRANTY; without even the implied warranty of
+** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+** GNU General Public License for more details.
+**
+** You should have received a copy of the GNU General Public License
+** along with this program; if not, write to the Free Software
+** Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 0211-1307, USA.
+**
+** 10-17-96 : Hal Schechner (hal-j@channel21.com)
+**
+** 12-14-96 : John Viega (viega@list.org)
+** changed to work on 1 command, take a list of
** valid commands, just pass on argv, and use
** execvp() Also threw in some useful feedback for
** when there's a failure, mainly for future
** debugging. Made it a root script so we could
** call setuid()
**
-** Chmod this bitch 4755.
+** Chmod this 4755.
**
*/
#include <stdio.h>