On Thu, Jun 17, 1999 at 07:38:33PM +0000, Raymond Kelly wrote:
> Hi...
>> I've been trying to get a vacation working here but have run into
> problems ...
> I've followed the instructions in the manpage but a test run yields
> these errors
> the bat book unfortanetly is of no help either & there doesn't seem to
> be any other documentation around either....
>> any help would be appreciated & I'm sure it's pretty simple
> it's a Suse 5.2 system btw
>> ta
> Ray ...
>> [begin snip]
>> The original message was received at Thu, 17 Jun 1999 18:30:24 +0100
> from ray at localhost>>> ----- The following addresses had permanent fatal errors -----
> "|/usr/bin/vacation test_acc"
> (expanded from: test_acc)
>> ----- Transcript of session follows -----
> sh: vacation not available for sendmail programs
> 554 "|/usr/bin/vacation test_acc"... Service unavailable
>
You might need to drop a copy of vacation into /etc/smrsh or
/var/adm/smrsh. In fact, a symlink from /etc/smrsh/vacation to
/usr/bin/vacation might do the trick.
The smrsh feature of sendmail is a 'Sendmail restricted shell' that
limits the programs that sendmail will run via aliases or .forward
files.
Looks like SuSE enable it by default. The smrsh directory is
located in /var/adm/smrsh in the original sendmail sources, but
Redhat patch it to /etc/smrsh. SuSE might or might not do the same.
Later,
Kenn
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!