Do not pass full path names as arguments to "wrapper". In other
words:
RIGHT: "|/usr/local/mail/bin/wrapper majordomo"
WRONG: "|/usr/local/mail/bin/wrapper /usr/local/mail/majordomo/majordomo"
-Brent
--
Brent Chapman Great Circle Associates
Brent@GreatCircle.COM 1057 West Dana Street
+1 415 962 0841 Mountain View, CA 94041
"Armando MacBeath R." <macbeath@udlapvms.pue.udlap.mx> writes:
# Hi ...
#
# I'm installing the majordomo, the installation was sucesfully,
# but in the process of testing i receive one error from the mailer (error
# 2, i include the mail with the description)
#
# the file /etc/majordomo.cf contains :
# $whereami = "udlapvms.pue.udlap.mx";
# $whoami = "majordomo@$whereami";
# $whoami_owner = "postmast@$whereami";
# $homedir = "/usr/local/majordomo";
# $listdir = "/usr/local/majordomo/lists";
# $log = "$homedir/Log";
# $mailer = "/usr/lib/sendmail -f\$sender \$to";
# $filedir = "$listdir";
# $filedir_suffix = ".archive";
# $index_command = "/bin/ls -lRL";
#
# -r--r--r-- 1 root 1527 Nov 4 18:05 majordomo.cf
#
# the directory of /etc/majordomo contains:
# drwxrwsr-x 4 daemon 512 Nov 4 18:20 majordomo
# udlapvms:macbeath > pwd
# /usr/local/majordomo
# udlapvms:macbeath > ls -la
# total 72
# drwxrwsr-x 4 daemon 512 Nov 4 18:20 .
# drwxr-sr-x 10 bin 512 Nov 4 11:51 ..
# drwxr-sr-x 2 daemon 512 Nov 4 12:01 Log
# drwxrwsr-x 2 daemon 512 Nov 4 12:32 lists
# -r-xr-xr-x 1 daemon 27610 Nov 4 12:03 majordomo
# -r--r--r-- 1 daemon 9746 Nov 4 12:01 majordomo.pl
# -rw-r--r-- 1 daemon 33 Nov 4 12:01 majordomo_version.pl
# -r--r--r-- 1 daemon 6047 Nov 4 12:01 shlock.pl
# -rwsr-sr-x 1 daemon 24576 Nov 4 18:18 wrapper
#
# And the /etc/aliases contains :
#
# majordomo: "|/usr/local/majordomo/wrapper /usr/local/majordomo/majordomo"
# owner-majordomo: postmast
# majordomo-owner: postmast
#
# The mail with the description of the problem say this :
# ---------- Forwarded message ----------
# Date: Fri, 5 Nov 1993 08:48:58 -0600 (CST)
# From: "Coordinacion Bitnet (vence enero)" <postmast@udlapvms>
# To: "Armando MacBeath R." <macbeath@udlapvms>
# Subject: Returned mail: unknown mailer error 2 (fwd)
#
#
#
#
#
# ---------- Forwarded message ----------
# Date: Fri, 5 Nov 93 08:48:50 CST
# From: postmast@udlapvms
# To: owner-majordomo@udlapvms
# Subject: Returned mail: unknown mailer error 2
#
# ----- Transcript of session follows -----
# /usr/local/majordomo/wrapper: error: insecure usage
# 554 "|/usr/local/majordomo/wrapper /usr/local/majordomo/majordomo"... unknown
# mailer error 2
#
# ----- Unsent message follows -----
# Return-Path: <macbeath>
# Received: by udlapvms.pue.udlap.mx (4.1/SMI-4.0)
# id AA26312; Fri, 5 Nov 93 08:48:50 CST
# Errors-To: postmast
# Date: Fri, 5 Nov 1993 08:48:36 -0600 (CST)
# From: "Armando MacBeath R." <macbeath@udlapvms>
# Subject:
# To: majordomo@udlapvms
# Message-Id: <Pine.3.07.9311050836.A26273-4100000@udlapvms>
# Mime-Version: 1.0
# Content-Type: TEXT/PLAIN; charset=US-ASCII
#
# lists
#
# -----------------------------------------------------------------------------
# Well friends, this is my problem, i hope that you can help me .....
#
#
#
# Thank you
#
#
# Your friend, Armando
#
# --------------------------------------------------------------------------
# Armando Mac Beath | |
# Universidad de las Americas | Voice: (22) 292-034
# |
# Network Director | (22) 292-156 |
# CECUA | Fax : (22) 47-43-47 |
# Network & Telecomunications | Bitnet : macbeath@udlapvms |
# Sta. Catarina Martir | Internet: Macbeath@udlapvms.pue.udlap.mx |
# Cholula,Puebla | Applelink : Laimex.ula02
# |
# --------------------------------------------------------------------------
# M M EEEEE XX XX |
# |
# M M M M E X X n n eeee ttttt | What do you thing about |
# M M M EEEE X nn n e t | the video-phone ? |
# M M E X X n nn eee t | |
# M M EEEEE XX XX n n eeee t | |
# --------------------------------------------------------------------------
#
#
|
|