Index: [Article Count Order] [Thread]

Date:  Mon, 27 Feb 2006 00:47:46 +0900
From:  Hisao SHIBUYA <shibuya (at mark) alpha.or.jp>
Subject:  [coba-e:04182] Re: Sendmail Problem on NuOnce install
To:  coba-e (at mark) bluequartz.org
Message-Id:  <E92E0BFD-6E87-4049-8086-AD61DB590A78 (at mark) alpha.or.jp>
In-Reply-To:  <Pine.LNX.4.63.0602240851100.24375 (at mark) mail.nuonce.net>
References:  <097601c63934$a6a60aa0$0900a8c0 (at mark) workstation1> <43FEF521.2040304 (at mark) alpha.or.jp> <Pine.LNX.4.63.0602240851100.24375 (at mark) mail.nuonce.net>
X-Mail-Count: 04182

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