1 (edited by GuiltyNL 2018-06-19 05:01:02)

Topic: DKIM question: DKIM not signing mails with ORIGINATING status (smtp)

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 0.9.8
- Linux/BSD distribution name and version:  Ubuntu 18.04
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? Not yet
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
Hi guys,

I'm testing iRedmail for some days and I'm happy with it. Compliments for the good work!

However, I do have a question:

When i test DKIM signing via SOGo it works well. Mails are received with a DKIM key. However, when I send email via Outlook connected to IMAP /SMTP, no DKIM signing takes place.

SMTP AUTH is enabled in Outlook.

Any thoughts?

Master submission settings:

# Submission, port 587, force TLS connection.
submission inet n       -       n       -       -       smtpd
  -o syslog_name=postfix/submission
  -o smtpd_tls_security_level=encrypt
  -o smtpd_sasl_auth_enable=yes
  -o smtpd_client_restrictions=permit_sasl_authenticated,reject
  -o content_filter=smtp-amavis:[127.0.0.1]:10026


The mail via SOGo gets MYNETS LOCAL in de maillog and the mail that doesn't get signed gets the ORIGINATING stamp in maillog.

Tim

----

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

2

Re: DKIM question: DKIM not signing mails with ORIGINATING status (smtp)

It seems to be related, however this topic is closed and I can't ask the topic starter what exactly he did:

https://forum.iredmail.org/topic14228-n … m-mua.html

3

Re: DKIM question: DKIM not signing mails with ORIGINATING status (smtp)

Solved, never had thought that this bug would still be in a current version of Amavis-new.

For other people:

1) Edit the file /usr/sbin/amavisd-new
2) Look for the line: Amavis::load_policy_bank($_,$msginfo) for @bank_names;
3) Add this line, if it doesn't exist, underneath it: $msginfo->originating(c('originating'));
4) Save the file
5) Restart the service: service amavis restart

Solved!