diff options
Diffstat (limited to 'src/alias-wrapper.c')
| -rw-r--r-- | src/alias-wrapper.c | 45 |
1 files changed, 22 insertions, 23 deletions
diff --git a/src/alias-wrapper.c b/src/alias-wrapper.c index 0b0132246..7930b7ca3 100644 --- a/src/alias-wrapper.c +++ b/src/alias-wrapper.c @@ -1,29 +1,28 @@ -/* -** alias-wrapper.c: -** wrapper to allow the mailman user to modify the aliases database. -** -** Copyright (C) 1998 by the Free Software Foundation, Inc. -** -** 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 02111-1307, USA. -*/ +/* alias-wrapper.c --- wrapper to allow the mailman user to modify the aliases + * database. + * + * Copyright (C) 1998 by the Free Software Foundation, Inc. + * + * 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 02111-1307, USA. + */ #include <stdio.h> - -const int LEGAL_PARENT_UID = 9001; /* mailman's UID */ -const int LEGAL_PARENT_GID = 6; /* mailman's GID */ +/* passed in from configure script */ +const int LEGAL_PARENT_UID = ALIAS_UID; /* mailman's UID */ +const int LEGAL_PARENT_GID = ALIAS_GID; /* mail's GID */ const char* SENDMAIL_CMD = "/usr/sbin/sendmail"; const char* ALIAS_FILE = "/etc/aliases"; |
