Results 1 to 3 of 3

Thread: Postfix config issue: Helo command rejected: need fully-qualified hostname

  1. #1
    Join Date
    May 2006
    Beans
    135

    Postfix config issue: Helo command rejected: need fully-qualified hostname

    Hello,

    I'm using postfix to send email, and on about 1% of messages (from a small group of domains), I am getting auto-responses like this one:

    From: Mail Delivery System <MAILER-DAEMON@mydomain.com>
    Subject: Undelivered Mail Returned to Sender
    To: undead0@mydomain.com
    Auto-Submitted: auto-replied

    [-- Attachment #1: Notification --]
    [-- Type: text/plain, Encoding: 7bit, Size: 0.5K --]

    This is the mail system at host undead0.

    I'm sorry to have to inform you that your message could not
    be delivered to one or more recipients. It's attached below.

    For further assistance, please send mail to postmaster.

    If you do so, please include this problem report. You can
    delete your own text from the attached returned message.

    The mail system

    <recipient@otherdomain.org>: host smtp.cybergnostic.com[63.76.208.166] said: 504 5.5.2
    <undead0>: Helo command rejected: need fully-qualified hostname (in reply
    to RCPT TO command)

    [-- Attachment #2: Delivery report --]
    [-- Type: message/delivery-status, Encoding: 7bit, Size: 0.4K --]

    Reporting-MTA: dns; undead0
    X-Postfix-Queue-ID: 585C39FF5D
    X-Postfix-Sender: rfc822; undead0@mydomain.com
    Arrival-Date: Fri, 5 Dec 2008 14:33:41 -0500 (EST)

    Final-Recipient: rfc822; recipient@otherdomain.org
    Action: failed
    Status: 5.5.2
    Remote-MTA: dns; smtp.cybergnostic.com
    Diagnostic-Code: smtp; 504 5.5.2 <undead0>: Helo command rejected: need
    fully-qualified hostname

    [-- Attachment #3: Undelivered Message --]
    [-- Type: message/rfc822, Encoding: 7bit, Size: 2.3K --]
    In /etc/postfix/main.cf, I've got (among other things):
    Code:
    mydomain = mydomain.com
    myhostname = undead0
    alias_maps = hash:/etc/aliases
    alias_database = hash:/etc/aliases
    myorigin = /etc/mailname
    mydestination = $mydomain, $myhostname, localhost.localdomain, localhost
    relayhost =
    mynetworks = 127.0.0.0/8
    mailbox_size_limit = 0
    recipient_delimiter = +
    inet_interfaces = all
    The first line of my /etc/hosts file is:
    Code:
    127.0.0.1       localhost       undead0         undead0.mydomain.com
    Mail admin isn't really my bag, so any help would be appreciated.

    Thanks!

  2. #2
    Join Date
    Oct 2008
    Location
    Stuttgart, Germany
    Beans
    441
    Distro
    Ubuntu Development Release

    Re: Postfix config issue: Helo command rejected: need fully-qualified hostname

    myhostname (default: see "postconf -d" output) The internet hostname of this mail system. The default is to use the fully-qualified domain name from gethostname(). $myhostname is used as a default value for many other configuration parameters.
    Example:
    myhostname = host.domain.tld
    myhostname should be fully qualified. see http://www.postfix.org/postconf.5.html


  3. #3
    Join Date
    May 2006
    Beans
    135

    Re: Postfix config issue: Helo command rejected: need fully-qualified hostname

    Thanks, this seems to have solved my problem. And now I have a useful link should any other postfix issues arise.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •