exim4 policy
Hello,
Is there a working exim4 policy somewhere? It was posted on the list, got some comments, and the thread seem to have died away. It seem not to be a part of the distribution.
Thanks,
Peter
--
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.
Quoted 3 lines · Peter Gervai
Is there a working exim4 policy somewhere? It was posted on the list, got some comments, and the thread seem to have died away. It seem not to be a part of the distribution.
For the most desirable support of Exim we need some minor changes to the way it works. I have spoken to the author about this and he has a positive attitude towards this, all that is necessary is for me (or someone else) to write some patches, test them, and send them to him.
Once we get Exim working the way we desire doing the policy will be easy.
What we want is to have different parts of Exim running in different domains. Exim is comprised of a single program that performs multiple tasks, but it re-exec's itself for each task. I think that the best way to do this is to have (for non-SE systems) multiple hard links to the main executable and have it use different names for each exec call. This just takes up a few extra directory entries on a non-SE system and has no noticeable overhead.
For a SE system we could have small wrapper programs (a few K in size - they would provide little overhead) that just exec the main executable. So when a new Exim task is launched it would exec the appropriate name which would trigger a domain transition, that new domain would then execute the main program to do the work.
This way Exim itself need know nothing about SE Linux, but we can get all the functionality we want.
I believe that this would probably be acceptable to the author. In a month or so I may have time to code this. If someone else makes an appropriate patch to Exim I'll write the SE Linux policy immediately.
Signature · 9 lines
http://www.coker.com.au/selinux/ My NSA Security Enhanced Linux packages http://www.coker.com.au/bonnie++/ Bonnie++ hard drive benchmark http://www.coker.com.au/postal/ Postal SMTP/POP benchmark http://www.coker.com.au/~russell/ My home page -- 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.
Quoted 9 lines · Russell Coker
Quoted 3 lines · Peter Gervai
Is there a working exim4 policy somewhere? It was posted on the list, got some comments, and the thread seem to have died away. It seem not to be a part of the distribution.
For the most desirable support of Exim we need some minor changes to the way it works. I have spoken to the author about this and he has a positive attitude towards this, all that is necessary is for me (or someone else) to write some patches, test them, and send them to him.
Yes, I was a *very* early commercial user of exim and I can tell you from experience that Philip is a really good bloke. :-)
Signature · 12 lines
------------------------------------------------------ Dale Amon [email protected] +44-7802-188325 International linux systems consultancy Hardware & software system design, security and networking, systems programming and Admin "Have Laptop, Will Travel" ------------------------------------------------------ -- 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.