1

Topic: No log for connexions on submission port

==== Required information ====
- iRedMail version (check /etc/iredmail-release):
- Linux/BSD distribution name and version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Web server (Apache or Nginx):
- Manage mail accounts with iRedAdmin-Pro?
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
======== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.7
- Linux/BSD distribution name and version: debian 8
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Web server (Apache or Nginx): Apache
- Manage mail accounts with iRedAdmin-Pro? Yes
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

Hi,

I have a server on which one connexion on submission port are not logged in /var/log/syslog or /var/log/mail.log.

I compare some config files (/etc/postfix/master.cf, /etc/rsyslog.conf, ...) with an other server without found errors.
I had others postfix process in /etc/postfix/master.cf that are not logged neither:

# Submission, port 587, force TLS connection.
submission inet n       -       n       -       -       smtpd
  -o syslog_name=postfix/submission
  -o smtpd_tls_security_level=may
  -o smtpd_sasl_auth_enable=yes
  -o smtpd_client_restrictions=permit_sasl_authenticated,reject
  -o content_filter=smtp-amavis:[127.0.0.1]:10026
  #-o smtpd_upstream_proxy_protocol=haproxy

# SMTPS, port 465, SSL / TLS
465     inet  n       -       n       -       -       smtpd
  -o syslog_name=postfix/smtps
  -o smtpd_tls_wrappermode=yes
  -o smtpd_sasl_auth_enable=yes
  -o smtpd_client_restrictions=permit_sasl_authenticated,reject
  -o content_filter=smtp-amavis:[127.0.0.1]:10026

# Mail from mailfilter
172.16.1.1:10028 inet n     -       n       -       -   smtpd
  -o syslog_name=postfix/filtred
  -o smtpd_tls_security_level=may
  -o smtpd_sasl_auth_enable=no
#  -o smtpd_client_restrictions=check_client_access hash:/etc/postfix/mailfilter_access,reject
  -o smtpd_client_restrictions=$filtred_client_restrictions
  -o content_filter=

Anyone have an idea how can I fix logs for all postfix process?

----

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

2

Re: No log for connexions on submission port

You have "  -o syslog_name=postfix/xxx", so it’s supposed to see log like "postfix/submission/smtpd" in log file.

Is syslog working well? Try to restart syslog service and check its log file immediately.

3

Re: No log for connexions on submission port

There no log log at all like "postfix/submission/smtpd", "postfix/smtps/smtpd" and "postfix/filtred/smtpd".
Others postfix logs like "postfix/smtpd", "postfix/cleanup" or "postfix/postscreen" are present.
Restart rsyslogd service doesn't solve the issue.

I'm trying to reproduce this in a testing environment but I've no idea what could provoke this issue.

4

Re: No log for connexions on submission port

I found that systemd-journald service was in a failed state for 10 days so the system log collector didn't work and log for others service like openldap was missing to.
Restart the service doesn't work immediately but now its working correctly since midnight.