1 (edited by KNERD 2019-08-19 22:51:55)

Topic: No emails received in 24 hours

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

So as the subject indicates, no emails in 24 hours. Rebooted server, no change.

Emails are going out, just not receiving them.

I did find this nifty script to check/restart services.

#!/bin/bash
for vService in mysql apache2 postfix dovecot iredapd \
                amavis clamav-daemon clamav-freshclam
do
    service $vService status || service $vService start
done

I am seeing , what I am guessing are issues with all the services.

Aug 19 14:32:14 mail systemd[1]: mariadb.service: Failed to set invocation ID on control group /system.slice/mariadb.service, ignoring: Operation not permitted

Aug 19 14:31:40 mail systemd[1]: iredapd.service: Failed to set invocation ID on control group /system.slice/iredapd.service, ignoring: Operation not permitted

Aug 19 14:32:10 mail systemd[1]: amavis.service: Failed to set invocation ID on control group /system.slice/amavis.service, ignoring: Operation not permitted

Aug 19 14:31:51 mail systemd[1]: clamav-freshclam.service: Failed to set invocation ID on control group /system.slice/clamav-freshclam.service, ignoring: Operation not permitted


Aug 19 14:31:47 mail systemd[1]: postfix.service: Failed to set invocation ID on control group /system.slice/postfix.service, ignoring: Operation not permitted


Really not seeing anything online about this.

Thanks!

----

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

2

Re: No emails received in 24 hours

- Which Linux distribution are you running? Is SELinux enabled?
- Any error in /var/log/syslog or /var/log/message?

3

Re: No emails received in 24 hours

Sorry i missed the distro. It is Debian

In /var/log/syslog I am seeing

Aug 19 16:32:15 mail postfix/postscreen[3772]: fatal: error reading /var/lib/postfix/postscreen_cache.db: Unknown error -30986
Aug 19 16:32:16 mail postfix/master[1687]: warning: process /usr/lib/postfix/sbin/postscreen pid 3772 exit status 1
Aug 19 16:32:16 mail postfix/master[1687]: warning: /usr/lib/postfix/sbin/postscreen: bad command startup -- throttling

4

Re: No emails received in 24 hours

Seems postfix service is not running due to some error. Pasted log is not full and not enough to locate the cause.

Please extract more log from /var/log/syslog and paste here. Try to check the logs line by line, i believe you will figure it out. smile

5 (edited by KNERD 2019-08-20 01:17:31)

Re: No emails received in 24 hours

ZhangHuangbin wrote:

Seems postfix service is not running due to some error. Pasted log is not full and not enough to locate the cause.

Please extract more log from /var/log/syslog and paste here. Try to check the logs line by line, i believe you will figure it out. smile


Running: "service postfix status" returns:

postfix.service - Postfix Mail Transport Agent
   Loaded: loaded (/lib/systemd/system/postfix.service; enabled; vendor preset: enabled)
   Active: active (exited) since Mon 2019-08-19 17:12:04 UTC; 8s ago
  Process: 6026 ExecStart=/bin/true (code=exited, status=0/SUCCESS)
Main PID: 6026 (code=exited, status=0/SUCCESS)

Aug 19 17:12:04 mail systemd[1]: postfix.service: Failed to set invocation ID on control group /system.slice/postfix.service, ignoring: Oper
ation not permitted
Aug 19 17:12:04 mail systemd[1]: Starting Postfix Mail Transport Agent...
Aug 19 17:12:04 mail systemd[1]: Started Postfix Mail Transport Agent.

So, it is running.


Restarting postfix service shows:

19 17:11:03 mail postfix/qmgr[1689]: 46C0nM12b1z1f8dr: removed
Aug 19 17:11:58 mail postfix/postscreen[5070]: fatal: error reading /var/lib/postfix/postscreen_cache.db: Unknown error -30986
Aug 19 17:11:59 mail systemd[1]: Stopped Postfix Mail Transport Agent.
Aug 19 17:11:59 mail systemd[1]: Stopping Postfix Mail Transport Agent...
Aug 19 17:11:59 mail systemd[1]: Stopping Postfix Mail Transport Agent (instance -)...
Aug 19 17:11:59 mail postfix/postfix-script[5082]: stopping the Postfix mail system
Aug 19 17:11:59 mail postfix/postfix-script[5085]: waiting for the Postfix mail system to terminate
Aug 19 17:11:59 mail postfix/master[1687]: terminating on signal 15
Aug 19 17:12:00 mail systemd[1]: Stopped Postfix Mail Transport Agent (instance -).
Aug 19 17:12:00 mail systemd[1]: postfix@-.service: Failed to set invocation ID on control group /system.slice/system-postfix.slice/postfix@-.service, ignoring: Operation not permitted
Aug 19 17:12:00 mail systemd[1]: Starting Postfix Mail Transport Agent (instance -)...
Aug 19 17:12:01 mail CRON[5434]: (sogo) CMD (/usr/sbin/sogo-tool expire-sessions 30 >/dev/null 2>&1; /usr/sbin/sogo-ealarms-notify >/dev/null 2>&1)
Aug 19 17:12:04 mail postfix/postfix-script[6018]: warning: damaged message: corrupt/44C5YM2HDjz1fmRq
Aug 19 17:12:04 mail postfix/postfix-script[6019]: warning: damaged message: corrupt/44C5Xd4hVgz1fmRn
Aug 19 17:12:04 mail postfix/postfix-script[6021]: starting the Postfix mail system
Aug 19 17:12:04 mail postfix/master[6023]: daemon started -- version 3.1.12, configuration /etc/postfix
Aug 19 17:12:04 mail systemd[1]: Started Postfix Mail Transport Agent (instance -).
Aug 19 17:12:04 mail systemd[1]: postfix.service: Failed to set invocation ID on control group /system.slice/postfix.service, ignoring: Operation not permitted
Aug 19 17:12:04 mail systemd[1]: Starting Postfix Mail Transport Agent...
Aug 19 17:12:04 mail systemd[1]: Started Postfix Mail Transport Agent.
Aug 19 17:13:01 mail CRON[6047]: (sogo) CMD (/usr/sbin/sogo-tool expire-sessions 30 >/dev/null 2>&1; /usr/sbin/sogo-ealarms-notify >/dev/null 2>&1)


Yeah, no idea what is going on

6

Re: No emails received in 24 hours

It seems the provider has blocked port 25 for some unknown reason.

Thanks for your replies.