Allowing some Unverified Domains

From: Larry Hansford (no email)
Date: Mon Jul 01 2002 - 11:15:46 EDT


I have the following in main.cf

unknown_address_reject_code = 554
unknown_hostname_reject_code = 554
unknown_client_reject_code = 554

smtpd_recipient_restrictions =
   reject_non_fqdn_sender,
   reject_non_fqdn_recipient,
   reject_unknown_sender_domain,
   reject_unknown_recipient_domain,
   permit_mynetworks,
   check_client_access hash:/etc/postfix/pop-before-smtp,
   check_sender_access hash:/etc/postfix/access_list,
   check_recipient_access hash:/etc/postfix/access_list,
   reject_non_fqdn_hostname,
   reject_unknown_client,
   check_relay_domains

This is blocking a lot of spam and unwanted mail, but there are two sites
that we want to receive mail from that are also being blocked -- I
contacted their sys admins to get them to fix their systems, and they said
it would take them a while to determine the problem and fix it.

These two sites are being rejected with a "554 Client host rejected: cannot
find your hostname" error.

Can I add a add a line in main.cf, above the other checks, for:

check_sender_access regexp:/etc/postfix/access.regexp

and then put in the access.regexp file:

/gbod.com/ OK
/ecomc.com/ OK

Will this allow the two sites I want to allow, while still keeping all the
other blocks in place.

Thanks!

Larry

-
To unsubscribe, send mail to with content
(not subject): unsubscribe postfix-users








Hosted Email Solutions

Invaluement Anti-Spam DNSBLs



Powered By FreeBSD   Powered By FreeBSD