Hi All,

First of all I wanted to let you know that I just recently started using postfix as our mail server. We've been using sendmail for a long time. I have a question on RBL whitelisting. I have done internet search on how to do it but I can't seem to whitelist
some senders.

Here is a snippet of my main.cf:

smtpd_recipient_restrictions =
   permit_mynetworks,
   permit_sasl_authenticated,
   reject_invalid_hostname,
   reject_non_fqdn_hostname,
   reject_non_fqdn_sender,
   reject_non_fqdn_recipient,
   reject_unverified_recipient,
   reject_unknown_sender_domain,
   reject_unknown_recipient_domain,
   check_client_access hash:/etc/postfix/rbl_override,
   reject_rbl_client zen.spamhaus.org,
   reject_rbl_client bl.spamcop.net,
   reject_rbl_client cbl.abuseat.org,
   reject_rbl_client dnsbl.sorbs.net,
   permit

Here is a sample snippet of rbl_override:

# white listed mail servers
mail.abc.com    OK
10.10.10.90      OK

# white listed domain
fred.com    OK

# white listed sender
[email protected]

From what I understand, I can only white list mail server's FQDN
or it's IP address.

Is there a way to white list by sender's domain name and sender's
email address.

Some of our client don't have their own mail server so I don't want to
white list the mail server(s) they are using.

Other send us email using their gmail account. Again I don't want to
white list all of gmail's mail server.

I was able to do this on sendmail using /etc/access (hash db) with
the same syntax as above rbl_override example.

Thank you in advance,

--
Roberto Fulgado
DM&T Service Ltd.
Tel: (905)731-0142 ext. 64
Email: [email protected]


---------------------------------------------------------------------------------

Prejudice:
        A vagrant opinion without visible means of support.
                -- Ambrose Bierce


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

Reply via email to