stat is a system call to get properties of a file (man 2 stat). I'd
guess that the stat failing means that either sendmail doesn't have
sufficient permissions on the vacation binary, or it isn't given the
full path to the binary and it isn't on whatever default path is setup
in sendmail and thus can't find it at all.

On Sun, Jan 30, 2011 at 9:27 AM, William Kreuter <bil...@drizzle.com> wrote:
> The "vacation" autoresponder suite came with rhel3
> and 4, but it's omitted from 5.  My el5 box uses
> sendmail-8.13.8-8.el5, which is what yum gives you,
> and I don't want to switch to another mailhandler.
> I grabbed the binary for vacation 1.2.7 from an
> rhel4 box and it runs with no apparent error on el5,
> initializing .vacation.db apparently just fine.
>
> However, the autoresponse itself fails.
> /var/log/maillog shows:
>
> Jan 30 09:13:46 amistad smrsh: uid 500: attempt to use "vacation froya" (stat 
> failed)
> Jan 30 09:13:46 amistad sendmail[7908]: p0UHDkf6007907: SYSERR(root): 
> putbody: write error: Broken pipe
> Jan 30 09:13:46 amistad sendmail[7908]: p0UHDkf6007907:   0: fl=0x0, 
> mode=20666: CHR: dev=0/17, ino=1232, nlink=1, u/gid=0/0, size=0
> [14 more pretty similar to the last one]
> Jan 30 09:13:46 amistad sendmail[7908]: p0UHDkf6007907: to="|vacation froya", 
> ctladdr=<fr...@amistad.boat.washington.edu> (500/500), delay=00:00:00, 
> xdelay=00:00:00, mailer=prog, pri=62174, dsn=5.0.0, stat=Service unavailable
> Jan 30 09:13:46 amistad sendmail[7908]: p0UHDkf6007907: to=\\froya, 
> delay=00:00:00, xdelay=00:00:00, mailer=local, pri=62174, dsn=2.0.0, stat=Sent
> Jan 30 09:13:46 amistad sendmail[7908]: p0UHDkf6007907: p0UHDkf6007908: DSN: 
> Service unavailable
> Jan 30 09:13:46 amistad sendmail[7908]: p0UHDkf6007907: to="|vacation froya", 
> ctladdr=<fr...@amistad.boat.washington.edu> (500/500), delay=00:00:00, 
> xdelay=00:00:00, mailer=prog, pri=62174, dsn=5.0.0, stat=Service unavailable
> Jan 30 09:13:46 amistad sendmail[7908]: p0UHDkf6007907: to=\\froya, 
> delay=00:00:00, xdelay=00:00:00, mailer=local, pri=62174, dsn=2.0.0, stat=Sent
> Jan 30 09:13:46 amistad sendmail[7908]: p0UHDkf6007907: p0UHDkf6007908: DSN: 
> Service unavailable
>
> I don't know what most of that is telling me.  What's
> "stat failed"?  What's DSN?
>
> I also compiled and installed vacation 1.2.7 from its
> tarball, and the behavior is unchanged.  Can any kind
> of autoresponder be made to work with sendmail
> out-of-the-box on rhel5?
>
> Being, of course, out of town, I'll be away from this
> list for a few days.
>
> Billy
>
>

Reply via email to