[BlueOnyx:24173] Re: Vacation message problem on 5210R
Michael Stauber
mstauber at blueonyx.it
Mon Aug 10 10:11:29 -05 2020
Hi Michael,
> I just moved a 5209R server to a 5210R and I got an error message where
> a user had a vacation message active.
>
> Here is the error.
>
> ----- The following addresses had permanent fatal errors -----
> "|/usr/local/sbin/vacation.pl
> /home/.sites/80/site20/.users/36/username/.vacation_msg username"
>
> (expanded from: <username at thedomain.com>)
> ----- Transcript of session follows -----
>
> 550 5.7.1 /home/.sites/site20/./home/users/ username /.forward: line 2:
> "|/usr/local/sbin/vacation.pl /home/.sites/80/site20/.users/36/ username
> /.vacation_msg username"... User username @server.domain.com doesn't
> have a valid shell for mailing to programs
I haven't seen that error yet, but "no valid shell" seems to point to
the user not having a shell set.
Please check /etc/passwd and see if it reports a shell at the end of the
line that begins with the user-name like this:
[root at 5210r ~]# cat /etc/passwd|grep two_user
two_user:x:1005:1005:Two
User:/home/.sites/site2/home/users/two_user:/bin/bash
In this example the shell is "/bin/bash" because the user has shell
access, but it could also be "/bin/badsh" (no shell access) or it could
be /usr/sbin/jk_chrootsh if the user has a Chrooted Jail and at least
has SCP access.
--
With best regards
Michael Stauber
More information about the Blueonyx
mailing list