Tuesday, February 9, 2010

Vacation Reply Error

SkyHi @ Tuesday, February 09, 2010

I installed a plugin for squirrelmail and sent mail to: info@mydomain.com. I received an email error message like this:

"550 5.7.1 /home/username/.forward: line 1: "|/usr/bin/vacation hostname"... User username@mydomain.com doesn't have a valid shell for mailing to programs".


The sendmail program requires a user to have shell access in order to send mail. Rather than give an end user shell access (and creating a security risk) you can add the following line to: /etc/shells


This will satisfy sendmail and the vacation reply should now work.