Files
webmin/postfix/help/opt_smtpd_sender_restrictions.html
2020-04-23 18:10:56 +03:00

46 lines
2.1 KiB
HTML

<header>Restrictions on sender addresses</header>
<center><tt translate="no">smtpd_sender_restrictions</tt></center>
<hr>
This parameter specifies optional restrictions on sender addresses that SMTP
clients can send in MAIL FROM commands.
<p>
The default is to permit any sender address. The following
restrictions are available:
<ul>
<li><tt translate="no">permit_mynetworks:</tt> permit if the client address matches
<a href=opt_mynetworks><tt translate="no">$mynetworks</tt></a>.
<li><tt translate="no">reject_unknown_client:</tt> reject the request if the client hostname is unknown.
<li><tt translate="no">reject_maps_rbl:</tt> reject if the client is listed under
<a href=opt_maps_rbl_domains><tt translate="no">$maps_rbl_domains</tt></a>.
<li><tt translate="no">reject_invalid_hostname:</tt> reject HELO hostname with bad syntax.
<li><tt translate="no">reject_unknown_hostname:</tt> reject HELO hostname without DNS A or MX record.
<li><tt translate="no">reject_unknown_sender_domain:</tt> reject sender domain without A or MX record.
<li><tt translate="no">check_sender_access maptype:mapname:</tt> look up sender address, parent domain, or localpart@.
Reject if result is REJECT or &quot;[45]xx text&quot;
Permit otherwise.
<li><tt translate="no">check_client_access maptype:mapname:</tt> see
<a href=opt_smtpd_client_restrictions>smtpd_client_restrictions</a>.
<li><tt translate="no">check_helo_access maptype:mapname:</tt> see
<a href=opt_smtpd_helo_restrictions>smtpd_helo_restrictions</a>.
<li><tt translate="no">reject_non_fqdn_hostname:</tt> reject HELO hostname that is not in FQDN form
<li><tt translate="no">reject_non_fqdn_sender:</tt> reject sender address that is not in FQDN form
<li><tt translate="no">reject:</tt> reject the request. Place this at the end of a restriction.
<li><tt translate="no">permit:</tt> permit the request. Place this at the end of a restriction.
</ul>
Restrictions are applied in the order as specified; the first
restriction that matches wins.
<p>
Specify a list of restrictions, separated by commas and/or whitespace.
Continue long lines by starting the next line with whitespace.
<hr>