selinux-policy/www/api-docs/services_mta.html

927 lines
12 KiB
HTML
Raw Normal View History

2005-06-15 15:45:57 +00:00
<html>
<head>
<title>
Security Enhanced Linux Reference Policy
</title>
<style type="text/css" media="all">@import "style.css";</style>
</head>
<body>
<div id="Header">Security Enhanced Linux Reference Policy</div>
<div id='Menu'>
<a href="admin.html">+&nbsp;
admin</a></br/>
<div id='subitem'>
</div>
2005-07-05 13:36:21 +00:00
<a href="apps.html">+&nbsp;
apps</a></br/>
<div id='subitem'>
</div>
2005-06-15 15:45:57 +00:00
<a href="kernel.html">+&nbsp;
kernel</a></br/>
<div id='subitem'>
</div>
<a href="services.html">+&nbsp;
services</a></br/>
<div id='subitem'>
2005-08-26 15:28:46 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='services_bind.html'>
bind</a><br/>
2005-09-07 14:45:49 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='services_comsat.html'>
comsat</a><br/>
2005-07-05 13:36:21 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='services_cron.html'>
cron</a><br/>
2005-09-07 14:45:49 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='services_dbus.html'>
dbus</a><br/>
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='services_dhcp.html'>
dhcp</a><br/>
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='services_dictd.html'>
dictd</a><br/>
2005-08-26 15:28:46 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='services_gpm.html'>
gpm</a><br/>
2005-09-07 14:45:49 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='services_hal.html'>
hal</a><br/>
2005-08-26 15:28:46 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='services_howl.html'>
howl</a><br/>
2005-07-05 13:36:21 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='services_inetd.html'>
inetd</a><br/>
2005-09-07 14:45:49 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='services_inn.html'>
inn</a><br/>
2005-07-05 13:36:21 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='services_kerberos.html'>
kerberos</a><br/>
2005-08-26 15:28:46 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='services_ldap.html'>
ldap</a><br/>
2005-06-15 15:45:57 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='services_mta.html'>
mta</a><br/>
2005-08-26 15:28:46 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='services_mysql.html'>
mysql</a><br/>
2005-07-05 13:36:21 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='services_nis.html'>
nis</a><br/>
2005-08-02 17:21:46 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='services_nscd.html'>
nscd</a><br/>
2005-09-07 14:45:49 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='services_ntp.html'>
ntp</a><br/>
2005-08-26 15:28:46 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='services_privoxy.html'>
privoxy</a><br/>
2005-06-15 15:45:57 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='services_remotelogin.html'>
remotelogin</a><br/>
2005-08-26 15:28:46 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='services_rshd.html'>
rshd</a><br/>
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='services_rsync.html'>
rsync</a><br/>
2005-06-15 15:45:57 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='services_sendmail.html'>
sendmail</a><br/>
2005-09-07 14:45:49 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='services_squid.html'>
squid</a><br/>
2005-07-05 13:36:21 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='services_ssh.html'>
ssh</a><br/>
2005-08-26 15:28:46 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='services_tcpd.html'>
tcpd</a><br/>
2005-06-15 15:45:57 +00:00
</div>
<a href="system.html">+&nbsp;
system</a></br/>
<div id='subitem'>
</div>
<br/><p/>
2005-08-02 17:21:46 +00:00
<a href="global_booleans.html">*&nbsp;Global&nbsp;Booleans&nbsp;</a>
<br/><p/>
<a href="global_tunables.html">*&nbsp;Global&nbsp;Tunables&nbsp;</a>
<p/><br/><p/>
<a href="index.html">*&nbsp;Layer Index</a>
<br/><p/>
<a href="interfaces.html">*&nbsp;Interface&nbsp;Index</a>
2005-07-05 13:36:21 +00:00
<br/><p/>
2005-08-02 17:21:46 +00:00
<a href="templates.html">*&nbsp;Template&nbsp;Index</a>
2005-06-15 15:45:57 +00:00
</div>
<div id="Content">
2005-07-05 13:36:21 +00:00
<a name="top":></a>
2005-06-15 15:45:57 +00:00
<h1>Layer: services</h1><p/>
<h2>Module: mta</h2><p/>
2005-07-05 13:36:21 +00:00
<a href=#interfaces>Interfaces</a>
<a href=#templates>Templates</a>
2005-06-15 15:45:57 +00:00
<h3>Description:</h3>
2005-07-07 17:19:13 +00:00
<p><p>Policy common to all email tranfer agents.</p></p>
2005-06-15 15:45:57 +00:00
2005-07-05 13:36:21 +00:00
<a name="interfaces"></a>
2005-06-15 15:45:57 +00:00
<h3>Interfaces: </h3>
2005-09-07 14:45:49 +00:00
<a name="link_mta_append_spool"></a>
<div id="interface">
<div id="codeblock">
<b>mta_append_spool</b>(
domain
)<br>
</div>
<div id="description">
<h5>Summary</h5>
<p>
Create, read, and write the mail spool.
</p>
<h5>Parameters</h5>
<table border="1" cellspacing="0" cellpadding="3" width="80%">
<tr><th >Parameter:</td><th >Description:</td><th >Optional:</td></tr>
<tr><td>
domain
</td><td>
Domain allowed access.
</td><td>
No
</td></tr>
</table>
</div>
</div>
2005-08-02 17:21:46 +00:00
<a name="link_mta_dontaudit_read_spool_symlink"></a>
<div id="interface">
<div id="codeblock">
<b>mta_dontaudit_read_spool_symlink</b>(
domain
)<br>
</div>
<div id="description">
<h5>Summary</h5>
<p>
Do not audit attempts to read a symlink
in the mail spool.
</p>
<h5>Parameters</h5>
<table border="1" cellspacing="0" cellpadding="3" width="80%">
<tr><th >Parameter:</td><th >Description:</td><th >Optional:</td></tr>
<tr><td>
domain
</td><td>
Domain allowed access.
</td><td>
No
</td></tr>
</table>
</div>
</div>
<a name="link_mta_exec"></a>
2005-06-15 15:45:57 +00:00
<div id="interface">
2005-07-05 13:36:21 +00:00
<div id="codeblock">
<b>mta_exec</b>(
?
)<br>
</div>
<div id="description">
<h5>Summary</h5>
<p>
Summary is missing!
</p>
<h5>Parameters</h5>
<table border="1" cellspacing="0" cellpadding="3" width="80%">
<tr><th >Parameter:</td><th >Description:</td><th >Optional:</td></tr>
<tr><td>
?
</td><td>
Parameter descriptions are missing!
</td><td>
No
</td></tr>
</table>
</div>
</div>
2005-08-02 17:21:46 +00:00
<a name="link_mta_getattr_spool"></a>
2005-07-05 13:36:21 +00:00
<div id="interface">
<div id="codeblock">
<b>mta_getattr_spool</b>(
?
)<br>
</div>
<div id="description">
<h5>Summary</h5>
<p>
Summary is missing!
</p>
<h5>Parameters</h5>
<table border="1" cellspacing="0" cellpadding="3" width="80%">
<tr><th >Parameter:</td><th >Description:</td><th >Optional:</td></tr>
<tr><td>
?
</td><td>
Parameter descriptions are missing!
</td><td>
No
</td></tr>
</table>
</div>
</div>
2005-08-02 17:21:46 +00:00
<a name="link_mta_mailserver"></a>
2005-07-05 13:36:21 +00:00
<div id="interface">
<div id="codeblock">
<b>mta_mailserver</b>(
?
)<br>
</div>
<div id="description">
<h5>Summary</h5>
<p>
Summary is missing!
</p>
<h5>Parameters</h5>
<table border="1" cellspacing="0" cellpadding="3" width="80%">
<tr><th >Parameter:</td><th >Description:</td><th >Optional:</td></tr>
<tr><td>
?
</td><td>
Parameter descriptions are missing!
</td><td>
No
</td></tr>
</table>
</div>
</div>
2005-09-07 14:45:49 +00:00
<a name="link_mta_mailserver_delivery"></a>
<div id="interface">
<div id="codeblock">
<b>mta_mailserver_delivery</b>(
domain
)<br>
</div>
<div id="description">
<h5>Summary</h5>
<p>
Make a type a mailserver type used
for delivering mail to local users.
</p>
<h5>Parameters</h5>
<table border="1" cellspacing="0" cellpadding="3" width="80%">
<tr><th >Parameter:</td><th >Description:</td><th >Optional:</td></tr>
<tr><td>
domain
</td><td>
Mail server domain type used for delivering mail.
</td><td>
No
</td></tr>
</table>
</div>
</div>
<a name="link_mta_mailserver_sender"></a>
<div id="interface">
<div id="codeblock">
<b>mta_mailserver_sender</b>(
domain
)<br>
</div>
<div id="description">
<h5>Summary</h5>
<p>
Make a type a mailserver type used
for sending mail.
</p>
<h5>Parameters</h5>
<table border="1" cellspacing="0" cellpadding="3" width="80%">
<tr><th >Parameter:</td><th >Description:</td><th >Optional:</td></tr>
<tr><td>
domain
</td><td>
Mail server domain type used for sending mail.
</td><td>
No
</td></tr>
</table>
</div>
</div>
<a name="link_mta_mailserver_user_agent"></a>
<div id="interface">
<div id="codeblock">
<b>mta_mailserver_user_agent</b>(
domain
)<br>
</div>
<div id="description">
<h5>Summary</h5>
<p>
Make a type a mailserver type used
for sending mail on behalf of local
users to the local mail spool.
</p>
<h5>Parameters</h5>
<table border="1" cellspacing="0" cellpadding="3" width="80%">
<tr><th >Parameter:</td><th >Description:</td><th >Optional:</td></tr>
<tr><td>
domain
</td><td>
Mail server domain type used for sending local mail.
</td><td>
No
</td></tr>
</table>
</div>
</div>
2005-08-02 17:21:46 +00:00
<a name="link_mta_manage_queue"></a>
2005-07-05 13:36:21 +00:00
<div id="interface">
<div id="codeblock">
<b>mta_manage_queue</b>(
?
)<br>
</div>
<div id="description">
<h5>Summary</h5>
<p>
Summary is missing!
</p>
<h5>Parameters</h5>
<table border="1" cellspacing="0" cellpadding="3" width="80%">
<tr><th >Parameter:</td><th >Description:</td><th >Optional:</td></tr>
<tr><td>
?
</td><td>
Parameter descriptions are missing!
</td><td>
No
</td></tr>
</table>
</div>
</div>
2005-08-02 17:21:46 +00:00
<a name="link_mta_manage_spool"></a>
2005-07-05 13:36:21 +00:00
<div id="interface">
<div id="codeblock">
<b>mta_manage_spool</b>(
?
)<br>
</div>
<div id="description">
<h5>Summary</h5>
<p>
Summary is missing!
</p>
<h5>Parameters</h5>
<table border="1" cellspacing="0" cellpadding="3" width="80%">
<tr><th >Parameter:</td><th >Description:</td><th >Optional:</td></tr>
<tr><td>
?
</td><td>
Parameter descriptions are missing!
</td><td>
No
</td></tr>
</table>
</div>
</div>
2005-08-02 17:21:46 +00:00
<a name="link_mta_read_aliases"></a>
2005-07-05 13:36:21 +00:00
<div id="interface">
2005-06-15 15:45:57 +00:00
<div id="codeblock">
<b>mta_read_aliases</b>(
domain
)<br>
</div>
<div id="description">
2005-06-15 21:11:49 +00:00
2005-08-26 15:28:46 +00:00
<h5>Summary</h5>
2005-06-15 15:45:57 +00:00
<p>
2005-07-05 13:36:21 +00:00
Read mail address aliases.
2005-06-15 21:11:49 +00:00
</p>
2005-08-26 15:28:46 +00:00
2005-06-15 21:11:49 +00:00
<h5>Parameters</h5>
2005-06-15 15:45:57 +00:00
<table border="1" cellspacing="0" cellpadding="3" width="80%">
<tr><th >Parameter:</td><th >Description:</td><th >Optional:</td></tr>
<tr><td>
domain
</td><td>
2005-07-05 13:36:21 +00:00
The type of the process performing this action.
</td><td>
No
</td></tr>
</table>
</div>
</div>
2005-08-02 17:21:46 +00:00
<a name="link_mta_rw_aliases"></a>
2005-07-05 13:36:21 +00:00
<div id="interface">
<div id="codeblock">
<b>mta_rw_aliases</b>(
?
)<br>
</div>
<div id="description">
<h5>Summary</h5>
<p>
Summary is missing!
</p>
<h5>Parameters</h5>
<table border="1" cellspacing="0" cellpadding="3" width="80%">
<tr><th >Parameter:</td><th >Description:</td><th >Optional:</td></tr>
<tr><td>
?
</td><td>
Parameter descriptions are missing!
</td><td>
No
</td></tr>
</table>
</div>
</div>
2005-08-02 17:21:46 +00:00
<a name="link_mta_rw_spool"></a>
2005-07-05 13:36:21 +00:00
<div id="interface">
<div id="codeblock">
<b>mta_rw_spool</b>(
?
)<br>
</div>
<div id="description">
<h5>Summary</h5>
<p>
Summary is missing!
</p>
<h5>Parameters</h5>
<table border="1" cellspacing="0" cellpadding="3" width="80%">
<tr><th >Parameter:</td><th >Description:</td><th >Optional:</td></tr>
<tr><td>
?
</td><td>
Parameter descriptions are missing!
</td><td>
No
</td></tr>
</table>
</div>
</div>
2005-08-02 17:21:46 +00:00
<a name="link_mta_send_mail"></a>
2005-07-05 13:36:21 +00:00
<div id="interface">
<div id="codeblock">
<b>mta_send_mail</b>(
?
)<br>
</div>
<div id="description">
<h5>Summary</h5>
<p>
Summary is missing!
</p>
<h5>Parameters</h5>
<table border="1" cellspacing="0" cellpadding="3" width="80%">
<tr><th >Parameter:</td><th >Description:</td><th >Optional:</td></tr>
<tr><td>
?
</td><td>
Parameter descriptions are missing!
</td><td>
No
</td></tr>
</table>
</div>
</div>
2005-08-02 17:21:46 +00:00
<a name="link_mta_sendmail_mailserver"></a>
2005-07-05 13:36:21 +00:00
<div id="interface">
<div id="codeblock">
<b>mta_sendmail_mailserver</b>(
2005-07-07 17:19:13 +00:00
domain
,
entry_point
2005-07-05 13:36:21 +00:00
)<br>
</div>
<div id="description">
<h5>Summary</h5>
<p>
2005-07-07 17:19:13 +00:00
Modified mailserver interface for
sendmail daemon use.
2005-07-05 13:36:21 +00:00
</p>
2005-07-07 17:19:13 +00:00
<h5>Description</h5>
<p>
</p><p>
A modified MTA mail server interface for
the sendmail program. It's design does
not fit well with policy, and using the
regular interface causes a type_transition
conflict if direct running of init scripts
is enabled.
</p><p>
</p><p>
This interface should most likely only be used
by the sendmail policy.
</p><p>
</p>
2005-07-05 13:36:21 +00:00
<h5>Parameters</h5>
<table border="1" cellspacing="0" cellpadding="3" width="80%">
<tr><th >Parameter:</td><th >Description:</td><th >Optional:</td></tr>
<tr><td>
2005-07-07 17:19:13 +00:00
domain
2005-07-05 13:36:21 +00:00
</td><td>
2005-07-07 17:19:13 +00:00
The type to be used for the mail server.
</td><td>
No
</td></tr>
<tr><td>
entry_point
</td><td>
The type to be used for the domain entry point program.
2005-07-05 13:36:21 +00:00
</td><td>
No
</td></tr>
</table>
</div>
</div>
<a href=#top>Return</a>
<a name="templates"></a>
<h3>Templates: </h3>
2005-08-02 17:21:46 +00:00
<a name="link_mta_per_userdomain_template"></a>
2005-07-05 13:36:21 +00:00
<div id="template">
<div id="codeblock">
<b>mta_per_userdomain_template</b>(
2005-09-07 14:45:49 +00:00
userdomain_prefix
,
user_domain
,
user_role
2005-07-05 13:36:21 +00:00
)<br>
</div>
<div id="description">
<h5>Summary</h5>
<p>
2005-09-07 14:45:49 +00:00
The per user domain template for the mta module.
2005-07-05 13:36:21 +00:00
</p>
2005-09-07 14:45:49 +00:00
<h5>Description</h5>
<p>
</p><p>
This template creates a derived domain which is
a email transfer agent, which sends mail on
behalf of the user.
</p><p>
</p><p>
This template is invoked automatically for each user, and
generally does not need to be invoked directly
by policy writers.
</p><p>
</p>
2005-07-05 13:36:21 +00:00
<h5>Parameters</h5>
<table border="1" cellspacing="0" cellpadding="3" width="80%">
<tr><th >Parameter:</td><th >Description:</td><th >Optional:</td></tr>
<tr><td>
2005-09-07 14:45:49 +00:00
userdomain_prefix
2005-07-05 13:36:21 +00:00
</td><td>
2005-09-07 14:45:49 +00:00
The prefix of the user domain (e.g., user
is the prefix for user_t).
</td><td>
No
</td></tr>
<tr><td>
user_domain
</td><td>
The type of the user domain.
</td><td>
No
</td></tr>
<tr><td>
user_role
</td><td>
The role associated with the user domain.
2005-06-15 15:45:57 +00:00
</td><td>
No
</td></tr>
</table>
</div>
</div>
2005-07-05 13:36:21 +00:00
<a href=#top>Return</a>
2005-06-15 15:45:57 +00:00
2005-09-07 14:45:49 +00:00
2005-06-15 15:45:57 +00:00
</div>
</body>
</html>