Hi,
The answer is that I need to link vacation to /usr/adm/sm.bin directory
sm.bin is defined by CMDDIR of smrsh.c
thanks for quick help.
------------- Begin Forwarded Message -------------
> The 'vacation' used working to me. But it failed today.
>
> intsvr% mail -v jliu
> Subject: test vacation
> test
> .
> EOT
> intsvr% /home/jliu/.forward: line 1: forwarding to \jliu, "|/usr/ucb/vacation
> jliu"
> "|/usr/ucb/vacation jliu"... Connecting to prog...
> sh: vacation not available for sendmail programs
> "|/usr/ucb/vacation jliu"... Service unavailable
> \jliu... Connecting to local...
> \jliu... Sent
>
> The sendmail.cf, sendmail server is SunOS 4.1.4, is using smrsh.
> and vacation is on copied to /usr/local/etc, /usr/ucb, and /bin
>
> What else should I check?
>
> jliu@intsvr% grep smrsh /usr/lib/sendmail.cf
> ##### @(#)smrsh.m4 8.2 (Berkeley) 11/11/95 #####
> Mprog, P=/usr/local/etc/smrsh, F=lsDFMoqeu9, S=10/30, R=20/40,
D=$z:/,
> jliu@intsvr% ls -la /usr/local/etc/smrsh
> -rwxrwxrwx 1 root 122880 Sep 22 1997 /usr/local/etc/smrsh
> jliu@intsvr% ls -la /usr/local/etc/vacation
> -rwxr-xr-x 1 root 24576 May 20 11:53 /usr/local/etc/vacation
> jliu@intsvr% ls -la /usr/ucb/vacation
> -rwxr-xr-x 1 root 24576 Oct 14 1994 /usr/ucb/vacation
>
------------- End Forwarded Message -------------
===========================================
Jeffrey Liu jliu@aptix.com
Aptix Corp. Information Services Manager
408-428-6223 (phone) 408-944-0646 (fax)
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:13:24 CDT