1

Topic: Shutdown script?

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

Which services need to be stopped in order to shutdown all iRedMail components?
Is there an existing script to do this?
Is order important?

As far as I can tell (https://docs.iredmail.org/network.ports.html) just these?
dovecot
postfix
amavis
postgres

Many thanks.

----

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

2

Re: Shutdown script?

Anyone?

3

Re: Shutdown script?

- Why do you want to shut down all components?
- The services / software names are listed on the web page in your post. smile

4 (edited by g40 2022-07-06 22:32:26)

Re: Shutdown script?

ZhangHuangbin wrote:

- Why do you want to shut down all components?
- The services / software names are listed on the web page in your post. smile

Run a chron script to restart all processes involved.

Why? Users see weird expired ssl certificate errors on a roughly monthly basis. Email clients claim the date does not match any of the expiry dates of the cert bot issued certificates.

This is something of a hack but I’ve found no way to even diagnose the issue server-side.