[pfx] Re: New to Postfix, Google problems

Linkcheck via Postfix-users <[email protected]>
Newsgroups gmane.mail.postfix.user
Organization Linkcheck
Message-ID <[email protected]>
On 07/08/2026 6:35 pm, Jaroslaw Rafa via Postfix-users wrote:
> My table referenced in smtpd_client_restrictions contains
> 
> bc.googleusercontent.com	REJECT

I much appreciated the above suggestion but have not yet got it to work. :(

In main.cf I have ...

smtpd_client_restrictions =
   permit_mynetworks
   permit_sasl_authenticated
   check_client_access pcre:/etc/postfix/client_checks.pcre
   reject_unknown_client_hostname
   reject_unauth_pipelining

and created the file client_checks.pcre with the content

/Received:\sfrom\s.*bc\.googleusercontent\.com/	REJECT googleusercontent

At various times I have replaced \s with a space and removed the \ from 
\. but nothing seems to work. A typical email header line for 
googleusercontent is

Received: from dreampairshoes.com 
(219.172.193.35.bc.googleusercontent.com [35.193.172.219])
	by mail.bristolweb.net (Postfix 3.7.11/8.13.0) with SMTP id unknown
	Sun, 16 Aug 2026 20:04:03 +0100
	(envelope-from <[email protected]>);

I have been using postfix for several years and thought I'd mastered 
this sort of thing but obviously not. :(


_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.