Update en_US/howto/allow.user.to.send.email.without.authentication.md: Mention it's ok to use IP address.

This commit is contained in:
Zhang Huangbin 2016-11-01 00:47:55 +08:00
parent e5e0d51281
commit f5116ae500
2 changed files with 19 additions and 0 deletions

View File

@ -8,6 +8,16 @@ authentication. We use user email address `user@example.com` for example:
user@example.com OK
```
It's ok to use IP address instead like below:
> For more allowed sender format, please check Postfix manual page: [access(5)](http://www.postfix.org/access.5.html).
```
192.168.1.1 OK
192.168.2 OK
172.16 OK
```
Create hash db file with `postmap` command:
```

View File

@ -26,6 +26,15 @@ authentication. We use user email address <code>user@example.com</code> for exam
<pre><code>user@example.com OK
</code></pre>
<p>It's ok to use IP address instead like below:</p>
<blockquote>
<p>For more allowed sender format, please check Postfix manual page: <a href="http://www.postfix.org/access.5.html">access(5)</a>.</p>
</blockquote>
<pre><code>192.168.1.1 OK
192.168.2 OK
172.16 OK
</code></pre>
<p>Create hash db file with <code>postmap</code> command:</p>
<pre><code># postmap hash:/etc/postfix/accepted_unauth_senders
</code></pre>