[prev in list] [next in list] [prev in thread] [next in thread] 

List:       postfix-users
Subject:    Re: Use of PERMIT in smtpd restriction lists
From:       Dominic Raferd <dominic () timedicer ! co ! uk>
Date:       2019-10-22 11:12:23
Message-ID: CAF9Mo3Ly8Oz1MFBFk2BZPX_+DBdFQQpvykhqdhW4QHCyKQ5C=g () mail ! gmail ! com
[Download RAW message or body]

On Tue, 22 Oct 2019 at 12:04, Wietse Venema <wietse@porcupine.org> wrote:

> Dominic Raferd:
> > By (limited) experiment it seems to me that the action 'PERMIT' is
> > acceptable in access tables in smtpd restriction lists (e.g.
> > smtpd_client_restrictions).
> >
> > As far as I can tell it is undocumented in this context, but I think it
> is
>
> The 'permit' action is documented in the access(5) manpage
> in the section 'OTHER ACTIONS'.
>
> $ man 5 access | less '+/^OTHER ACTIONS'
> OTHER ACTIONS
>        restriction...
>               Apply    the   named   UCE   restriction(s)   (permit,
>  reject,
>               reject_unauth_destination, and so on).
>
>        BCC user@domain
>                 ...
>
> Note the action name is case-insensitive, thus PERMIT is the same
> as permit.
>

Thanks Wietse for pointing that out. I believe it confirms my understanding.

[Attachment #3 (text/html)]

<div dir="ltr"><div dir="ltr"><div class="gmail_default" \
style="font-size:small"><br></div></div><br><div class="gmail_quote"><div dir="ltr" \
class="gmail_attr">On Tue, 22 Oct 2019 at 12:04, Wietse Venema &lt;<a \
href="mailto:wietse@porcupine.org">wietse@porcupine.org</a>&gt; \
wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Dominic Raferd:<br> \
&gt; By (limited) experiment it seems to me that the action &#39;PERMIT&#39; is<br> \
&gt; acceptable in access tables in smtpd restriction lists (e.g.<br> &gt; \
smtpd_client_restrictions).<br> &gt; <br>
&gt; As far as I can tell it is undocumented in this context, but I think it is<br>
<br>
The &#39;permit&#39; action is documented in the access(5) manpage<br>
in the section &#39;OTHER ACTIONS&#39;.<br>
<br>
$ man 5 access | less &#39;+/^OTHER ACTIONS&#39;<br>
OTHER ACTIONS<br>
           restriction...<br>
                     Apply      the     named     UCE     restriction(s)     (permit, \
reject,<br>  reject_unauth_destination, and so on).<br>
<br>
           BCC user@domain<br>
                        ...<br>
<br>
Note the action name is case-insensitive, thus PERMIT is the same<br>
as permit.<br></blockquote><div><br></div><div style="font-size:small" \
class="gmail_default">Thanks Wietse for pointing that out. I believe it confirms my \
understanding.<br></div></div></div>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic