PDA

View Full Version : postfix Helo command rejected: need fully-qualified hostname


gabriele
10th May 2006, 01:41
Hi!
I have a debian sarge 3.1 2.6 stable and postfix as MTA.I keep on getting this warnings from postfix of a mail sent last week.what shall i do ???
thanks !

Security Events
=-=-=-=-=-=-=-=
May 9 22:23:01 mail postfix/smtp[11542]: E97BA9A855: to=<majordomo@seul.org>, relay=moria.seul.org[18.244.0.188], delay=421624, status=SOFTBOUNCE (host moria.seul.org[18.244.0.188] said: 550 <mail>: Helo command rejected: need fully-qualified hostname (in reply to RCPT TO command))
May 9 22:23:01 mail postfix/smtp[11554]: A67799A84E: to=<majordomo@seul.org>, relay=moria.seul.org[18.244.0.188], delay=421719, status=SOFTBOUNCE (host moria.seul.org[18.244.0.188] said: 550 <mail>: Helo command rejected: need fully-qualified hostname (in reply to RCPT TO command))
May 9 22:39:41 mail postfix/smtp[11582]: 586819A8DF: to=<tor-ops@freehaven.net>, relay=moria.seul.org[18.244.0.188], delay=309590, status=SOFTBOUNCE (host moria.seul.org[18.244.0.188] said: 550 <mail>: Helo command rejected: need fully-qualified hostname (in reply to RCPT TO command))

falko
10th May 2006, 16:39
What's the sender's email address? Does it have a FQDN on the right side?
What's the value of myhostname in /etc/postfix/main.cf?
What's the output of hostname -f?

gabriele
10th May 2006, 17:40
What's the sender's email address? Does it have a FQDN on the right side?
What's the value of myhostname in /etc/postfix/main.cf?
What's the output of hostname -f?
root@mail:~# postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
config_directory = /etc/postfix
delay_warning_time = 4h
home_mailbox = Maildir/
inet_interfaces = all
mailbox_size_limit = 0
message_size_limit = 0
mydestination = gabrix.ath.cx, mail.gabrix.ath.cx, localhost.gabrix.ath.cx, localhost
mydomain = gabrix.ath.cx
myhostname = mail
mynetworks = 192.168.1.1,192.168.0.0/16,192.168.1.0/24,127.0.0.0/8
myorigin = $mydomain
recipient_delimiter = +
relayhost =
smtpd_banner = $myhostname ESMTP $mail_name
soft_bounce = yes

root@mail:~# hostname -f
mail.gabrix.ath.cx

root@mail:~# hostname
mail

The mailname is gabrix.ath.cx which goes behind the @ gabrix.ath.cx correct ?

falko
11th May 2006, 01:22
myhostname = mail

This isn't correct. Please run
postconf -e 'myhostname = mail.gabrix.ath.cx'
and restart Postfix.

gabriele
11th May 2006, 22:38
thanks i will see how it goes !