Topic: Show unkown domains in iredadmin webinterface
==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.7
- Linux/BSD distribution name and version: ubuntu 16.04.3 LTS
- 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,
one of my mailservers use case is to relay emails from customers who have a dynamic ip or dont want to send emails directly into the web. Therefore they get a user account like customer1@relay.com.
In their local mailserver they use relay.com as smarthost, and are allowed to send as their actual email, not as customer1@relay.com only. For example they send as info@customer1.com, but authenticate as customer1@relay.com
To do this I've put
ALLOWED_LOGIN_MISMATCH_SENDERS = ['customer1@relay.com']
into the iredapd settings file, and that works so far.
BUT, in the iredadmin webinterface, these senders are not shown in the statistics.
The only way to show these is to create the domain they are sending as, in this case customer1.com.
That shows the senders in the stats, but then theres another problem. If there is a second customer and customer 1 wants to send to customer 2, the iredmail server tries to deliver it locally, which doesn't work, because the customers have their own mail servers to recieve mails.
So I have to set an recieving smtp relay (Relay received email to smtp:mail.customer1.com:25)
And all this effort (there are many many customers) just to show the senders in the stats.
So, is there any way to show the senders even if they are not in the iredmail servers database?
If not: Feature Request
PS: In awstats they are shown, but I'd like to have it all in one gui (the iredadmin)
Thanks!
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.