################################################################################ ## DKIM - Domain Key Identified Mail # # DKIM-Signaturen verifizieren $enable_dkim_verification = 1; # DKIM-Signaturen erstellen $enable_dkim_signing = 0; # Private Keys und Selectors # # signing domain selector private key options # ------------- -------- ---------------------- ---------- # dkim_key('nausch.org', '201411', '/var/spool/amavis/dkim/201411_nausch.org'); # Django : 2014-02-19 # DKIM-Keys für automatisch generierte Domainliste definieren open(filehandle,'/etc/postfix/all_local_domains_map') or die "Can't open domain-list-file: $!"; while () { chomp; s/\s*#.*$//; next if $_ eq ''; dkim_key($_, '140224', '/var/spool/amavisd/dkim/dkim-key-141126.pem', h=>'sha256'); } close(filehandle) or die "Can't close domain-list-file: $!"; # DKIM Signing Policies @dkim_signature_options_bysender_maps = ( { '.' => { ttl => 21*24*3600, c => 'relaxed/simple' } } ); ...