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?
|
|