1

Topic: Exclude domain from SRS

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 0.9.8
- Deployed with iRedMail Easy or the downloadable installer? no
- Linux/BSD distribution name and version:  CentOS 7.5
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- 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.
====

My server is used as a relay for messages with a non-local sender domain example.com (envelope sender and header-from).
Authentication is done with a local subdomain ("smtp@subdomain.example.com").
SRS is rewriting the envelope sender correctly, header-from is left unchanged.

I´ld like to disable SRS only for this envelope sender domain. Final recipient is complaining about mismatching envelope sender and header-from entries after SRS is applied.

My SRS config (/opt/iredapd/settings.py) is
srs_forward_port = '7778'
srs_reverse_port = '7779'
srs_domain = 'mail2.<mydomain>'
srs_secrets = ['***']

BTW: I see I´m well behind latest iredmail version. Update is planned.

Thank you for any idea to exclude domains from SRS.

----

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

2

Re: Exclude domain from SRS

iRedAPD doesn't support excluding certain domains yet.

3

Re: Exclude domain from SRS

ZhangHuangbin wrote:

iRedAPD doesn't support excluding certain domains yet.

Has there been a change since this post? Or is it possible to activate SRS for specific domains?