looks like its failing before it gets to your whitelist, I think you need to 
re-order your checks, and move your whitelist to the first position, as well 
as your permit mynetworks.

But what do I know :)


----- Original Message ----- 
From: "Kevin Coveney" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Thursday, February 23, 2006 10:15 AM
Subject: [IMGate] Confused on howto Whitelist a server.


Ok, I thought that I whitelisted my clients server by ip:210.74.224.40

My testing showed:

postmap -q "210.74.224.40" hash:/etc/postfix/mta_clients_bw.map
ok

but, still getting rejects - failing on header checks::

Feb 23 08:40:12 mailwasher postfix/cleanup[89778]: EB8BB11471: reject:
header Subject: =?gb2312?B?tPC4tDogQkIgZnVsbCBhc3NlbWJseSBzYW1wbGU=?=
from mx2.81890.net[210.74.224.40]; from=<[EMAIL PROTECTED]>
to=<[EMAIL PROTECTED]> proto=SMTP helo=<mx2.81890.net>: ACL header_2


This is a snip from my main.cf:
-----------
smtpd_recipient_restrictions =
 reject_unlisted_recipient,
 reject_unauth_pipelining,
 reject_non_fqdn_sender,
 reject_non_fqdn_recipient,
 reject_unknown_recipient_domain,
 hash:/etc/postfix/to_recipients_bw.map,
 reject_unknown_sender_domain,
 permit_mynetworks,
 reject_unauth_destination,
 hash:/etc/postfix/to_recipients_bw.map,
 check_client_access hash:/etc/postfix/mta_clients_bw.map,
 check_helo_access pcre:/etc/postfix/helo_hostnames.regexp,
 check_sender_access pcre:/etc/postfix/from_senders.regexp,
 check_sender_access hash:/etc/postfix/from_senders_bw.map,

 ...

header_checks = pcre:/etc/postfix/header_checks.regexp
-----------

This is my client china offices and I need to allow mail regardless of
and test failures!
Thanks,

Kevin



Reply via email to