Re: Access denied when trying to send from localhost

2017-12-01 Thread Benny Pedersen
Matus UHLAR - fantomas skrev den 2017-12-01 20:40: On 1/12/2017 1:58 πμ, Benny Pedersen wrote: or add permit_mynetworks instead of check_client_access On 01.12.17 09:25, Nikolaos Milas wrote: I don't want to permit_mynetworks, because I want to force clients to sasl-authenticate (with the exc

Re: Access denied when trying to send from localhost

2017-12-01 Thread Matus UHLAR - fantomas
On 1/12/2017 1:58 πμ, Benny Pedersen wrote: or add permit_mynetworks instead of check_client_access On 01.12.17 09:25, Nikolaos Milas wrote: I don't want to permit_mynetworks, because I want to force clients to sasl-authenticate (with the exception of localhost). don't include those clients

Re: Access denied when trying to send from localhost

2017-11-30 Thread Nikolaos Milas
On 1/12/2017 4:09 πμ, Rodrigo Cunha wrote: 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::]/4

Re: Access denied when trying to send from localhost

2017-11-30 Thread Nikolaos Milas
On 1/12/2017 1:58 πμ, Benny Pedersen wrote: change hash to cidr I have already tried cidr with no luck: smtpd_recipient_restrictions =   check_client_access cidr:/etc/postfix/localhost.cidr   check_recipient_access hash:/etc/postfix/protected_destinations   permit_sasl_authenticated   reject_

Re: Access denied when trying to send from localhost

2017-11-30 Thread Rodrigo Cunha
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 mynetwor

Re: Access denied when trying to send from localhost

2017-11-30 Thread Viktor Dukhovni
> On Nov 30, 2017, at 6:50 PM, Nikolaos Milas 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_destina

Re: Access denied when trying to send from localhost

2017-11-30 Thread Benny Pedersen
Nikolaos Milas skrev den 2017-12-01 00:50: smtpd_recipient_restrictions =   check_client_access hash:/etc/postfix/localhost What am I doing wrong? change hash to cidr or add permit_mynetworks instead of check_client_access

Access denied when trying to send from localhost

2017-11-30 Thread Nikolaos Milas
Hello, On our mail server (running Postfix 3.2.4) I am also using fetchmail to read mail from some pop server and deliver it to local users. Yet, mail fails to get delivered: ... Dec  1 01:34:39 vmail2 fetchmail[11447]: POP3> RETR 1 Dec  1 01:34:39 vmail2 fetchmail[11447]: POP3< +OK message 1