28.02.24, 09:20 +0100, lists--- via Postfix-users:

> My sender_access file contains
> 
> charity.donation.jp REJECT
> 
> postmap -q charity.donation.jp  hash:sender_access
> REJECT
> 
> So it returns REJECT as expected. However testing some random users at
> the domain:
> 
> postmap -q m...@charity.donation.jp  hash:sender_access
> 
> returns nothing. Is the domain being rejected in actual use even though
> postmap -q testing with a specific user at the domain name doesn't
> return anything?
Look at the fine manual that explains what postmap -q does:

>        -q key Search the specified maps for key and write the first value 
> found to the standard output stream. The exit status is zero when the  re‐
>               quested information was found.
> 
>               Note:  this  performs  a single query with the key as 
> specified, and does not make iterative queries with substrings of the key as 
> de‐
>               scribed for access(5), canonical(5), transport(5), virtual(5) 
> and other Postfix table-driven features.

-- 
Regards
  mks

_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to