# Add header (replay-to) on mail from sao and proteus

**URL:** https://discuss.tryton.org/t/add-header-replay-to-on-mail-from-sao-and-proteus/9025
**Category:** Developer
**Created:** [December 18, 2025, 9:03pm UTC](https://discuss.tryton.org/t/add-header-replay-to-on-mail-from-sao-and-proteus/9025 "2025-12-18T21:03:52Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![herve\_02](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/h/7ea924/32.png) [@herve\_02](https://discuss.tryton.org/u/herve_02)
#### Post date: [December 18, 2025, 9:03pm UTC](https://discuss.tryton.org/t/add-header-replay-to-on-mail-from-sao-and-proteus/9025/1 "2025-12-18T21:03:52Z")

</div>

How (and where to search) could it be possible to add a repay-to header to the mail send for tryon and proteus ?

---

<div class="post-metadata">

### Author: ![ced](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/ced/32/1237_2.png) [@ced](https://discuss.tryton.org/u/ced)
#### Post date: [December 18, 2025, 10:28pm UTC](https://discuss.tryton.org/t/add-header-replay-to-on-mail-from-sao-and-proteus/9025/2 "2025-12-18T22:28:02Z")

</div>

You cannot as those are clients of the server.

---

<div class="post-metadata">

### Author: ![herve\_02](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/h/7ea924/32.png) [@herve\_02](https://discuss.tryton.org/u/herve_02)
#### Post date: [December 18, 2025, 10:54pm UTC](https://discuss.tryton.org/t/add-header-replay-to-on-mail-from-sao-and-proteus/9025/3 "2025-12-18T22:54:12Z")

</div>

thanks a lot.

i thought that as a mail client add headers, tryton could.. but i’ll do it server side.

I’ll find a solution (i have a clue i’ll test tomorrow) and i’ll give the solution i found here.

have a nice tomorrow day

---

<div class="post-metadata">

### Author: ![ced](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/ced/32/1237_2.png) [@ced](https://discuss.tryton.org/u/ced)
#### Post date: [December 18, 2025, 10:55pm UTC](https://discuss.tryton.org/t/add-header-replay-to-on-mail-from-sao-and-proteus/9025/4 "2025-12-18T22:55:49Z")

</div>

> [@herve\_02](#):
>
> as a mail client add headers, tryton could

Tryton is not a mail client. It is a software that occasionally may send emails.

---

<div class="post-metadata">

### Author: ![herve\_02](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/h/7ea924/32.png) [@herve\_02](https://discuss.tryton.org/u/herve_02)
#### Post date: [December 18, 2025, 11:17pm UTC](https://discuss.tryton.org/t/add-header-replay-to-on-mail-from-sao-and-proteus/9025/5 "2025-12-18T23:17:16Z")

</div>

I’m a little _grasshopper_ in the big leagues

Amitābha 🙏

---

<div class="post-metadata">

### Author: ![herve\_02](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/h/7ea924/32.png) [@herve\_02](https://discuss.tryton.org/u/herve_02)
#### Post date: [December 19, 2025, 9:09am UTC](https://discuss.tryton.org/t/add-header-replay-to-on-mail-from-sao-and-proteus/9025/6 "2025-12-19T09:09:25Z")

</div>

So i finally managed to do it.

i have a postfix server

in _/etc/postfix/main.conf_

`local_header_rewrite_clients = permit_inet_interfaces, permit_mynetworks, reject smtp_header_checks = regexp:/etc/postfix/header_check`

and _/etc/postfix/header\_check_

/From:._/ REPLACE From: mail@fai.tld  
/Behalf-Of:._/ REPLACE Behalf-Of: mail@fai.tld  
/Reply-to:.\*/ REPLACE Reply-to: mail@fai.tld

---

<div class="post-metadata">

### Author: ![system](https://discuss-cdn.tryton.org/uploads/default/original/1X/c6f8ec0a40525cdcd50058c734283450a4b3d38b.png) [@system](https://discuss.tryton.org/u/system)
#### Post date: [December 20, 2025, 9:10am UTC](https://discuss.tryton.org/t/add-header-replay-to-on-mail-from-sao-and-proteus/9025/7 "2025-12-20T09:10:00Z")

</div>

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.
