Question:
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".
Answer:
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
/SENDMAIL/ANY/SHELL
This will satisfy sendmail and the vacation reply should now work.
REFERENCE
https://secure.alpineweb.com/helpdesk/index.php?_m=knowledgebase&_a=viewarticle&kbarticleid=14
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".
Answer:
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
/SENDMAIL/ANY/SHELL
This will satisfy sendmail and the vacation reply should now work.
REFERENCE
https://secure.alpineweb.com/helpdesk/index.php?_m=knowledgebase&_a=viewarticle&kbarticleid=14