From: paul@city-fan.org (Paul Howarth)
To: refpolicy@oss.tresys.com
Subject: [refpolicy] Milter Mail Filters
Date: Mon, 24 Nov 2008 16:07:32 +0000 [thread overview]
Message-ID: <492AD144.5030205@city-fan.org> (raw)
In-Reply-To: <1227539855.29210.27.camel@gorn>
Christopher J. PeBenito wrote:
> On Mon, 2008-11-24 at 14:34 +0000, Paul Howarth wrote:
>> Christopher J. PeBenito wrote:
>>> On Mon, 2008-11-17 at 10:05 -0500, Paul Howarth wrote:
>>>> Updated patch attached with TCP socket support removed.
>>> Last question
>>>
>>>> Index: policy/modules/services/mta.te
>>>> ===================================================================
>>>> --- policy/modules/services/mta.te (revision 2878)
>>>> +++ policy/modules/services/mta.te (working copy)
>>>> @@ -116,6 +116,9 @@
>>>>
>>>> domain_use_interactive_fds(system_mail_t)
>>>>
>>>> + # newaliases runs as system_mail_t when the sendmail
>> initscript does a restart
>>>> + milter_getattr_all_sockets(system_mail_t)
>>>> +
>>>> # postfix needs this for newaliases
>>>> files_getattr_tmp_dirs(system_mail_t)
>>> Why is this bit in the optional_policy for postfix instead of its
>> own
>>> optional_policy at the top level?
>> Not intentional. I saw the similar entry for postfix and put the
>> extra
>> line near it, not realizing the significance of the multiple
>> optional_policy blocks.
>>
>> Revised patch attached.
>
> Merged, with a couple tweaks.
The tweaks seem quite significant:
$ diff milter.if.pgh milter.if
21d20
< domain_type($1_milter_t)
39,41d37
< # Things that all(?) milters will need to do
< libs_use_ld_so($1_milter_t)
< libs_use_shared_libs($1_milter_t)
43d38
< init_use_fds($1_milter_t)
Are these four interface calls omitted deliberately?
Paul.
next prev parent reply other threads:[~2008-11-24 16:07 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-09 15:25 [refpolicy] Milter Mail Filters Paul Howarth
2008-06-13 12:51 ` Paul Howarth
2008-06-13 14:23 ` Christopher J. PeBenito
2008-06-13 17:30 ` Paul Howarth
2008-07-18 12:58 ` Christopher J. PeBenito
2008-08-05 10:03 ` Paul Howarth
2008-09-05 13:26 ` Christopher J. PeBenito
2008-09-09 16:15 ` Paul Howarth
2008-09-22 12:27 ` Paul Howarth
2008-10-06 14:12 ` Christopher J. PeBenito
2008-10-08 13:05 ` Paul Howarth
2008-10-08 19:22 ` Christopher J. PeBenito
2008-10-10 18:24 ` Paul Howarth
2008-11-06 15:09 ` Christopher J. PeBenito
2008-11-06 15:24 ` Paul Howarth
2008-11-14 15:26 ` Christopher J. PeBenito
2008-11-17 15:05 ` Paul Howarth
2008-11-24 14:11 ` Christopher J. PeBenito
2008-11-24 14:34 ` Paul Howarth
2008-11-24 15:17 ` Christopher J. PeBenito
2008-11-24 16:07 ` Paul Howarth [this message]
2008-11-24 17:47 ` Christopher J. PeBenito
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=492AD144.5030205@city-fan.org \
--to=paul@city-fan.org \
--cc=refpolicy@oss.tresys.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.