get rid of "Open relay?" and set up DKIM

Matus UHLAR - fantomas uhlar at
Thu Oct 18 16:31:58 CEST 2018


I am trying to get rid of annoying "Open relay?" messages and later set up
DKIM signing, which both I believe are doable by properly setting

the README.lookups says:

 @mynetworks_maps = (read_array('/etc/amavisd-mynetworks'), \@mynetworks);


 @mynetworks_maps = (read_hash('/etc/amavisd-mynetworks'), \@mynetworks);

and recommends
"not to forget to re-evaluate the @client_ipaddr_policy after/if
@mynetworks_maps is changed:"

    @client_ipaddr_policy = map(($_,'MYNETS'), @mynetworks_maps);

I have tried it all.

I have even assigned direct IP addresses to @mynetworks:

@mynetworks = qw( );

but the message still appears:

Oct 18 16:15:48 smtp2 amavis[1814]: (01814-15) Checking: WwuVqzvm1fVY AM.PDP-SOCK [] <censored> -> <censored>
Oct 18 16:15:48 smtp2 amavis[1814]: (01814-15) Open relay? Nonlocal recips but not originating: censored

I am using amavisd-milter to process mail at SMTP level. 
do I need to play with policy banks? 

amavisd-new-2.10.1, Debian 8.

Matus UHLAR - fantomas, uhlar at ;
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
You have the right to remain silent. Anything you say will be misquoted,
then used against you. 

More information about the amavis-users mailing list