On Wed, Apr 27, 2022 at 08:42:25AM +0200, Varadi Gabor wrote:

> > /\.that-domain\.com$/                  OK
> 
> /.*\.that-domain\.com$/ OK
> 
> Tested in https://www.debuggex.com/?flavor=pcre

No. The original form is better.  The leading ".*" is unnecessary and
may be less efficient.

The OP (who failed to post "postconf -nf" output) likely has
"reject_unknown_sender_domain" in more than one restriction
list, perhaps also "smtpd_recipient_restrictions"?

-- 
    Viktor.

Reply via email to