1

Topic: DKIM not working with new user same domain

Hello I successfully run a mini mail server with address postmaster@[domain]. DNS was also set up with DKIM and DMARC record. Mail tester gives 10/10 rating on that address (http://www.mail-tester.com/web-Qxgd51). Then I added a new user info@[domain] (same domain) through the web admin GUI at [domain]/iredadmin. Now if I try sending mails from that new user, DKIM and DMARC records are NOT detected by recipients. Thus I get a lower rating (http://www.mail-tester.com/web-1XtN3R) and some providers won't accept my emails.

Shouldn't DKIM and DMARC be domain-related? Should I change something when I add new users to same domain?

Thank you for helping!
Il Pedante

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

----

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

2

Re: DKIM not working with new user same domain

Have you done this?

Sign DKIM signature on outgoing emails for new mail domain

3

Re: DKIM not working with new user same domain

ilpedante wrote:

if I try sending mails from that new user

How did you send email? Use a command line tool like "mail", or a normal MUA like Outlook, Thunderbird, Roundcube webmail?

Your email may be not signed with DKIM signature at all.

4

Re: DKIM not working with new user same domain

Actually I haven't, since it's the same domain. Should I?

5

Re: DKIM not working with new user same domain

Yeah how odd... It is signed when I send through Roundcube on the server. It's not if I send through Apple Mail. Then it seems to be an issue with client configuration.

WEB http://www.mail-tester.com/web-pX4z6B&reloaded=3
APPLE MAIL http://www.mail-tester.com/web-3LCt8A&reloaded=3

ZhangHuangbin wrote:
ilpedante wrote:

if I try sending mails from that new user

How did you send email? Use a command line tool like "mail", or a normal MUA like Outlook, Thunderbird, Roundcube webmail?

Your email may be not signed with DKIM signature at all.

6

Re: DKIM not working with new user same domain

Did you setup Apple Mail.app to perform smtp auth to send email?

7

Re: DKIM not working with new user same domain

Yes (otherwise it shouldn't be able to send, should it?). Oddly enough, DKIM is preserved when sending with Thunderbird.

ZhangHuangbin wrote:

Did you setup Apple Mail.app to perform smtp auth to send email?

8

Re: DKIM not working with new user same domain

Some more details to help troubleshoot:

*) Amavisd listens on port 10024 for processing incoming email (including DKIM verification, but no DKIM signing), port 10026 for outgoing email (including DKIM signing).

*) If you send email through port 587, Postfix will pipe email to port 10026.