Hi blues,
On 2006/02/24, at 22:53, Brian N. Smith wrote:
>> What kind error did you get?
>> Please check /var/log/maillog and send to maillist.
>
> Hisao,
>
> It is probably the same error with CGI scripts. The "-f xxx" is
> needed. But, in PHP, you can do it globally.
Yes, I think this is the famous sendmail issues on BlueQuartz.
> #1 - Figure out where your php.ini is. The "default" is /etc/php.ini
> #2 - Search for these lines
>
> ; For Unix only. You may supply arguments as well (default:
> "sendmail -t -i").
>
> Below that, add this:
>
> sendmail_path = /usr/sbin/sendmail -t -i -f admin
>
> the "-f admin" is needed.
I think that there are some problems.
Because, admin user is the administrator of the server, but many
domains are in the same box and the many of users are not in the same
company of administrator, then the error mail will be back to the
admin not to be back to the sender.
The best way is to add 5th argument '-f user@domain', however, many
of php programs and cgi scripts doesn't write '-f' options for sendmail.
The easy fix as a Cobalt method is that you change the server name to
the other name which is *not* the same as virtual sites name.
I changed the wizard package not to make a default virtual site at
wizard process and not allow to make a virtual site the same as
server name.
But, Brian changed these my changes to the original codes on his CD.
I understand that a lot of users expect to make the default virtual
site like as Cobalt RaQ550 and the user enters "www.example.com" for
server name and default virtual site.
If the default virtual site is same as system name, there is same
issues on the other virtual site.
And then, I tried to fix the sendmail issue and to make virtual site
at wizard process.
I changed the wizard form such as the attached image.
I added the field for virtual site, but this name needs to be
different from sever name.
Why I did, I thank Brian to maintain the iso for all of BlueQuartz
users, and a lot of user install with his CD, not with tgz installer.
So, I want the core BlueQuartz package to be one repository at 1.0
release. It means, I release update packages, then the packages
overwrite his changes, I think it is not good for all users.
It is the best way to fix the sendmail issue with some sendmail.cf
changes.
I don't find the other answer on it.
Please let me know, if anyone have good answer not to change the policy.
Regards,
Hisao