amavis-dkim: How to discard mail with no or invalid signature

Patrick Ben Koetter p at sys4.de
Tue Jan 12 15:30:41 CET 2016


* Gerhard Rappenecker <G.Rappenecker at hs-offenburg.de>:
> Hi all,
> 
> I'd like to discard, reject or quarantine mails from a specific domain, but only if they have no or no valid DKIM signature.

Do they serve DMARC DNS records?

p at rick



> 
> I suspect that's a trivial task but I'm a beginner working with postfix/amavis and cannot find any helpful documentation about this.
> 
> My environment:
> postfix 2.11.6
> amavisd-new-2.8.1
> amavisd.conf:
>   $enable_dkim_verification = 1
>   $enable_dkim_signing = 1;
> 
> DKIM signing and verification work fine, but the mail is beeing delivered independent of the DKIM authentication-result
> 
> Can anyone help me?
> 
> Regards
> Gerhard
> 
> 
> 
> 

-- 
[*] sys4 AG
 
https://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, Marc Schiffbauer
Aufsichtsratsvorsitzender: Florian Kirstein
 


More information about the amavis-users mailing list