Skip to contentSkip to conversation

Exim borked

DISCUSSION [email protected] 3 participants 3 messages Aug 30, 2002 – Aug 31, 2002

lore
Share & tools
lore
#0 lore raw

Hello All

I've managed to break exim. :(

(Debian 3, Kernal 2.4.18)

/var/log/exim/paniclog reads thus:

Unable to get root to set uid 1000 and gid 8 for local delivery to
flash: uid=8 euid=8

Searched the web for help and it appears my uid is somehow screwed up
- but I don't know how to set the uid for exim so it runs as root, so what I'm after is:

1. How to setuid exim as root (it's running as daemon) so it'll work.
2. Double-check the file permissions for /usr/sbin/exim against somebody with a working copy.

Thanks!

--
Simon Avery, Dartmoor, UK Ý http://www.digdilem.org/
---
þ RIMEGate(tm)/RGXPost V1.14 at BBSWORLD * [email protected]

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

#1 lore raw

Originally to: [email protected] (spam.B.Goneftn@d

R(> Hello All

Hello Simon, we seem to meet in strange places.

R(> I've managed to break exim. :(

Nah, I tried it and failed :)

R(> (Debian 3, Kernal 2.4.18)

R(> /var/log/exim/paniclog reads thus:

R(> Unable to get root to set uid 1000 and gid 8 for local delivery to R(> flash: uid=8 euid=8

This can be a couple of things (and I have to presume that you are using exim 4.x):
a) Make sure that the exim binary is chmod 4755 (ie -rwsr-xr-x) B) this can also be a problem with the director for the delivery, if you are trying to use procmail/tmda/maildrop etc. It depends but try the first and let us know how you get on.

Sean

... COFFEE.CUP empty - Operator shelled out to KITCHEN

<-> Gateway Information.
This message originated from a Fidonet System (http://www.fidonet.org)
and was gated at TCOB1 (http://www.tcob1.net)
Please do not respond direct to this message but via the list

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

#2 lore raw
In reply to [email protected]

Is this a standard Debian install? So that exim was installed suring the base setup (or updraded via apt)? Or did you do something special by hand (or even with dpkg)?

First, your question #2. A stock Debian Sid (you appear to be running Woody, but it is surely the same) install sets up exim as follows:

        -rwsr-xr-x    1 root     root       471048 Mar  4 15:05 /usr/sbin/exim

The error you posted sounds like you do not have the suid bit set (the "s" in the leftmost "rws"). To fix this by hand. as root, execute this command:

chmod +s /usr/sbin/exim

Then restart the exim daemon (unless you are running it through inetd, in which case you can skip this step).

Quoted 12 lines · At 11:09 PM 8/30/02 +0000, [email protected] wrote:

Hello All

I've managed to break exim. :(

(Debian 3, Kernal 2.4.18)

/var/log/exim/paniclog reads thus:

Unable to get root to set uid 1000 and gid 8 for local delivery to
flash: uid=8 euid=8

Quoted 7 lines

Searched the web for help and it appears my uid is somehow screwed up
- but I don't know how to set the uid for exim so it runs as root, so what I'm after is:

1. How to setuid exim as root (it's running as daemon) so it'll work.
2. Double-check the file permissions for /usr/sbin/exim against somebody with a working copy.

--
-------------------------------------------"Never tell me the odds!"--------
Ray Olszewski -- Han Solo
Palo Alto, California, USA [email protected]
-------------------------------------------------------------------------------

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs