1

Topic: SMTP Sessions and Outbound SMTP Sessions are empty

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

Hi,
I'm installing a new mail infrastructure with latest iRedMail configuration.
In iRedAdmin, nothing is listed in "SMTP Sessions" and "Outbound SMTP Sessions" under the Activities menu.
As I did some customisation on my servers configurations, I'm wondering where these data should comming from ?

Thanks.

----

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

2

Re: SMTP Sessions and Outbound SMTP Sessions are empty

The smtp sessions are logged by iRedAPD, you should make sure iRedAPD is integrated in Postfix in both smtpd_recipient_restrictions and smtpd_end_of_data_restrictions ("check_policy_service inet:127.0.0.1:7777").

FYI:

https://github.com/iredmail/iRedMail/bl … in.cf#L195
https://github.com/iredmail/iRedMail/bl … in.cf#L203

3

Re: SMTP Sessions and Outbound SMTP Sessions are empty

Thanks.
I had an error during iRedAPD installation due to a bad MariaDB configuration. The table smtp_sessions was not created in iRedAPD database.
Fixing MariaDB configuration and run iRedAPD-3.3/tools/upgrade_iredapd.sh solve the issue.