Great Circle Associates Majordomo-Users
(February 2002)
 

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: Re: RH 7.2/Majordomo 1.94.5/Sendmail 8.12.1 Problem
From: Gregory Neil Shapiro <sendmail+gshapiro @ sendmail . org>
Date: Thu, 31 Jan 2002 16:07:38 -0800
To: <dneal @ cnls . lanl . gov>
Cc: majordomo-users @ greatcircle . com, sendmail-questions @ sendmail . org
In-reply-to: <200201312332.g0VNWWk8007036@iiwi.lanl.gov>
References: <200201312332.g0VNWWk8007036@iiwi.lanl.gov>

dneal> VERSIONID(`@(#)mailserver.mc     1.0 (yourdomain.com) 5/1/97')
dneal> OSTYPE(linux)dnl
dneal> DOMAIN(lanl)dnl
dneal> FEATURE(smrsh,/usr/sbin/smrsh)dnl
dneal> MAILER(local)dnl
dneal> MAILER(smtp)dnl
dneal> MAILER(procmail)dnl
dneal> define(`PROCMAIL_MAILER_PATH',`/usr/bin/procmail')dnl
dneal> define(`LUSER_RELAY',`mail.lanl.gov')dnl
dneal> define(`confLOG_LEVEL',12)dnl
dneal> define(`SMART_HOST', mail.lanl.gov)dnl
dneal> define(`LUSER_RELAY',`mail.lanl.gov')dnl
dneal> define(`confDONT_EXPAND_CNAMES',true)dnl

The define() lines should be before the FEATURE() lines.  See sendmail's
cf/README for the proper order of lines.

dneal> +++++++++++++++++++++++ Mail Log File Entry +++++++++++++++++++++++++++
dneal> Jan 31 16:10:15 swan sendmail[4216]: g0VNAF60004215: to="|/home/majordomo/wrapper resend -l cnls-seminar-list cnls-seminar_list", ctladdr=<cnls-seminar-list@cnls.lanl.gov> (47/0), delay=00:00:00, xdelay=00:00:00, mailer=prog, pri=30013, dsn=5.3.0, stat=unknown mailer error 6

It don't know why majordomo is exiting with '6'.  It should be using a
sysexit value (from /usr/include/sysexits.h).

Some things you can check:

1. You are using smrsh which limits the commands the MTA can run.  Is
   'wrapper' in the smrsh directory?
2. sendmail will run the command as the default user.  If your system has a
   mailnull account, it will run it as mailnull.  If it has a sendmail
   account, it will run it as sendmail.  If it has a daemon account, it
   will run it as daemon.  Finally, if none of the above accounts are
   found, it runs it as uid 1, gid 1.  Does majordomo run correctly as
   the user that runs it?


Indexed By Date Previous: Re: RH 7.2/Majordomo 1.94.5/Sendmail 8.12.1 Problem
From: Neil W Rickert <sendmail+rickert@sendmail.org>
Next: smrsh problems
From: Kim Gross <kgross@jensalt.com>
Indexed By Thread Previous: Re: RH 7.2/Majordomo 1.94.5/Sendmail 8.12.1 Problem
From: Neil W Rickert <sendmail+rickert@sendmail.org>
Next: smrsh problems
From: Kim Gross <kgross@jensalt.com>

Google
 
Search Internet Search www.greatcircle.com