Did you try using

.dhs.gov

In /usr/local/etc/postfix/postgrey_whitelist_clients.local?



-----Original Message-----
From: [email protected] <[email protected]> On 
Behalf Of James B. Byrne
Sent: Friday, November 26, 2021 2:33 PM
To: [email protected]
Subject: Postgrey - whitelisting subdomains

I looked for a postgrey list to ask this, but the one that I found does not 
seem to have any archives after 2019 so I came here instead.  If there is 
somewhere else to ask this please let me know.

We use postfix with postgrey.  We have a whitelist 
/usr/local/etc/postfix/postgrey_whitelist_clients.local

According to the man page:

   Whitelists
       Whitelists allow you to specify client addresses or recipient address,
       for which no greylisting should be done. Per default postgrey will read
       the following files:

        /usr/local/etc/postfix/postgrey_whitelist_clients
        /usr/local/etc/postfix/postgrey_whitelist_clients.local
        /usr/local/etc/postfix/postgrey_whitelist_recipients


In /usr/local/etc/postfix/postgrey_whitelist_clients.local we have dhs.gov:

[root@mx31 ~]# grep dhs.gov
/usr/local/etc/postfix/postgrey_whitelist_clients.local

dhs.gov

The problem is that postgrey grey-listed this email:

Nov 26 13:43:36 mx31 postgrey[27438]: action=greylist, reason=new, 
client_name=mx0f-00376703.gpphosted.com, client_address=67.231.155.98, 
[email protected], recipient=<[email protected]>


After a delay the send/receive pair was auto whitelisted.  However, I was given 
to understand that domain entries in the whitelist also applied to subdomains.

Also from the postgrey man page:

       The following can be specified for client addresses:

       domain.addr
                 "domain.addr" domain and subdomains.

Why was email from dhs.gov grey-listed?  Have I misconfigured something?


-- 
***          e-Mail is NOT a SECURE channel          ***
        Do NOT transmit sensitive data via e-Mail
   Unencrypted messages have no legal claim to privacy  Do NOT open attachments 
nor follow links sent by e-Mail

James B. Byrne                mailto:[email protected]
Harte & Lyne Limited          http://www.harte-lyne.ca
9 Brockley Drive              vox: +1 905 561 1241
Hamilton, Ontario             fax: +1 905 561 0757
Canada  L8E 3C3

Reply via email to