Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] exim update

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: "Eric Sandall" <eric AT sandall.us>
  • To: <sm-discuss AT lists.ibiblio.org>
  • Subject: Re: [SM-Discuss] exim update
  • Date: Sun, 15 Dec 2002 00:21:24 -0800 (PST)

I also noticed this on my server, when I stopped getting mail and my g/f
complained that she couldn't send anything. So, looking into things
(using mutt as my test program), I found that exim could no longer write
to /var/spool/mail/log/*, even though everything there was mail.mail 660.
So, I checked /etc/xinetd.d/exim, and 'lo and behold, exim is now running
as user/group 'exim' instead of user/group 'mail'. I tried changing the
user/group back to 'mail' and restarting exim, but exim wouldn't hear of
it, kept running as 'exim' anyways. So I put it back to user/group 'exim'
and changed the permissions on /var/spool/mail* to use 'exim' as group on
everything, then changed all 'mail' ownership to 'exim', and voila!

In short, I have my SMTP working again. :)

Question: Why was this changed? exim should be run as 'mail', since
that's the default permissions, just like my webroot is www-data.www-data,
not 'apache', so if I want to run another web server (thttpd, or some
such), I just run it as www-data. Same with 'ftp', etc.

-One of Four
a.k.a. sandalle

--
PGP Key 0x5C8D199A5A317214
http://search.keyserver.net:11371/pks/lookup?op=get&search=0x5A317214

Eric Sandall | Source Mage GNU/Linux Developer
eric AT sandall.us | http://www.sourcemage.org
http://www.sandall.us/~sandalle | SysAdmin @ Inst. Shock Physics @ WSU
http://counter.li.org #196285 | http://www.shock.wsu.edu/






Archive powered by MHonArc 2.6.24.

Top of Page