Alex skrev den 2022-07-21 04:54:
Hi,
I realize this is an FAQ, but I've tried an exhaustive list of changes
to try and solve it and still can't figure out why mail is reported as
RelayedOpenRelay.
I found this thread from more than a decade ago where Mark suggested
it was somehow related to the source IP address matching @mynetworks
or $originating flag set by a policy bank.
My server IP is 209.216.99.115/32 [1]. It is included in @mynetworks:
@mynetworks = qw( 127.0.0.0/8 [2] 192.168.0.0/16 [3] 209.216.99.0/24
[4] );
@client_ipaddr_policy = (
[qw( 147.135.9.126/32 [5] )] => 'TRUSTED', # polaris
[qw( 209.216.90.115/32 [6] )] => 'TRUSTED', # xavier
\@mynetworks => 'MYNETS',
);
ip_trace from my logs does have my IP in it. My logs are stored in
JSON format, so they're a complete mess or I would post it here.
What could I be missing?
why is 147.135.9.126 outside of mynetworks ?
i have lost how MYNETS should work for mynetworks, is mynetworks same on
postfix ?