[pfx] Re: Encoding other information into VERP

2024-07-16 Thread Bastian Blank via Postfix-users
On Mon, Jul 15, 2024 at 12:38:08AM +, Dan Mahoney (Gushi) via Postfix-users wrote: > The dayjob is attempting to tie VERP into our ticket system (RT with > postfix), and it would be useful to encode not just the magic "from" > address, but ideally the ticket number as well, so that a bounced r

[pfx] Re: Returning email from relay-only server on bounce

2024-07-16 Thread Matus UHLAR - fantomas via Postfix-users
Samer Afach via Postfix-users: postfix/smtp[299]: C0A3C9F906D0: to=, relay=10.10.100.100[10.10.100.100]:25, delay=957, delays=950/0.02/6.4/0, dsn=5.4.6, status=bounced (mail for 10.10.100.100 loops back to myself) postfix produces this error when if finds mail is directed to itself, but does no

[pfx] Re: Returning email from relay-only server on bounce

2024-07-16 Thread Samer Afach via Postfix-users
Thank you very much for explaining, everyone. Changing myhostname did indeed fix the problem. Using a subdomain with FQDN is a solution that didn't occur to me. Even the transport_maps value wasn't needed. All the best, Sam On 16/07/2024 13:27, Matus UHLAR - fantomas via Postfix-users wrote

[pfx] Re: Cyrus SASL summary

2024-07-16 Thread Scott Kitterman via Postfix-users
On Friday, July 5, 2024 4:00:59 AM EDT Viktor Dukhovni via Postfix-users wrote: > On Thu, Jul 04, 2024 at 05:01:41PM -, John Levine via Postfix-users > wrote: > > > OK, I'll invent a user. Perhaps if we can get Scott to undo the control > > file move he can add a sasl user at the same time.

[pfx] Preserve client ip when using haproxy load balancer in front of postfix relay

2024-07-16 Thread sandeep pawar via Postfix-users
Some of the Java mail client libraries don't support MX record and don't have a good retry mechanism and therefore want to run a group of relay behind load-balancer so that when relays are patched, no mails are lost by ensuring a right health check. These relays are authenticated and also have pol

[pfx] Re: Preserve client ip when using haproxy load balancer in front of postfix relay

2024-07-16 Thread Wietse Venema via Postfix-users
sandeep pawar via Postfix-users: > Some of the Java mail client libraries don't support MX record and don't > have a good retry mechanism and therefore want to run a group of relay > behind load-balancer so that when relays are patched, no mails are lost by > ensuring a right health check. > > The

[pfx] Re: Preserve client ip when using haproxy load balancer in front of postfix relay

2024-07-16 Thread Wietse Venema via Postfix-users
Wietse Venema via Postfix-users: > sandeep pawar via Postfix-users: > > Some of the Java mail client libraries don't support MX record and don't > > have a good retry mechanism and therefore want to run a group of relay > > behind load-balancer so that when relays are patched, no mails are lost by

[pfx] Re: Preserve client ip when using haproxy load balancer in front of postfix relay

2024-07-16 Thread sandeep pawar via Postfix-users
Planning to add Haproxy server for resiliency to better control backend postfix relay servers for some of the clients like Java/GO Java clients -> Haproxy -> Postfix relays with policy service -> other SMTP servers -> internet Thanks for suggesting XFORWARD which can be set by client and read by s

[pfx] Re: Preserve client ip when using haproxy load balancer in front of postfix relay

2024-07-16 Thread Wietse Venema via Postfix-users
sandeep pawar via Postfix-users: > Planning to add Haproxy server for resiliency to better control backend > postfix relay servers for some of the clients like Java/GO > Java clients -> Haproxy -> Postfix relays with policy service -> other SMTP > servers -> internet With that configuration, HApro

[pfx] Re: Preserve client ip when using haproxy load balancer in front of postfix relay

2024-07-16 Thread sandeep pawar via Postfix-users
Thanks Wietse, for confirming. I was about to reply that I found this setting and it seems to be working as expected. Performed all the testing. Postfix logs are updated with the original client IP automatically and policy server is also working as expected. This is what I was looking for. Thanks