Results 1 to 10 of 31

Thread: FQ Hostname Not Set

Hybrid View

  1. #1
    Join Date
    Apr 2007
    Location
    Ann Arbor, MI
    Posts
    108
    Rep Power
    8

    Question FQ Hostname Not Set

    We've been running our new Zimbra system for a few days and things seem OK. However, I got a returned email today with this error message:

    The Postfix program

    ... host mxi2s.craigslist.org[66.150.243.2] said:
    504 : Helo command rejected: need fully-qualified hostname (in
    reply to RCPT TO command)

    If I look in /opt/zimbra/conf and look at main.cf, indeed

    myhostname = mail-01

    Where is this being set from? Shouldn't the domain name be appended to mail-01 at this point? In the admin GUI, my Service host name is mail-01.

    Our email is getting through, but maybe few are checking for the FQ hostname. Even though, I'd like it to be set correctly.

    Thx in advance!

  2. #2
    Join Date
    Oct 2005
    Location
    Thatcher, AZ
    Posts
    5,606
    Rep Power
    21

    Default

    Try
    Code:
    su - zimbra
    postconf -e myhostname=mail.domain.com
    Also, make sure your hostnames are correct in zmlocalconfig.

    Goodluck,
    john

  3. #3
    Join Date
    Apr 2007
    Location
    Ann Arbor, MI
    Posts
    108
    Rep Power
    8

    Red face

    Thanks for the quick reply. I looked in zmlocalconfig and don't see any reference to a hostname. Should there be?

    Do I need to restart after making the postfix config change? Is there anywhere else I need to check?

    Thx again!

  4. #4
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,587
    Rep Power
    58

    Default

    List them with 'zmlocalconfig | grep host' you should have an entry for:
    Code:
    zimbra_server_hostname = FQDN_of_your_host
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  5. #5
    Join Date
    Apr 2007
    Location
    Ann Arbor, MI
    Posts
    108
    Rep Power
    8

    Question

    Thanks for the reply. The hostname I get from that command is:

    zimbra_server_hostname = mail-01

    Which is correct, it's the server's hostname. Does it have to match the myhostname in postfix? In past postfix setups I have had the server's name and the postfix hostname (resolvable MX record name) be different. Do I need to make them the same in Zimbra?

    Thx!

  6. #6
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,587
    Rep Power
    58

    Default

    No, that isn't correct. It should be the FQDN (Fully Qualified Domain Name) of your server i.e. mail-01.yourdomain.com

    What's in your hosts file and are ther DNS A & MX records set? You can check with the following (run on the zimbra server):

    Code:
    host `hostname`  <-- backticks not single quotes
    dig yourdomain.com any
    dig yourdomain.com mx
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  7. #7
    Join Date
    Sep 2011
    Posts
    4
    Rep Power
    4

    Default

    Quote Originally Posted by jholder View Post
    Try
    Code:
    su - zimbra
    postconf -e myhostname=mail.domain.com
    Also, make sure your hostnames are correct in zmlocalconfig.

    Goodluck,
    john
    An actually useful response, that does not just tell me to go read some unrelated doc! thanks jholder for just answering the question being asked with a concise answer.

  8. #8
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,587
    Rep Power
    58

    Default

    Quote Originally Posted by arinath View Post
    An actually useful response, that does not just tell me to go read some unrelated doc! thanks jholder for just answering the question being asked with a concise answer.
    Yes, a useful response but that wasn't the cause of his problem. Is there some particular reason you're posting to old (and very old) threads or is this some new autumn sport?
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

Similar Threads

  1. Changing Your Hostname
    By manthrax3 in forum Administrators
    Replies: 2
    Last Post: 12-27-2007, 06:15 PM
  2. Update Received Date in Folder-Listing
    By Oswald-Kolle in forum Installation
    Replies: 25
    Last Post: 08-21-2007, 05:21 PM
  3. Web mail MTA Hostname
    By melody in forum Administrators
    Replies: 16
    Last Post: 04-19-2007, 11:11 AM
  4. One domain set up in two different locations
    By sunshineknox in forum Administrators
    Replies: 1
    Last Post: 04-04-2007, 09:13 PM
  5. Installation Cancelled - Zimbra-spell !
    By Ledg in forum Installation
    Replies: 4
    Last Post: 10-19-2006, 03:54 AM

Posting Permissions

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