Topic: How to change Header 'From' for mlmmj?
==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.3.2
- Deployed with iRedMail Easy or the downloadable installer? downloadable installer
- Linux/BSD distribution name and version: CentOS 8
- 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.
====
Hello. How i can modify 'From' header for outgoing messages is is sended to mailing list member? For example:
Jul 19 16:50:17 ired roundcube[3679342]: <1j4g9qnu> User user@domain.tld [185.49.170.14]; Message <aea5e80b71c871dd242b649ac57b24bc@domain.tld> for group@domain.tld; 250: 2.0.0 Ok: queued as 9EAEAA20634
Jul 19 16:50:18 ired amavis[3678725]: (3678725-02) Passed CLEAN {RelayedInternal}, ORIGINATING/MYNETS LOCAL [127.0.0.1]:55170 ESMTP/ESMTP <user@domain.tld> -> <group@domain.tld>, (), Queue-ID: 9EAEAA20634, Message-ID: <aea5e80b71c871dd242b649ac57b24bc@domain.tld>, mail_id: CYipqFjcQ5Es, b: 87Wfi2HmT, Hits: -2.9, size: 550, queued_as: 35DE9A213D1, Subject: "test mail", From: <user@domain.tld>, User-Agent: Roundcube_Webmail, helo=localhost, Tests: [ALL_TRUSTED=-1,BAYES_00=-1.9], autolearn=ham autolearn_force=no, autolearnscore=0, dkim_new=dkim:mx.domain.tld, 534 ms
Jul 19 16:50:18 ired amavis[3678725]: (3678725-02) Passed CLEAN, <user@domain.tld> -> <group@domain.tld>, Hits: -2.9, tag=2, tag2=6.2, kill=6.9, queued_as: 35DE9A213D1, L/0/0/0
Jul 19 16:50:18 ired postfix/amavis/smtp[3677560]: 9EAEAA20634: to=<group@domain.tld>, relay=127.0.0.1[127.0.0.1]:10026, delay=0.61, delays=0.06/0/0/0.54, dsn=2.0.0, status=sent (250 2.0.0 from MTA(smtp:[127.0.0.1]:10025): 250 2.0.0 Ok: queued as 35DE9A213D1)
Jul 19 16:50:18 ired postfix/pipe[3680422]: 35DE9A213D1: to=<group@domain.tld>, relay=mlmmj, delay=0.03, delays=0.01/0.02/0/0.01, dsn=2.0.0, status=sent (delivered via mlmmj service (Mail delivered without modificaiton.))
Jul 19 16:50:18 ired postfix/qmgr[3618056]: 526A3A20634: from=<group+bounces-1900@domain.tld>, size=2199, nrcpt=2 (queue active)
Jul 19 16:50:18 ired amavis[3678725]: (3678725-03) Passed CLEAN {RelayedInternal}, MLMMJ LOCAL [127.0.0.1] /ESMTP <group+bounces-1900@domain.tld> -> <user2@domain2.tld>,<user3@domain.tld>, (), Message-ID: <aea5e80b71c871dd242b649ac57b24bc@domain.tld>, mail_id: K1XvYtWYw4yT, b: 0DZA8rmVi, Hits: -, size: 1887, queued_as: 526A3A20634, Subject: "test mail", From: <user@domain.tld>, User-Agent: Roundcube_Webmail, helo=, dkim_i=@mx.domain.tld, dkim_sd=dkim:mx.domain.tld, 97 ms
Jul 19 16:50:18 ired amavis[3678725]: (3678725-03) Passed CLEAN, <group+bounces-1900@domain.tld> -> <user2@domain2.tld>, Hits: -, tag=0, tag2=0, kill=0, queued_as: 526A3A20634, L/0/0/0
Jul 19 16:50:18 ired amavis[3678725]: (3678725-03) Passed CLEAN, <group+bounces-1900@domain.tld> -> <user3@domain.tld>, Hits: -, tag=0, tag2=0, kill=0, queued_as: 526A3A20634, L/0/0/0
I want to change this - <group+bounces-1900@domain.tld> to any static address like 'somaddr@domain.tld'.
Thanks
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.