US: 1-941-4621-069
  
Cyprus: 3-572-2052-781

Go Back   ISPsystem.com Forums > ISPmanager > Troubleshooting


Reply
 
Thread Tools
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

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.
bramgn is offline   Reply With Quote
Old 07-04-2011, 02:18 AM   #2
ISPsystem team
 
sad's Avatar
 
Join Date: Oct 2006
Location: Irkutsk, Baikal
Posts: 25
sad has disabled reputation
Send a message via ICQ to sad
Default

You did it right. We will check sendmail activation on this subject. Thank You for report.
sad is offline   Reply With Quote
Reply

Tags
sendmail, vacation message

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 08:02 AM.