> It's probably smrsh. Sendmail won't allow itself to run an app
> unless you add a symlink in the smrsh directory (typically
> /etc/smrsh on Red Hat).
OK, I'd just started on maillog and spotted smrsh running as UID 8 (mail)
>> ln -s /usr/local/bin/lsv_amin /etc/srmsh/lsv_admin
Cool, thanks. I was just about to start wading through the sendmail book.
Now all maillog says is
May 4 14:44:06 footle LSV:lsv_amin: Unable to deliver mail to: listserv
May 4 14:44:06 footle LSV:lsv_amin: **Error(13)** A call to fopen() failed.
May 4 14:44:06 footle sendmail: OAA16316: to="|/usr/local/bin/lsv_amin /home/listserv/spool listserv", delay=00:00:01, xdelay=00:00:01, mailer=prog, stat=unknown mailer error 202
The target directory /home/listserv/spool is owned by listserv, group root,
and rwx to both...lsv_amin is owned by root and has the sticky bit set,
so why can't smrsh open the target file to write the mail?
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!