That does not work with the data I have use to make a test.
This is the reason I open a thread.

email-address :: local-p...@example.com
but if local-part :: local-p...@example.com ==>
local-p...@example.com@example.com

Now the lookup table

local-p...@example.com    OK

*postmap -q "local-p...@example.com@example.com"
type_of_table:/etc/postfix/lookup_table
return null*

postmap -q "local-p...@example2.com@example.com"
type_of_table:/etc/postfix/lookup_table
return null

postmap -q "local-p...@example.com@example2.com"
type_of_table:/etc/postfix/lookup_table
return null

but postfix lookup table
*return OK for local-p...@example.com@example.com*
return not found for local-p...@example2.com@example.com
return not found for local-p...@example.com@example2.com

I have made 2 other tests

One with :
local-p...@example.com*.*@example.com ( see the dot before the second @ )
postmap -q return null
but postfix lookup return OK

The second one with :
local-p...@example.com*.a*@example.com ( see  ".a" before the second @ )
postmap -q return null
and postfix lookup return not found.

During ma test, I noticed that  aaaaa@bbbbb@cccccc (from the sender address)
was tagged  as "aaaaa@bbbbb"@cccccc.

If the `ccccc` part is different from the domain part in the loookup table,
the sender address is rejected
If the `bbbb` part is different from the domain part in the loookup table,
the sender address is rejected

Any help is welcome.




-----
Thank you for helping
________
Opensuse Leap 15
--
Sent from: http://postfix.1071664.n5.nabble.com/Postfix-Users-f2.html

Reply via email to