> smrsh to a PHP shell script file for execution. The script works fine
> it is world readable. I want to make it group readable or user-only
> readable because it contains MySQL database login/pwd information. I can
> set the file's owner and group to any user, and it will run fine with 755
> permission, but as soon as I set it to something other than world readable
> it does not work and generates a bounce, with a "smrsh: unsubscribe.php
> available for sendmail programs" error message. How do I tell what user
> set as the owner of the script file so I can set it with 750 or 700
> permission? I have a standard 7.2 Red Hat installation for all the
> TIA, Dave
Nevermind -- I found it.
It is the "DefaultUser" setting in the configuration file.
Per the docs (the SIOG), that sets the userid for mailers, which in this
case must be smrsh.
Mine was set to mail:mail in RedHat.
When I set the file to that user:group I can restrict permissions and it