ISPsystem.com Forums

ISPsystem.com Forums (http://forum.ispsystem.com//index.php)
-   Troubleshooting (http://forum.ispsystem.com//forumdisplay.php?f=11)
-   -   FYI: vacation message returns error from sendmail (http://forum.ispsystem.com//showthread.php?t=1473)

bramgn 07-03-2011 08:26 PM

FYI: vacation message returns error from sendmail
 
Hello.

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

Code:

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

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

Code:

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.

sad 07-04-2011 02:18 AM

You did it right. We will check sendmail activation on this subject. Thank You for report.


All times are GMT +2. The time now is 06:09 PM.

Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2024, vBulletin Solutions, Inc.