Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-13-2008, 06:44 AM
Active Member
 
Posts: 47
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.
Reply With Quote
  #2 (permalink)  
Old 06-13-2008, 01:18 PM
Member
 
Posts: 11
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
Reply With Quote
  #3 (permalink)  
Old 06-13-2008, 01:24 PM
Moderator
 
Posts: 1,554
Default

and that can be set in /etc/hostname
Reply With Quote
  #4 (permalink)  
Old 06-14-2008, 01:18 AM
Active Member
 
Posts: 47
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?
Reply With Quote
  #5 (permalink)  
Old 01-03-2009, 09:12 AM
jrv jrv is offline
Intermediate Member
 
Posts: 20
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'
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.