Open relay? Nonlocal recips but not originating: in my maillog

Patrick Ben Koetter p at sys4.de
Thu Sep 28 23:07:14 CEST 2017


* Levente Birta <blevi.linux at gmail.com>:
> > > I have the following policy bank defined:
> > > 
> > > $interface_policy{'10024'} = 'ORIGINATING';
> > > $policy_bank{'ORIGINATING'} = {
> > >    originating => 1,
> > >    enable_dkim_signing => 1,
> > >    os_fingerprint_method => undef,  # don't query p0f for internal clients
> > >    allow_disclaimers => 1,
> > >    warnbadhsender => 1,
> > >    terminate_dsn_on_notify_success => 0,  # don't remove NOTIFY=SUCCESS
> > > option
> > > };
> > > 
> > > and mynetwoks is as follows.
> > > 
> > > @mynetworks = qw(127.0.0.0/8 192.168.138.0/24 84.253.50.192/28);
> > > 
> > > Can you help me to avoid the warning ?
> > 
> >  From amavis' point of view the client connected from an IP that's not part of
> > @mynetworks and the message was sent to recipients in domains that are not
> > part of @local_domains_maps.
> > 
> > Was the recipient's domain in @local_domains_maps?
> > 
> > If not send log that shows a mail causing the log message in question.
> > 
> > p at rick
> 
> I have the same problem .... I actually pretty sure the mail going through
> the policy bank created special for submission, originating set to 1, but if
> the mail going outside, i.e. not local domain, the warning show up in the
> log
> 
> I plan to downgrade to amavisd 2.10 to make some tests, but seems the
> problem coming from version 2.11

Wait! Did you run amavis in more verbose debug mode to see how it reaches
decisions?

p at rick

-- 
[*] sys4 AG
 
https://sys4.de, +49 (89) 30 90 46 64
Schleißheimer Straße 26/MG,80333 München
 
Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263
Vorstand: Patrick Ben Koetter, Marc Schiffbauer, Wolfgang Stief
Aufsichtsratsvorsitzender: Florian Kirstein
 


More information about the amavis-users mailing list