Mailing List Archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] running exim4 as alternate user (solved, kindof)

Hi everyone,

Well, I found a work around for my mailman problem. I tried following
Tod's advice here:

On Wed, 2007-04-11 at 11:30 +0900, Tod McQuillin wrote:

> exim_user = mailnull
> exim_group = mail

although neither of these are present in /etc/exim/exim.conf I just
added them, and changed the user and group to mail, mailman, daemon etc,
but each of these attempts failed as exim wouldn't start. So I tried
just adding exim_group = mail, then changed permissions on the exim
binary again, this time changing the group from root to mail, then
chmodded it (again setting suid) to 4755, restarted the daemon and
voila, mail list is up and running. 

Thanks for the assistance Tod and Keith. 

Scott VanDusen

On Wed, 2007-04-11 at 10:35 +0900, scott wrote:
> Hi everyone,
> On Tue, 2007-04-10 at 11:58 +0900, Keith Bawden wrote:
> > So, somewhere in the exim configs there should be "user" and "group"
> > options to run as.
> Didn't have any luck finding this in /etc/exim/exim.conf. I tried
> changing the owner of the exim binary and running as a different user,
> but that of course didn't work. Then I tried changing the suid of the
> binary thinking it would run as the new owner, still no go. What was
> unfortunate was that while fiddling around with exim, for some reason I
> had removed the suid bit and failed to replace it afterwords. I hadn't
> received any mail for a few hours and was getting suspicious. Checking
> the logs I found that exim wasn't able to route mail due to permissions
> problem, so I reset the suid on the exim binary, restarted it, and mail
> worked again. Just in case anyone else ever has this problem, you can
> flush the frozen mail from the exim queue using:
> exim -qff     
> So I'm back to square one. I guess I'll just recompile mailman. Probably
> would have been easier in the first place.
> Cheers,
> Scott VanDusen
> Tokyo

Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links