1

Topic: OpenDEMARC and postfix problem -1.0-beta1

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release):
1.0-beta1 MARIADB edition
- Deployed with iRedMail Easy or the downloadable installer?
downloadable installer
- Linux/BSD distribution name and version:
Debian 10
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
mariadb
- Web server (Apache or Nginx):
nginx
- Manage mail accounts with iRedAdmin-Pro?
no
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

# systemctl status opendmarc.service
● opendmarc.service - OpenDMARC Milter
   Loaded: loaded (/lib/systemd/system/opendmarc.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Thu 2019-09-26 11:44:23 BST; 26min ago
     Docs: man:opendmarc(8)
           man:opendmarc.conf(5)
  Process: 862 ExecStart=/usr/sbin/opendmarc (code=exited, status=77)

Sep 26 11:44:23 mx systemd[1]: opendmarc.service: Service RestartSec=100ms expired, scheduling restart.
Sep 26 11:44:23 mx systemd[1]: opendmarc.service: Scheduled restart job, restart counter is at 5.
Sep 26 11:44:23 mx systemd[1]: Stopped OpenDMARC Milter.
Sep 26 11:44:23 mx systemd[1]: opendmarc.service: Start request repeated too quickly.
Sep 26 11:44:23 mx systemd[1]: opendmarc.service: Failed with result 'exit-code'.
Sep 26 11:44:23 mx systemd[1]: Failed to start OpenDMARC Milter.

# cat /var/log/mail.info
Sep 26 11:37:39 mx postfix/postfix-script[5720]: starting the Postfix mail system
Sep 26 11:37:39 mx postfix/master[5722]: daemon started -- version 3.4.5, configuration /etc/postfix
Sep 26 11:38:53 mx dovecot: master: Dovecot v2.3.4.1 (f79e8e7e4) starting up without any protocols (core dumps disabled)
Sep 26 11:39:13 mx opendmarc[18372]: OpenDMARC Filter v1.3.2 starting ()
Sep 26 11:39:13 mx opendmarc[18372]: additional trusted authentication services: (none)
Sep 26 11:40:02 mx amavis[22305]: starting. /usr/sbin/amavisd-new at mx.marekleszko.pl amavisd-new-2.11.0 (20160426), Unicode aware, LC_ALL="C", LANG="en_GB.UTF-8"
Sep 26 11:40:02 mx amavis[22312]: Net::Server: Group Not Defined.  Defaulting to EGID '124 124'
Sep 26 11:40:02 mx amavis[22312]: Net::Server: User Not Defined.  Defaulting to EUID '115'
Sep 26 11:40:02 mx amavis[22312]: No ext program for   .zoo, tried: zoo
Sep 26 11:40:02 mx amavis[22312]: No ext program for   .doc, tried: ripole
Sep 26 11:40:02 mx amavis[22312]: No decoder for       .F   
Sep 26 11:40:02 mx amavis[22312]: No decoder for       .doc
Sep 26 11:40:02 mx amavis[22312]: No decoder for       .zoo
Sep 26 11:40:31 mx dovecot: master: Warning: Killed with signal 15 (by pid=29384 uid=0 code=kill)
Sep 26 11:40:32 mx dovecot: log(16191): Warning: Killed with signal 15 (by pid=1 uid=0 code=kill)
Sep 26 11:40:32 mx dovecot: master: Dovecot v2.3.4.1 (f79e8e7e4) starting up for imap, lmtp, sieve, pop3 (core dumps disabled)
Sep 26 11:41:39 mx postfix/postalias[31555]: warning: /etc/postfix/aliases, line 11: need name:value pair
Sep 26 11:41:41 mx postfix/postalias[31616]: warning: /etc/postfix/aliases, line 11: need name:value pair
Sep 26 11:42:05 mx postfix/postalias[31935]: warning: /etc/postfix/aliases, line 11: need name:value pair

----

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

2

Re: OpenDEMARC and postfix problem -1.0-beta1

lesz.mar wrote:

   Active: failed (Result: exit-code) since Thu 2019-09-26 11:44:23 BST; 26min ago

Any detailed error in /var/log/syslog and /var/log/opendmarc/opendmarc.log?

Note: OpenDMARC will be removed in upcoming release due to buggy. FYI:
https://github.com/trusteddomainproject … /issues/50

Also, OpenDMARC seems dead, not worth to integrate it. Maybe write one from scratch.

lesz.mar wrote:

Sep 26 11:41:39 mx postfix/postalias[31555]: warning: /etc/postfix/aliases, line 11: need name:value pair

What's the content of line 11 in /etc/postfix/aliases?

3 (edited by lesz.mar 2019-09-26 22:38:51)

Re: OpenDEMARC and postfix problem -1.0-beta1

ZhangHuangbin wrote:
lesz.mar wrote:

   Active: failed (Result: exit-code) since Thu 2019-09-26 11:44:23 BST; 26min ago

Any detailed error in /var/log/syslog and /var/log/opendmarc/opendmarc.log?

Sep 26 11:44:21 mx systemd[1]: Failed to start OpenDMARC Milter.
Sep 26 11:44:21 mx systemd[1]: opendmarc.service: Service RestartSec=100ms expired, scheduling restart.
Sep 26 11:44:21 mx systemd[1]: opendmarc.service: Scheduled restart job, restart counter is at 1.
Sep 26 11:44:21 mx systemd[1]: iptables.service: Control process exited, code=exited, status=1/FAILURE
Sep 26 11:44:21 mx systemd[1]: iptables.service: Failed with result 'exit-code'.
Sep 26 11:44:21 mx systemd[1]: Failed to start LSB: Control iptables firewall..
Sep 26 11:44:21 mx systemd[1]: Stopped OpenDMARC Milter.


Note: OpenDMARC will be removed in upcoming release due to buggy. FYI:
https://github.com/trusteddomainproject … /issues/50

Also, OpenDMARC seems dead, not worth to integrate it. Maybe write one from scratch.

lesz.mar wrote:

Sep 26 11:41:39 mx postfix/postalias[31555]: warning: /etc/postfix/aliases, line 11: need name:value pair

What's the content of line 11 in /etc/postfix/aliases?

# See man 5 aliases for format
postmaster:    root
#clamav: root
www-data: root
nobody: root
vmail: root
clamav: root
virusalert: root
amavis: root
root:
iredapd: root
sogo: root

it is fresh and clean installation debian 10 (upgade from debian9)

4

Re: OpenDEMARC and postfix problem -1.0-beta1

I have the exact same issue on a brand new install on Ubuntu 18.04: OpenDMARC won’t start.

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release):
1.0-beta1 MARIADB edition
- Deployed with iRedMail Easy or the downloadable installer?
downloadable installer
- Linux/BSD distribution name and version:
Ubuntu 18.04
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
mariadb
- Web server (Apache or Nginx):
nginx
- Manage mail accounts with iRedAdmin-Pro?
no

5

Re: OpenDEMARC and postfix problem -1.0-beta1

lesz.mar wrote:

root:

This line should be something like "root: postmaster@<your-first-domain.com>".

I will check this and release iRedMail-1.0-beta2 soon.