RelayedOpenRelay, why?

Patrick Ben Koetter p at sys4.de
Fri May 10 12:35:15 CEST 2013


Gabriele,

* Gabriele Carioli <bilo at sslmit.unibo.it>:
> > [...]
> 
> I wouldn't have written here without googling before and doing what
> suggested.

you need to fix your basic amavis configuration.

Add your static IPs to @mynetworks and domains to receive mail to to
@local_domains_maps.

Route (your) dynamic IPs via a submission service (SMTP AUTH) to a dedicated
$policy_bank and mark everything that enters that policy_bank as "originating"
e.g. like that:

$interface_policy{'10026'} = 'MYSUBMITTERS';

$policy_bank{'MYSUBMITTERS'} = {
    originating              => 1,
    final_spam_destiny       => D_BOUNCE,
    final_virus_destiny      => D_REJECT,
    final_banned_destiny     => D_PASS,
    final_bad_header_destiny => D_PASS,
    banned_filename_maps     => ['MYNETS-DEFAULT'],
    warnbadhsender           => 1
};

If you can read German (or find a useful translation service) read into my
article on the subject:
<http://sys4.de/de/blog/2013/02/15/e-mail-content-policies-mit-amavis/>

p at rick


-- 
[*] sys4 AG
 
http://sys4.de, +49 (89) 30 90 46 64
Franziskanerstraße 15, 81669 München
 
Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263
Vorstand: Patrick Ben Koetter, Axel von der Ohe, Marc Schiffbauer
Aufsichtsratsvorsitzender: Florian Kirstein
 


More information about the amavis-users mailing list