Re: Why isn't there a simple way to add a catchall alias to OpenSMTP ?

2022-04-14 Thread gilles
Forget about the whole fallback idea, it can't work because an envelope can only successfully match a single rule for _very_ good reasons that are not related to the implementation itself but to how SMTP works more generally. The ruleset does a first-match evaluation and once it found a rule that

Re: Why isn't there a simple way to add a catchall alias to OpenSMTP ?

2022-04-14 Thread Beau Ford
On Thu, 14 Apr 2022, Thomas Bohl wrote:     match from any for domain "domain.com" action "local_mail"     match from any for domain "domain.com" action "catchall" match for local action "local_mail" match from any for domain "domain.com" action "catchall" Tried this - thank you - but

Re: Why isn't there a simple way to add a catchall alias to OpenSMTP ?

2022-04-14 Thread Thomas Bohl
    match from any for domain "domain.com" action "local_mail"     match from any for domain "domain.com" action "catchall" match for local action "local_mail" match from any for domain "domain.com" action "catchall" I hope I understood you correctly. If not, merge the tables.

Re: Why isn't there a simple way to add a catchall alias to OpenSMTP ?

2022-04-14 Thread Beau Ford
On Thu, 14 Apr 2022, Beau Ford wrote: 1) Am I still using my aliases that are defined in: table aliases file:/usr/local/etc/mail/aliases action "local_mail" mbox alias ... or are those superceded now by the catchall ? It turns out I am *not* using my aliases anymore and that my rules,

Re: Why isn't there a simple way to add a catchall alias to OpenSMTP ?

2022-04-14 Thread Beau Ford
On Thu, 14 Apr 2022, gil...@poolp.org wrote: I'm not active these days, but waking up because this thread is getting out of hands :-) Thank you very much - this worked, but I have a follow-up clarification below ... My goal is to add exactly one catchall rule and keep my config

Re: Why isn't there a simple way to add a catchall alias to OpenSMTP ?

2022-04-14 Thread gilles
I'm not active these days, but waking up because this thread is getting out of hands :-) Reponses inlined: April 14, 2022 7:20 AM, "Beau Ford" wrote: > On Mon, 11 Apr 2022, Reio Remma wrote: > >>> Am I misremembering or is that a possibility - to implement the '@' >> >>> catchall directly

Re: Why isn't there a simple way to add a catchall alias to OpenSMTP ?

2022-04-14 Thread Reio Remma
On 14.04.2022 08:44, Beau Ford wrote: Reio, On Thu, 14 Apr 2022, Reio Remma wrote: ... and that line bombs out my configuration ... here is my entire configuration *including* these two additional lines.  This config works great if I remove the two new lines: How exactly? What's the