Re: RelayedOpenRelay?

Bastian Blank <[email protected]>
Newsgroups gmane.mail.virus.amavis.user
Message-ID <Ytmb+Klb4/[email protected]>
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.