Results 1 to 6 of 6

Thread: HELO hostname

Hybrid View

  1. #1
    Join Date
    Apr 2008
    Posts
    47
    Rep Power
    7

    Exclamation HELO hostname

    Hi

    We have the problem that our zimbra mailserver installation outputs the following message:

    HELO hostname

    This is rejected by some other servers due to the fact that they cannot resolve hostname.

    How can I change this to:

    HELO mymailserverdomain.com

    Thanks.

  2. #2
    Join Date
    Oct 2007
    Posts
    12
    Rep Power
    8

    Default

    Quote Originally Posted by tkramis View Post
    Hi

    We have the problem that our zimbra mailserver installation outputs the following message:

    HELO hostname

    This is rejected by some other servers due to the fact that they cannot resolve hostname.

    How can I change this to:

    HELO mymailserverdomain.com

    Thanks.
    So, one way to solve this is to whitelist the "hostname" server in your other hosts. Assuming the "hostname" box actually HAS a FQDN in DNS, then you should be able to get it with the "hostname" command.

    To make sure postfix is using it, try:
    [zimbra@schnell ~]$ postconf | grep myhostname

    typically, postfix uses that hostname to send HELO messages.

    Dan

  3. #3
    Join Date
    Jul 2007
    Location
    Baltimore
    Posts
    1,649
    Rep Power
    11

    Default

    and that can be set in /etc/hostname

  4. #4
    Join Date
    Apr 2008
    Posts
    47
    Rep Power
    7

    Default Hostname Followup

    Ok, what I did was to check wether the /etc/hostname file is available at all (on Mac OS 10.5), but it isn't.

    Secondly I checked that hostname command returns the correct FQDN which it does, thaen I went for postconf | grep myhostname

    and I do get this:

    lmtp_lhlo_name = $myhostname
    local_transport = local:$myhostname
    milter_macro_daemon_name = $myhostname
    myhostname = collaboration.somedomain.com (changed domain name!)
    myorigin = $myhostname
    smtp_helo_name = $myhostname
    smtpd_banner = $myhostname ESMTP $mail_name
    smtpd_proxy_ehlo = $myhostname

    the myhostname has the correct FQDN written. but still I get

    HELO hostname

    and not

    HELO collaboration.somedomain.com

    What is going wrong here?

  5. #5
    Join Date
    Nov 2008
    Posts
    28
    Rep Power
    7

    Default

    Just to aid future searchers...

    To change the name used when zimbra sends HELO to a remote system do

    postconf -e smtp_helo_name = 'collaboration.somedomain.com'

    To change the name used to greet remote systems (i.e., when you telnet to port 25 on the zimbra server), do this:

    postconf -e smtpd_banner = '$smtp_helo_name ESMTP $mail_name'

    I have it greet with whatever name it's going to use when sending out mail.

    In both cases in order to make the change permanent across upgrades the wiki says to do

    zmlocalconfig -e postfix_smtp_helo_name = 'collaboration.somedomain.com'
    zmlocalconfig -e postfix_smtpd_banner = '$smtp_helo_name ESMTP $mail_name'

  6. #6
    Join Date
    Nov 2008
    Location
    Grand Rapids, MI
    Posts
    123
    Rep Power
    7

    Default

    I know I'm bumping an ancient thread, but since this is getting found in Google searches, I just wanted to point out that you can NOT set these items via zmlocalconfig. Those keys don't exist in zmlocalconfig (at least as of ZCS 8.0.2). If https://bugzilla.zimbra.com/show_bug.cgi?id=80747 ever gets fixed, then they'll exist, but until then you have to use postconf and double-check them after every upgrade.

Similar Threads

  1. Zimbra Server very slow - Too many SMTP connections
    By pc-nico in forum Administrators
    Replies: 23
    Last Post: 06-05-2008, 06:12 AM
  2. Changing Your Hostname
    By manthrax3 in forum Administrators
    Replies: 2
    Last Post: 12-27-2007, 06:15 PM
  3. Change hostname and IP Address!
    By celeron in forum Administrators
    Replies: 6
    Last Post: 07-15-2007, 10:27 PM
  4. Web mail MTA Hostname
    By melody in forum Administrators
    Replies: 16
    Last Post: 04-19-2007, 11:11 AM
  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
  •