Problems with mynetworks / MYNETS

Matthias Weigel matthias.weigel at maweos.de
Thu Nov 6 17:20:37 CET 2014


Hi,

i am using amavisd-new-2.9.1 (20140627) in dual sendmail setup.

Every mail originating from mynetworks shows in amavis logs as
RelayedOpenRelay.

E.g.
Nov  6 17:14:27 xxxcs01 amavis[8090]: (08090-11) Passed CLEAN
{RelayedOpenRelay}, [10.239.21.129] <user at local.com> ->
<user at remote.com>, Message-ID:
<32FC7094C842ED45925040792D2DF0CF015576DF at XXXXMB04.int.xxxx.com>,
mail_id: qh4W1t3a4sh7, Hits: -2.249, size: 416506, queued_as: 250 2.0.0
sA6GEQ3B009389 Message accepted for delivery, 2138 ms


In amavisd.conf i have defined mynetworks:

@mynetworks = qw( 127.0.0.0/8 [::1] [FE80::]/10 [FEC0::]/10
                   10.238.0.0/16 10.239.0.0/16 10.240.0.0/16 );

$policy_bank{'MYNETS'} = {   # mail originating from @mynetworks
  originating => 1,  # is true in MYNETS by default, but let's make it
explicit
  os_fingerprint_method => undef,  # don't query p0f for internal clients
};
@client_ipaddr_policy = map(($_,'MYNETS'), @mynetworks_maps);


What have i missed?

Best Regards

Matthias


More information about the amavis-users mailing list