On 1/12/2017 4:09 πμ, Rodrigo Cunha wrote:
Change This:
mynetworks = 195.251.204.0/24 <http://195.251.204.0/24>,
195.251.202.0/23 <http://195.251.202.0/23>, 194.177.194.0/23
<http://194.177.194.0/23>, 127.0.0.0/8 <http://127.0.0.0/8>,
10.201.0.0/16 <http://10.201.0.0/16>, [2001:648:2011::]/48,
83.212.5.24/29 <http://83.212.5.24/29>, [2001:648:2ffc:1115::]/64,
62.217.124.0/29 <http://62.217.124.0/29>, [2001:648:2ffc:126::]/64
change that for this
mynetworks = 127.0.0.1/8 <http://127.0.0.1/8>, 195.251.204.0/24
<http://195.251.204.0/24>, 195.251.202.0/23 <http://195.251.202.0/23>,
194.177.194.0/23 <http://194.177.194.0/23>, 127.0.0.0/8
<http://127.0.0.0/8>, 10.201.0.0/16 <http://10.201.0.0/16>,
[2001:648:2011::]/48, 83.212.5.24/29 <http://83.212.5.24/29>,
[2001:648:2ffc:1115::]/64, 62.217.124.0/29 <http://62.217.124.0/29>,
[2001:648:2ffc:126::]/64
Thank you Rodrigo,
As you can see, 127.0.0.0/8 is already included.
However, I tried adding [::1]/128 (which I noticed was missing) and this
time it worked!
It seems that even though I have explicitly permitted ::1 in
localhost.cidr ( check_client_access in smtpd_recipient_restrictions ),
I MUST ALSO include it in mynetworks, although I don't use
permit_mynetworks!
Obviously, this is due to the implicit (default) setting of:
smtpd_relay_restrictions = permit_mynetworks, permit_sasl_authenticated,
defer_unauth_destination
Things are working OK now, thanks everyone!!
Cheers,
Nick