Skip to contentSkip to conversation

exim4 patches and policy

DISCUSSION Luke Kenneth Casson Leighton 1 participant 1 message Jun 5, 2004 SELinux security module

lore
Share & tools
lore
#0 lore raw

hi,

well, i added in some basic patches to exim4 to get it to execv to programs of a different name depending on various purposes, whereever i could find an execv in the source code.

... but i don't exactly know what purposes to use!

i made one which goes on the exim4 -MC option (transport), another which goes on the daemon if it gets kill -HUP'd and so exim4 should be started as /usr/sbin/exim4-daemon

another one for exim4 -bi for alias database rebuilding.

and another one for exim4 smtp incoming called exim4-in.

that leaves exim4 itself when symlinked as /usr/sbin/sendmail for creation of a client-side usage to deliver mail.

for reference, russell's idea is to have exim4 execv to different program names for its various different purposes, and to have on a non-selinux system symlinks and on an selinux system tiny programs that change domain context and exec to exim4.

so.

what should i do? how do i go about creating exim4 policies for these symlink thingummies?

does anyone have a mini program that will change to the required domain and exec its arguments?

can someone point me in the direction of some example code that would do these little domain transitions?

because i tried installing postfix and it's not quite there.

and after a pause of 30 seconds to deliver mail even on a local system i'd forgotten why i hate sendmail.

l.

Signature · 15 lines
-- 
expecting email to be received and understood is a bit like
picking up the telephone and immediately dialing without
checking for a dial-tone; speaking immediately without listening
for either an answer or ring-tone; hanging up immediately and
believing that you have actually started a conversation.
--
<a href="http://lkcl.net">      lkcl.net      </a> <br />
<a href="mailto:[email protected]"> [email protected] </a> <br />


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to [email protected] with
the words "unsubscribe selinux" without quotes as the message.