[Exim] exim4 feature request

Top Page
Delete this message
Reply to this message
Author: Tamas TEVESZ
Date:  
To: exim-users
Subject: [Exim] exim4 feature request
hi philip, guys,

i'd like to ask for a feature in exim 4 (maybe if there's a
maintenance exim 3 release and it doesn't screw things much up, in
that too); namely, for a specific signal (say sigusr1) exim would just
reopen its logfiles.

reasoning: say i want to remove the setuid bit from my exim binary
(because delivering under EXIM_UID and EXIM_GID is sufficient, and i
don't need any root privileges anytime after the initial binding to
port 25). in the current scenario what logrotate and friends seem to
do is send exim a sighup, which, essentially, results in exim
re-rexec'ing itself - and if it doesn't have setuid root, it cannot
bind to port 25, and it just stops.

having a sigusr1 signal handler that just reopens the log files would
solve this "problem" in a nice (and i think, not too complicated) way.

comments ?

TIA,

--
[-]