DKIM signing for the multiple domain

Patrick Domack patrickdk at patrickdk.com
Mon Jun 20 17:22:49 CEST 2011


Just duplicate the dkim_key line once per domain.


Quoting kshitij mali <foreplayboy at gmail.com>:

> I have 5 domain through which the out bound email sre getting deilverd how
> to sign all 5 of these .
>
> the below syntax/example explains only the single domain configuration how
> to get signed for the multiple domain what change i need to the below config
> of amavisd.conf
>
> =====================================
>
>  $enable_dkim_verification = 1;
>   $enable_dkim_signing = 1;
>   dkim_key('example.com', 'foo', '/var/db/dkim/example-foo.key.pem');
>
>   @dkim_signature_options_bysender_maps = (
>     { '.' => { ttl => 21*24*3600, c => 'relaxed/simple' } } );
>   @mynetworks = qw(0.0.0.0/8 127.0.0.0/8 10.0.0.0/8 172.16.0.0/12
>
>                    192.168.0.0/16);  # list your internal networks
>
> ======================================
>
> Regards,
> Kshitij





More information about the amavis-users mailing list