Topic: Logging Incoming Email to Alias Before Expansion
==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 0.9.7 MARIADB edition
- Deployed with iRedMail Easy or the downloadable installer? downloadable
- Linux/BSD distribution name and version: Ubuntu Server 16.04
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? No
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
I have several alias setup to forward email going to an email address to a group of users. The aliases are working, but I am trying to find out how I would log the incoming email to the alias. Right now the incoming emails are only being logged after the alias has been expanded.
For example, if I have an alias hr@example.com that goes to a list or users such as user1@example.com, user2@example.com etc. The logs have entries for the messages going to the user1@example.com and user2@example.com, but not to the hr@example.com.
For trouble-shooting, I would also like to have a log entry for the original message to hr@example.com
Thanks,
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.