back up, ok.
Change this line, append "127.0.0.1/8"
Change This:

mynetworks = 195.251.204.0/24, 195.251.202.0/23, 194.177.194.0/23,
127.0.0.0/8, 10.201.0.0/16, [2001:648:2011::]/48, 83.212.5.24/29,
[2001:648:2ffc:1115::]/64, 62.217.124.0/29, [2001:648:2ffc:126::]/64

change that for this

mynetworks = 127.0.0.1/8, 195.251.204.0/24, 195.251.202.0/23,
194.177.194.0/23, 127.0.0.0/8, 10.201.0.0/16, [2001:648:2011::]/48,
83.212.5.24/29, [2001:648:2ffc:1115::]/64, 62.217.124.0/29,
[2001:648:2ffc:126::]/64

<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
Livre
de vírus. www.avast.com
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>.
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

2017-11-30 22:02 GMT-02:00 Viktor Dukhovni <postfix-us...@dukhovni.org>:

>
>
> > On Nov 30, 2017, at 6:50 PM, Nikolaos Milas <nmi...@noa.gr> wrote:
> >
> > smtpd_recipient_restrictions =
> >   check_client_access hash:/etc/postfix/localhost
> >   check_recipient_access hash:/etc/postfix/protected_destinations
> >   permit_sasl_authenticated
> >   reject_unverified_recipient
> >   reject_unauth_destination
> >
> > and /etc/postfix/localhost:
> >
> >   194.177.195.166          OK
> >   127.0.0.1                OK
> >   [::1]                    OK
> >   [2001:648:2011:15::166]  OK
> >
> > ...I wouldn't expect that smtp from localhost would be denied.
> >
> > What am I doing wrong?
>
> http://www.postfix.org/access.5.html
>
>   net:work:addr:ess
>   net:work:addr
>   net:work
>   net         Matches  the  specified IPv6 host address or subnetwork. An
> IPv6
>               host address is a sequence of three to eight  hexadecimal
> octet
>               pairs separated by ":".
>
>               Subnetworks  are  matched  by  repeatedly  truncating  the
> last
>               ":octetpair" from the remote IPv6 host address  string
> until  a
>               match  is found in the access table, or until further
> truncation
>               is not possible.
>
>               NOTE 1: the truncation and comparison are done with  the
> string
>               representation  of  the IPv6 host address. Thus, not all the
> ":"
>               subnetworks will be tried.
>
>               NOTE 2: The access map lookup key must be in canonical
> form:  do
>               not specify unnecessary null characters, and do not enclose
> net-
>               work address information with "[]" characters.
>
>               NOTE 3: use the cidr lookup table type to  specify
> network/net-
>               mask patterns. See cidr_table(5) for details.
>
>               IPv6 support is available in Postfix 2.2 and later.
>
> --
>         Viktor.
>
>


-- 
Atenciosamente,
Rodrigo da Silva Cunha
São Gonçalo, RJ - Brasil

Reply via email to