We help IT Professionals succeed at work.

Auto Responder (Vacation)

choccarlm
choccarlm asked
on
Hi,

Im having real trouble in getting the vacation program to work. I've followed all of the steps in the man pages but I keep on getting the same error. The error is:

----- The following addresses had permanent fatal errors ----- "|/usr/bin/vacation"
    (reason: service unavailable)
    (expanded from: <MyEmailAddress>)

   ----- Transcript of session follows -----
smrsh: vacation not available for sendmail programs
554 5.0.0 "|/usr/bin/vacation"... Service unavailable

Any ideas?
Comment
Watch Question

Commented:
1. Is the vacation program there
2.  Which privileges does it have

Author

Commented:
The vacation program is there.

Commented:
Are you setting it up in .forward for a user or in the alias file?
Commented:
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.

http://www.akadia.com/services/automatic_email_answering.html

http://www.sendmail.org/faq/section3.html#3.34

http://www.sendmail.org/faq/section3.html#3.33

Author

Commented:
Thanks a lot. I made a link like you said and it worked. Thanks

Explore More ContentExplore courses, solutions, and other research materials related to this topic.