1 (edited by locke84 2013-09-18 12:14:28)

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

======== 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!

----

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

2

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

Search "Sender address rejected: not owned by user" or "reject_sender_login_mismatch" in this forum will give you an answer.