1

Topic: No DKIM signing

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.6
- Linux/BSD distribution name and version: Debian Jessie
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Apache2
- Manage mail accounts with iRedAdmin-Pro? Nope
- Related log if you're reporting an issue: /
====

I've done some testing regarding DKIM, the signing doesn't work.
Testing has been done using Gmail (Original message viewer) aswell as http://www.appmaildev.com/en/dkim and the results where: http://imgur.com/a/NN87K

I've checked all settings and followed the guide at: http://www.iredmail.org/docs/sign.dkim. … omain.html to verify my settings, I also checked the http://www.ijs.si/software/amavisd/amav … .html#dkim guide and left the enable_dkim_signing commented as there was a little note telling me not to.

dkim_key("example.com", "dkim", "/var/lib/dkim/example.com.pem");

...

@dkim_signature_options_bysender_maps = ( {
    # ------------------------------------
    # For domain: example.com.
    # ------------------------------------
    # 'd' defaults to a domain of an author/sender address,
    # 's' defaults to whatever selector is offered by a matching key

    #'postmaster@example.com'    => { d => "example.com", a => 'rsa-sha256', ttl =>  7*24*3600 },
    #"spam-reporter@example.com"    => { d => "example.com", a => 'rsa-sha256', ttl =>  7*24*3600 },

    # explicit 'd' forces a third-party signature on foreign (hosted) domains
    "example.com"  => { d => "example.com", a => 'rsa-sha256', ttl => 10*24*3600 },
    #"host1.example.com"  => { d => "host1.example.com", a => 'rsa-sha256', ttl => 10*24*3600 },
    #"host2.example.com"  => { d => "host2.example.com", a => 'rsa-sha256', ttl => 10*24*3600 },
    # ---- End domain: example.com ----

    ...

    # catchall defaults
    '.' => { a => 'rsa-sha256', c => 'relaxed/simple', ttl => 30*24*3600 },
} );

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: No DKIM signing

I resolved the issue as I did not have my IPv6 public 56 bit range in @mynetworks. This fixed everything