1

Topic: processes not running, mail not delivered

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

Hi,
what's the difference between these logfiles:
/var/log/maillog
/var/log/mail.log

what's the best place to check if all processes are running? I have problems from time to time, that the server is running, users can connect fine, but no mail is delivered. Sometimes APD not running is the cause, sometimes it's ClamAV. Could it be another problem, too?

Usually I would use Puppet to check and keep important processes running, but because of the easy Setup I refrained from doing so on the iredmail machine. Should I? Is there an ansible alternative already available for this?

Thanks, best
Jochen

----

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

2

Re: processes not running, mail not delivered

Jochen wrote:

what's the difference between these logfiles:
/var/log/maillog
/var/log/mail.log

Run "ls -l /var/log/mail*".
On Debian/Ubuntu, "maillog" is a symbol link of "mail.log".

Jochen wrote:

what's the best place to check if all processes are running?

There's no such "place". You have to check log files.

Jochen wrote:

I have problems from time to time, that the server is running, users can connect fine, but no mail is delivered. Sometimes APD not running is the cause, sometimes it's ClamAV. Could it be another problem, too?

How much memory does this server have? Is it always busy and high traffic?

Jochen wrote:

Usually I would use Puppet to check and keep important processes running, but because of the easy Setup I refrained from doing so on the iredmail machine. Should I?

It's ok to check process status and restart them.

3

Re: processes not running, mail not delivered

ZhangHuangbin wrote:

Run "ls -l /var/log/mail*".
On Debian/Ubuntu, "maillog" is a symbol link of "mail.log".

ok. My fault...

ZhangHuangbin wrote:

How much memory does this server have? Is it always busy and high traffic?

it has 4 gb and is usually ideling away. 3/4 of mem used, no swap and plenty of core percentage available. But there are times where it is busy, usually because of some sort of attack, either to ssh or SPAM.

ZhangHuangbin wrote:
Jochen wrote:

Usually I would use Puppet to check and keep important processes running, but because of the easy Setup I refrained from doing so on the iredmail machine. Should I?

It's ok to check process status and restart them.

Ok, I will give this a try and install local Puppet and setup a cron job

thanks