7 msgdeny delivery from unauthenticated senders
8 msgMail cluster down: how to defer at the mail gat...
5 msgpostfix accepts mail from <> to nonexiste...

whitelist an IP or domain at 'Helo' restrictions
\ James D. Parra (8 Apr 2008)
. \ Noel Jones (8 Apr 2008)
. \ James D. Parra (8 Apr 2008)
. . \ mouss (8 Apr 2008)
. . \ Noel Jones (8 Apr 2008)
. . \ Bill Cole (9 Apr 2008)

10 msgBackscatter problem with Outlook Express and En...
1 msgProblem with spammers
2 msgsmtpd process
18 msgSELinux and postfix
5 msgFake address and spam return
8 msgLDAP lookup error - dict_ldap_lookup: Search er...
2 msgDelivery failure problems
6 msgRe: Greylisting Query
2 msghow i can do this?
5 msgisp authentication problem continued
11 msgProblems with large queues after upgrade
7 msgcheck_reverse_client_hostname_access ?
2 msgFiltering mails
2 msgVirtual mailboxes and MySQL
9 msgMailbombing episode III
2 msgDeny sending _from_ local recipients without auth
Subject:Re: whitelist an IP or domain at 'Helo' restrictions
Group:Postfix-users
From:Noel Jones
Date:8 Apr 2008


James D. Parra wrote:
> Hello,
>
> How can I whitelist a domain or IP address that is being rejected at the
> Helo command?
>
> From the log;
> <snip>
> Apr 8 14:07:17 postfix postfix/smtpd[23973]: NOQUEUE: reject: RCPT from
> intentweb1.emsystem.co.uk[212.49.203.243]: 504 <intentweb1>: Helo command
> rejected: need fully-qualified hostname;
> from=<www-data> to=<user@example> proto=ESMTP
> helo=<intentweb1>
> <snip>
>
> I have the following in my main.cf
>
> <snip>
> smtpd_helo_restrictions = reject_non_fqdn_hostname,
> reject_invalid_hostname, permit
> <snip>
>
> Thank you in advance,
>
> James

Whitelist the client before the check that would otherwise
reject them.

In this case:
# main.cf
smtpd_helo_restrictions =
check_client_access hash:/etc/postfix/client_whitelist
reject_non_fqdn_hostname
reject_invalid_hostname

# client_whitelist
212.49.203.243 OK

Be sure to "postmap client_whitelist" after editing the
whitelist file, and run "postfix reload" after editing main.cf.

Note this client might be rejected by rules you have in smtpd
sender or recipient restrictions. You may need to put the
same whitelist in those restriction lists also.

If you need further help, please post current log entries and
output of "postconf -n"


--
Noel Jones


© 2004-2010 readlist.com