Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem with 504: Helo command rejected: need fully-qualified hostname

Status
Not open for further replies.

zivota

Technical User
Jan 24, 2005
8
CA
Hi there,

I have postfix-2.2.10_1,1 running on FreeBSD 6.0.
I am ising smtp_recipient_reestrictions in order to disallow connection from a bad guys.

Unfortunatelly from time to time I have a problem with mail bouncing from "official" mail server although it has FQDN. Here are few lines from my log file.

Nov 8 12:48:22 mail01 postfix/smtpd[22353]: connect from mail.xdomain.com[64.180.x.x]
Nov 8 12:48:23 mail01 postfix/smtpd[22353]: NOQUEUE: reject: RCPT from mail.xdomain.com[64.180.x.x]: 504 <mail>: Helo command rejected: need fully-qualified hostname; from=<fxxx@xdomain.com> to=<mxxx@triplex.ca> proto=ESMTP helo=<mail>
Nov 8 12:48:24 mail01 postfix/smtpd[22353]: disconnect from mail.xdomain.com[64.180.x.x]

smtpd_helo_required = yes
disable_vrfy_command = yes
smtpd_recipient_restrictions =
reject_unauth_pipelining,
reject_non_fqdn_sender,
reject_unknown_sender_domain,
reject_non_fqdn_recipient,
reject_unknown_recipient_domain,
permit_mynetworks,
permit_sasl_authenticated,
reject_unauth_destination,
check_recipient_access hash:/usr/local/etc/postfix/maps/roleaccount_exceptions.hash,
reject_non_fqdn_hostname,
reject_invalid_hostname,
check_helo_access hash:/usr/local/etc/postfix/maps/helo_checks.hash,
check_sender_mx_access cidr:/usr/local/etc/postfix/maps/bogus_mx.cidr,
check_sender_access hash:/usr/local/etc/postfix/maps/sender_access.hash,
reject_unverified_sender,
check_policy_service inet:127.0.0.1:10023,
permit



Thanks in advance!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top