Hi, On Tue, Jan 06, 2026 at 05:26:13PM +0100, Sidney Cadot wrote: > I previously had: > > match from any action "my-test-mda" > > I now understand that this test behaves identically to > > match from any for local action "my-test-mda" > > Upon RCPT TO, this test was executed, and it failed on the "from local" > test, as shown in the trace:
This doesn't make sense, as there is no 'from local' test. You clearly have 'from any' configured here. > lookup: match "wherewithal.nl" as domain in table static:<localnames> > -> false In any case, this is the _recipient_ domain, so it makes no sense for it to fail a test for 'from'. > Only after I changed the match rule to ... > > match from any for any action "my-test-mda" > > .. the match test passes; the trace shows: > > lookup: match "84.86.60.125" as netaddr in table static:<anyhost> -> > true > lookup: match "wherewithal.nl" as domain in table > static:<anydestination> -> true > rule #1 matched: match from any for any action my-test-mda > > (But now I bump into the next problem.) Exactly, which is pretty much what I was trying to tell you from the beginning. Even with a wide open match from any to any, you'll get an almost identical delivery error message for reasons already explained. > All that aside, it seems there is a bit of tension/frustration in our > communication. Not really, but when you imply that I don't know what I'm talking about, I do feel the desire to qualify it or explain any mis-understandings, and that becomes a bit tedious once the exchanges get longer with multiple levels of quoting. It wasn't entirely clear to me that you were still focusing exclusively on the original failed message trace, even though you had mentioned also testing local mail, (which would pass the default match from local), and various people had pointed out the default behaviour of match being 'from local'. I thought we'd moved on from that. > I do appreciate that you're trying to help, but we somehow > got off on the wrong foot. It happens, and for what it's worth, I apologize > if my tone rubs you the wrong way. Perhaps it's better if we leave it at > this. Well, your original questions have basically all been answered at some point in this thread already, so I'll just wish you good luck on your smtpd journey.
