On 07 Jan 2021, at 17:13, Wietse Venema <wie...@porcupine.org> wrote:
>> Similarly, given a email address of "p...@example.com" would it be =
>> possible to reject all emails to that address that did not contain an =
>> extension in the user name?

I should have said to "only allow emails that contain an address extension, any 
address extension, not a repopulated list."

I know what I was thinking! 

>> # using recipient_delimiter = +_
>> plus+plus  OK
>> plus+foo   OK
>> Plus_bar   OK
>> plus       REJECT
> 
> The above works. Postfix always tries to match the complete address
> before stripping off the extension and matching the unextended name.
> 
>> plus+      REJECT
> 
> You don't need this, because Postfix will try the form without
> address extension, and that form is already rejected.

Those were example of possible incoming usernames used in an email, not a list 
of allowed address+extension examples.

So, basically plus+<anything> or plus_<anything> is allowed, but plus@… is 
rejected.


-- 
🎼We all live in an Eldrich Horror's dream
                 an Eldrich Horror's dream
                 an Eldrich Horror's dream 🎵

Reply via email to