Quantcast
Channel: iRedMail — iRedMail Support
Viewing all articles
Browse latest Browse all 43294

How to allow send mail with different "Return-Path"

$
0
0

======== Required information ====
- iRedMail version: 0.8.1
- Store mail accounts in which backend: LDAP
- Linux/BSD distribution name and version: Ubuntu 12.04
- Related log if you're reporting an issue:
====

Hi, my webapp send mail over iRedmail server(with authenticated account: eg: webapp1@mydomain1.com), but i can't send mail with custom header like:
Return-Path: bounce-webapp1@mydomain2.com

The reason behinds is: i have another mail server @mydomain2.com to processing bounce-email (detect spam sender, detect not-exist recipient address, v.v...)

How I can configure iRedmail(postfix) to allow webapp1@mydomain1.com set a different "Return-Path" header like:
bounce-webapp1@mydomain2.com
(when i set custom header & send, i see error in postfix log, like that:
Sep 17 10:55:06 mail postfix/smtpd[28996]: NOQUEUE: reject: RCPT from unknown[113.x.y.z]: 553 5.7.1 <bounce-webapp1@mydomain2.com>: Sender address rejected: not owned by user webapp1@mydomain1.com; from=<bounce-webapp1@mydomain2.com> to=<abcd@xyz.com> proto=ESMTP helo=<mydomain1.com>

Thank you very much!


Viewing all articles
Browse latest Browse all 43294

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>