1 (edited by deknoy 2016-06-17 18:21:34)

Topic: change hostname

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.5-1
- Linux/BSD distribution name and version: Centos 6.5
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): PGSQL
- Web server (Apache or Nginx): Apache
- Manage mail accounts with iRedAdmin-Pro? Yes
- Related log if you're reporting an issue:
====
I need to change hostname on my server from mazmail.mv.com to mail.maz.com. if I use CI "hostname -f" system show "mail.maz.com" but during test spamassasin once I got return email. I still found mazmail.mv.com. How can I change it. Please see return below. if you need more info please let me know.

Return-Path: <jub@mv.com>
Delivered-To: kay@gmail.com
Received: from mazmail.mv.com (mail.maz.com [127.0.0.1])
    by mazmail.mv.com (Postfix) with ESMTP id 578DB1E0443
    for <kay@gmail.com>; Fri, 17 Jun 2016 16:56:17 +0700 (ICT)
Authentication-Results: mazmail.mvcoms.com (amavisd-new); dkim=pass
    reason="pass (just generated, assumed good)" header.d=mv.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mv.com; h=
    user-agent:message-id:subject:subject:to:from:from:date:date
    :content-transfer-encoding:content-type:content-type
    :mime-version; s=dkim; t=1466157377; x=1467021378; bh=g3zLYH4xKx
    cPrHOD18z9YfpQcnk/GaJedfustWU5uGs=; b=n8ZM8Iouj7NZrkiYbhTJk7qZss
    e/eBaNIt0eWjUtZt1GMLr8wdv60NLfQFUEH1qRibDTu+MCVTGvD4df3mFpQUy46q
    rp1NkBSIxrK4RJFjS4g1XFITnXh9x7yMo+pR3UNLz5r+CI5yk9z3DO28OYRsZBUc
    TXTqMRQjhfmbzIOq0=
X-Virus-Scanned: amavisd-new at mazmail.mv.com
Received: from mazmail.mv.com ([127.0.0.1])
    by mazmail.mv.com (mazmail.mv.com [127.0.0.1]) (amavisd-new, port 10026)
    with ESMTP id OVJEFwYll-_S for <kay@gmail.com>;
    Fri, 17 Jun 2016 16:56:17 +0700 (ICT)
Received: from X.X.X.X (mail.maz.com [127.0.0.1])
    by maz.mvcoms.com (Postfix) with ESMTPSA id EDE641E0390
    for <kay@gmail.com>; Fri, 17 Jun 2016 16:56:16 +0700 (ICT)
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII;
    format=flowed
Content-Transfer-Encoding: 7bit
Date: Fri, 17 Jun 2016 16:56:16 +0700
From: jub@mvcoms.com
To: kay@gmail.com
Subject: jubtest
Message-ID: <fb6417347cc8cc4dee187c14e3c36483@old.com>
X-Sender: jub@mv.com
User-Agent: Roundcube Webmail

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: change hostname

We have a tutorial for you:
http://www.iredmail.org/docs/change.ser … tname.html

3

Re: change hostname

ZhangHuangbin wrote:

We have a tutorial for you:
http://www.iredmail.org/docs/change.ser … tname.html

Thank you. smile