All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paul Howarth <paul@city-fan.org>
To: SE Linux <selinux@tycho.nsa.gov>
Subject: Re: [refpolicy] Milter Mail Filters
Date: Fri, 13 Jun 2008 13:51:52 +0100	[thread overview]
Message-ID: <48526D68.1040807@city-fan.org> (raw)
In-Reply-To: <484D4B53.5020006@city-fan.org>

Paul Howarth wrote:
> attached is a patch based on local policy I'm using on Fedora 9 to 
> support two "milter" mail filter daemons in conjunction with sendmail, 
> namely spamass-milter and milter-regex (I maintain the packages for both 
> of these in Fedora).
> 
> I've taken the view that most milter applications will have similar 
> requirements and so I've created a milter_template interface that 
> contains most of what's needed, and then added the specifics that are 
> needed on top of the generic stuff for each application.
> 
> However, as I'm by no means an selinux expert, there are a number of 
> things I'm unsure about:
> 
> 1. In a situation where sendmail is the running MTA on a system, what is 
> the difference between sendmail_t and system_mail_t?
> 
> 2. MTAs other than sendmail (postfix comes to mind) can also use 
> milters, but as I don't have any boxes running postfix, I don't know 
> what I'd need to add to postfix policy to support milters.
> 
> 3. Fedora 9 has an interface spamassassin_domtrans_spamc that I used in 
> my local policy. It doesn't appear to be present in refpolicy; what 
> would be the right thing to use for a daemon calling spamc?
> 
> 4. I cribbed the milter_port_t stuff from the only example I could find, 
> and it's probably wrong. What would be the correct way of defining this?
> 
> 5. Does the use of a template for these applications a sane way to do it?

Should I have raised this somewhere else, or in a different way? I've 
had no responses either here or on fedora-selinux-list. The 
spamass-milter is currently broken with SELinux enforcing on Fedora 9 
and I'd like to be able to make at least a little progress towards 
fixing that.

Paul.

--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

  reply	other threads:[~2008-06-13 12:52 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 [this message]
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
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=48526D68.1040807@city-fan.org \
    --to=paul@city-fan.org \
    --cc=selinux@tycho.nsa.gov \
    /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.