delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/09/02/05:43:01

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Mon, 2 Sep 2002 17:45:51 +0800
From: Greg Matheson <lang AT ms DOT chinmin DOT edu DOT tw>
To: cygwin AT cygwin DOT com
Subject: Re: Exim permissions
Message-ID: <20020902174551.E4575@ms>
Mail-Followup-To: cygwin AT cygwin DOT com
References: <20020830182247 DOT B21574 AT ms> <20020901163300 DOT A31128 AT ms>
Mime-Version: 1.0
User-Agent: Mutt/1.2.5i
In-Reply-To: <20020901163300.A31128@ms>; from lang@ms.chinmin.edu.tw on Sun, Sep 01, 2002 at 16:33:00 +0800

On Sun, 01 Sep 2002, Greg Matheson wrote:

> Now I have to think of my best plan of action.
> Create root user? Set exim_user in configure. Run the daemon
> under the exim account, even though Pierre Humblet's
> CYGWIN.README suggests there is no compelling reason to? Or
> change the permissions on the spool subdirectories by hand?

Answer: All of the above.

Creating the root user seemed to ginger up exim, but wasn't the
silver bullet. Sorry I can't be more specific, but I would have
used a hammer, if I thought that would have helped.

So, I passionately did those other things, naming exim_user=exim and
exim_group=mail and running the service as exim.

And I saw this was good. But, from memory, I still think I was
getting Permission denied on /usr/local/exim/spool/input, the mail
queue, but only for mail from unprivileged users. So I gave it
770 permissions, rather than 750 and it was good. 

And then, I gave
/usr/local/exim/spool/log/mainlog 777 permissions because there
wasn't anything about mail from such users in the log, even
though it was being accepted, and it was good.

Perhaps these permission changes would have been enough. Perhaps,
there wasn't a need for the root user, or to run the daemon under
exim, or make exim_user=exim, but I'm not going back to find out.

Probably there was, because ownership of the spool subdirectories
seems to have changed/been changing.

My problem now is Unroutable address, trying to mail
Administrator from an unprivileged local address, but this looks
like a purely exim problem, probably related to restrictions on
sending mail to root.

-- 
Greg Matheson                    The best jokes are 
Chinmin College                  those you play on
                                 yourself.
Taiwan Penpals Archive <URL: http://netcity.hinet.net/kurage>

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019