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

2024-07-15 Thread Samer Afach via Postfix-users
Thank you. If I may ask a question related to why I did this, would using a different myhostname not cause a problem? Both are supposed to be for example.com because they handle emails for example.com, one for receiving and one for sending. The docs do specify to use an FQDN, that's why I ignor

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

2024-07-15 Thread Wietse Venema 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) > And that comes after these warnings: postfix/smtp[289]: warning: hos

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

2024-07-15 Thread Samer Afach via Postfix-users
Thank you for the response. I've emptied mydestination explicitly and it didn't change the outcome (still getting the loops back to myself error/event). The following is the redacted output of postconf -nf. I only redacted the domain name and ip address(es). alias_database = hash:/etc/aliases

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

2024-07-15 Thread Bill Cole via Postfix-users
On 2024-07-15 at 10:09:42 UTC-0400 (Mon, 15 Jul 2024 18:09:42 +0400) Samer Afach via Postfix-users is rumored to have said: Hello everyone I have a setup where my smtp server is reachable through haproxy by means of networking. But the outgoing email uses an exchange server (a relay server t

[pfx] Re: sending email to FQDN address without DNS

2024-07-15 Thread Adam Weremczuk via Postfix-users
Thank you sir, that's exactly what I was after. On 11/07/2024 19:49, Wietse Venema via Postfix-users wrote: With main.cf: disable_dns_lookups = yes smtp_host_lookup = native the Postfix SMTP client will usually look in /etc/hosts. Wietse ___

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

2024-07-15 Thread Samer Afach via Postfix-users
Hello everyone I have a setup where my smtp server is reachable through haproxy by means of networking. But the outgoing email uses an exchange server (a relay server to the outside world). So the relay server is only used for sending emails. I do this out of necessity, since the smtp server i

[pfx] Re: Encoding other information into VERP

2024-07-15 Thread Bill Cole via Postfix-users
On 2024-07-14 at 20:38:08 UTC-0400 (Mon, 15 Jul 2024 00:38:08 + (UTC)) Dan Mahoney (Gushi) via Postfix-users is rumored to have said: Hey all, 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" addres

[pfx] Re: spf

2024-07-15 Thread Matus UHLAR - fantomas via Postfix-users
On 08.07.24 11:42, natan via Postfix-users wrote: What you propose use ? Maybe instead of not accepting such mail will better is change score in SA ? This is a policy issue. You can choose your policy to be rejecting mail with spf=fail, both spf=fail and spf=softfail, or reject any mail whe