RelayedOpenRelay?

Bastian Blank bblank at thinkmo.de
Thu Jul 21 20:33:28 CEST 2022


Moin

On Wed, Jul 20, 2022 at 10:54:24PM -0400, Alex wrote:
> 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.

This means that
- the recipient is not in @local_domain_maps and
- $originating is not set.

> My server IP is 209.216.99.115/32. It is included in @mynetworks:
> @mynetworks = qw( 127.0.0.0/8 192.168.0.0/16 209.216.99.0/24 );
> @client_ipaddr_policy = (
>   [qw( 147.135.9.126/32 )] => 'TRUSTED', # polaris
>   [qw( 209.216.90.115/32 )] => 'TRUSTED', # xavier
>   \@mynetworks => 'MYNETS',
> );

But @mynetworks is used sequencially, so you need to set $originating in
the TRUSTED policy bank.

The MYNETS policy bank is special and always forces $originating to be
set.

Bastian

-- 
Hailing frequencies open, Captain.


More information about the amavis-users mailing list