View Single Post
Old 07-03-2011, 08:26 PM   #1
Junior Member
Join Date: Jun 2009
Posts: 5
bramgn is on a distinguished road
Default FYI: vacation message returns error from sendmail


Our user created and activated a vacation message, but an error message is returned upon sending this user an email:

The original message was received at Sun, 3 Jul 2011 19:05:18 +0200
from localhost.localdomain []

   ----- The following addresses had permanent fatal errors -----
"|/usr/local/ispmgr/sbin/vacation -f
/home/user/email/domain/atle/.vacation.db -m
/home/user/email/domain/atle/.vacation.msg -a fname.lname name"
    (reason: Service unavailable)
    (expanded from: <user@domain>)

   ----- Transcript of session follows -----
smrsh: "vacation" not available for sendmail programs (stat failed)
554 5.0.0 Service unavailable
The maillog has the following to report about it:

Jul  3 19:05:18 mx01 smrsh: uid 8: attempt to use "vacation -f /path/to/.vacation.db -m /path/to/.vacation.msg -a fname.lname user" (stat failed)
Jul  3 19:05:18 mx01 sendmail[24688]: p63H5DwE024685: to="|/usr/local/ispmgr/sbin/vacation -f /path/to/.vacation.db -m /path/to/.vacation.msg -a fname.lname user", ctladdr=<user@domain> (8/0), delay=00:00:00, xdelay=00:00:00, mailer=prog, pri=61153, dsn=5.0.0, stat=Service unavailable
OS: CentOS 5.6
MTA: sendmail-8.13.8-8.el5

I fixed it by creating a symlink in the /etc/smrsh directory to the vacation binary. If there is a more appropriate solution to this problem, i would be glad to hear about it.
bramgn is offline   Reply With Quote