[pfx] masquerade_domains does not work for relayed domain

2024-02-12 Thread Aleksandar Ivanisevic via Postfix-users
Is it true that masquerade_domains does not work for header From: in relayed emails? I have a fairly generic setup: masquerade_classes = envelope_sender, header_sender, header_recipient masquerade_domains = mydomain.com that does indeed rewrite envelope from, but not header from, and

[pfx] Re: Unexpected behavior of regexp table in check_sender_access directive

2024-02-12 Thread Jakob Cornell via Postfix-users
The logging code lives outside the individual table drivers and with "_maps" parameters that support multiple tables, above any individual table lookup. Oh I see. Well without rearchitecting the logging it seems this could be made more intuitive for the case where all of the maps in a

[pfx] DANE: ATTENTION: Let's Encrypt drops DST X3 from default chain, breaking "depth 2" ISRG "2 1 1" TLSA records...

2024-02-12 Thread Viktor Dukhovni via Postfix-users
As of roughly the start of this month, the DANE survey at is seeing a steady stream of validation failures for MX hosts that rely only on: _25._tcp.mail.domain.example. IN TLSA 2 1 1 0b9fa5a59eed715c26c1020c711b4f6ec42d58b0015e14337a39dad301c5afc3 [ Some

[pfx] Re: Unexpected behavior of regexp table in check_sender_access directive

2024-02-12 Thread Viktor Dukhovni via Postfix-users
On Mon, Feb 12, 2024 at 09:05:12PM -0600, Jakob Cornell via Postfix-users wrote: > Can we improve this so it's easier to get this right on the first try > as a newcomer, and make it more clear what's happening at run time? It > looks like a code change to skip the logging along with the actual >

[pfx] Re: Forward mails if user unknown in local recipient table

2024-02-12 Thread Akshay Pushparaj via Postfix-users
I would like to know if i can configure postfix to forward mails if user not found in local recipient table. That is possible (with static: mapping) but not a good idea. May i know why it's not a good idea? Users are split between LDAP in my server and a remote server for example.com. So

[pfx] Re: Forward mails if user unknown in local recipient table

2024-02-12 Thread Akshay Pushparaj via Postfix-users
On 06/02/24 23:18, Viktor Dukhovni via Postfix-users wrote: That's not the right question. The right question is: - How to deliver some users for a domain locally and and some to a remote server? Will frame questions better next time. For that, I'd typically configure the

[pfx] Re: Unexpected behavior of regexp table in check_sender_access directive

2024-02-12 Thread Jakob Cornell via Postfix-users
Thanks Viktor. I found what I believe you're referencing in the access(5) man page: With lookups from indexed files such as DB or DBM, or from networked tables such as NIS, LDAP or SQL, patterns are tried in the order as listed below: Is this the only documentation explaining this

[pfx] Re: ARC or DKIM or SRS?

2024-02-12 Thread Alex via Postfix-users
Hi, On Mon, Feb 12, 2024 at 5:39 AM Jaroslaw Rafa via Postfix-users < postfix-users@postfix.org> wrote: > Dnia 11.02.2024 o godz. 17:47:05 Alex via Postfix-users pisze: > > My concern would be with multiple MX records for the same domain - is it > > possible it would come back to try again with

[pfx] Re: masquerade_domains does not work for relayed domain

2024-02-12 Thread Wietse Venema via Postfix-users
Aleksandar Ivanisevic via Postfix-users: > > Is it true that masquerade_domains does not work for header From: in relayed > emails? I have a fairly generic setup: > > masquerade_classes = envelope_sender, header_sender, header_recipient > masquerade_domains = mydomain.com > > that does indeed

[pfx] Re: masquerade_domains does not work for relayed domain

2024-02-12 Thread Viktor Dukhovni via Postfix-users
On Mon, Feb 12, 2024 at 04:28:41PM +0100, Aleksandar Ivanisevic via Postfix-users wrote: > > Is it true that masquerade_domains does not work for header From: in relayed > emails? I have a fairly generic setup: > > masquerade_classes = envelope_sender, header_sender, header_recipient >

[pfx] Re: different queue time based on the sender address

2024-02-12 Thread Aleksandar Ivanisevic via Postfix-users
> On 27. Jan 2024, at 14:23, Wietse Venema via Postfix-users > wrote: > > Aleksandar Ivanisevic via Postfix-users: >> i would like to have maximal_queue_lifetime (and possibly some >> other parameters) based on the sender address. So I did the following > > This request is unlikely to be

[pfx] Re: postfix alternating between mail.example.com and real hostname?

2024-02-12 Thread Joachim Lindenberg via Postfix-users
Thanks to Bill and Benny for the pointer to https://www.postfix.org/DEBUG_README.html#mail. Using tcpdump I figured out that a monitoring task using OpenSsl (with hardcoded mail.example.org) was reusing the same ip (via NAT). You´d call it gremlins  Joachim -Ursprüngliche Nachricht-

[pfx] masquerade_domains does not work for relayed domain

2024-02-12 Thread Aleksandar Ivanisevic via Postfix-users
Is it true that masquerade_domains does not work for header From: in relayed emails? I have a fairly generic setup: masquerade_classes = envelope_sender, header_sender, header_recipient masquerade_domains = mydomain.com that does indeed rewrite envelope from, but not header from, and

[pfx] Re: postfix alternating between mail.example.com and real hostname?

2024-02-12 Thread Bill Cole via Postfix-users
On 2024-02-12 at 07:07:03 UTC-0500 (Mon, 12 Feb 2024 13:07:03 +0100) Joachim Lindenberg via Postfix-users is rumored to have said: I haven´t seen this before, but at present my mail server is kind of alternating between mail.example.com and the real hostname (or someone is spoofing my

[pfx] Re: postfix alternating between mail.example.com and real hostname?

2024-02-12 Thread Benny Pedersen via Postfix-users
Joachim Lindenberg via Postfix-users skrev den 2024-02-12 13:07: Any idea for the cause and a fix? http://www.postfix.org/DEBUG_README.html#mail ___ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an email to

[pfx] postfix alternating between mail.example.com and real hostname?

2024-02-12 Thread Joachim Lindenberg via Postfix-users
I haven´t seen this before, but at present my mail server is kind of alternating between mail.example.com and the real hostname (or someone is spoofing my IP-address which I doubt). All configuration files I checked indicate the correct setting and postconf myhostname returns the correct name.

[pfx] Re: ARC or DKIM or SRS?

2024-02-12 Thread Jaroslaw Rafa via Postfix-users
Dnia 11.02.2024 o godz. 17:47:05 Alex via Postfix-users pisze: > My concern would be with multiple MX records for the same domain - is it > possible it would come back to try again with another MX and be delayed yet > again? MX are the addresses that *receive* mail for a given domain, not the