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

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 04-22-2009, 12:30 PM
Elite Member
 
Posts: 285
Default Remove Old Hostname

Hi,

I changed the hostname of a Zimbra server but in the header of the mail there is:
X-Virus-Scanned: amavisd-new at old.host.com

How can I change this so I can delete the old.host.com dns record?
Reply With Quote
  #2 (permalink)  
Old 04-22-2009, 01:37 PM
Moderator
 
Posts: 7,928
Default

Well does
Code:
su - zimbra
zmhostname
match what you are seeing in the headers ?
__________________
Reply With Quote
  #3 (permalink)  
Old 04-22-2009, 01:46 PM
Elite Member
 
Posts: 285
Default

Quote:
Originally Posted by uxbod View Post
Well does
Code:
su - zimbra
zmhostname
match what you are seeing in the headers ?
No. This shows the new hostname.

In this file there's the old name:
/opt/zimbra/conf/amavisd.conf

However, after changing and restarting with 'zmamavisdctl restart' the old name is back?
Reply With Quote
  #4 (permalink)  
Old 04-22-2009, 01:49 PM
Moderator
 
Posts: 7,928
Default

Are you able to perform a full ZCS stop/start ?
__________________
Reply With Quote
  #5 (permalink)  
Old 04-22-2009, 01:55 PM
Elite Member
 
Posts: 285
Default

Quote:
Originally Posted by uxbod View Post
Are you able to perform a full ZCS stop/start ?
Still the same.
Reply With Quote
  #6 (permalink)  
Old 04-22-2009, 01:59 PM
Moderator
 
Posts: 7,928
Default

Code:
su - zimbra
zmlocalconfig | grep {old name}
Any reference ?
__________________
Reply With Quote
  #7 (permalink)  
Old 04-22-2009, 02:03 PM
Elite Member
 
Posts: 285
Default

Quote:
Originally Posted by uxbod View Post
Code:
su - zimbra
zmlocalconfig | grep {old name}
Any reference ?
av_notify_domain = old.domain.com
av_notify_user = admin@old.domain.com

Where can I change this?
Reply With Quote
  #8 (permalink)  
Old 04-22-2009, 02:30 PM
Moderator
 
Posts: 7,928
Default

Code:
zmlocalconfig av_notify_domain={new domain}
etc
__________________
Reply With Quote
  #9 (permalink)  
Old 04-22-2009, 02:36 PM
Elite Member
 
Posts: 285
Default

Doesn't work that way:

Warning: null valued key 'av_notify_domain={new.domain.com}'
Warning: null valued key 'av_notify_user={webmaster@new.domain.com}'
Reply With Quote
  #10 (permalink)  
Old 04-22-2009, 02:49 PM
Elite Member
 
Posts: 285
Default

FIXED:

$ zmlocalconfig --path
/opt/zimbra/conf/localconfig.xml
$ vi /opt/zimbra/conf/localconfig.xml

Thanks for any help. Zimbra is all new to me.
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.