postfix Helo command rejected: need fully-qualified hostname

Discussion in 'Server Operation' started by gabriele, May 10, 2006.

  1. gabriele

    gabriele New Member

    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=<[email protected]>, 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=<[email protected]>, 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=<[email protected]>, 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))
     
    Last edited: May 10, 2006
  2. falko

    falko Super Moderator Howtoforge Staff

    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
    Code:
    hostname -f
    ?
     
  3. gabriele

    gabriele New Member

    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 ?
     
  4. falko

    falko Super Moderator Howtoforge Staff

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

    gabriele New Member

    thanks i will see how it goes !
     
    Last edited: May 11, 2006

Share This Page