Hi, I was googling a lot and I can't find the solution. I need enable DKIM signing in amavisd-new, BUT only for few domains. Is that possible ? All tutorials say that I need configure dkim_key() for each domain. What if I ignore dkim_key() specified domains, but I add @dkim_signature_options_bysender_maps = ( { '.' => { ttl => 21*24*3600, c => 'relaxed/simple' } } ); Would it work ? It must be done, because two of my domains send mails from other MTAs unfortunately not administered by us. It's hosted service that sends via local MTA without any possibility to configure it in other way (application uses php mail()) :/ We currently control it via SPF records, but it would be nice to enable DKIMs for other domains. Regards, Mike
as long as you have no dkim_key for a domain in your amavis-config, amavis can´t sign mails for this domain. there is no need for a dkim_key for every domain.
Hi Florian, Thank you very much for your response. But how about: @dkim_signature_options_bysender_maps = ( { '.' => { ttl => 21*24*3600, c => 'relaxed/simple' } } ); This is catch-all configuration. If I understand you correct this will have no effect as long as dkim_key entry does not exist for domain. Is that true ? Regards, Mike