Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Remove Old Hostname

  1. #1
    Join Date
    Apr 2009
    Posts
    304
    Rep Power
    6

    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?

  2. #2
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

    Default

    Well does
    Code:
    su - zimbra
    zmhostname
    match what you are seeing in the headers ?

  3. #3
    Join Date
    Apr 2009
    Posts
    304
    Rep Power
    6

    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?

  4. #4
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

    Default

    Are you able to perform a full ZCS stop/start ?

  5. #5
    Join Date
    Apr 2009
    Posts
    304
    Rep Power
    6

    Default

    Quote Originally Posted by uxbod View Post
    Are you able to perform a full ZCS stop/start ?
    Still the same.

  6. #6
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

    Default

    Code:
    su - zimbra
    zmlocalconfig | grep {old name}
    Any reference ?

  7. #7
    Join Date
    Apr 2009
    Posts
    304
    Rep Power
    6

    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?

  8. #8
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

    Default

    Code:
    zmlocalconfig av_notify_domain={new domain}
    etc

  9. #9
    Join Date
    Apr 2009
    Posts
    304
    Rep Power
    6

    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}'

  10. #10
    Join Date
    Apr 2009
    Posts
    304
    Rep Power
    6

    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.

Similar Threads

  1. Remove hostname from sending address cron
    By bert_w in forum Administrators
    Replies: 0
    Last Post: 12-19-2008, 04:46 AM
  2. Zimbra Server very slow - Too many SMTP connections
    By pc-nico in forum Administrators
    Replies: 23
    Last Post: 06-05-2008, 05:12 AM
  3. Installation Cancelled - Zimbra-spell !
    By Ledg in forum Installation
    Replies: 4
    Last Post: 10-19-2006, 02: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
  •