Results 1 to 6 of 6

Thread: /etc/hosts file in openSUSE

  1. #1
    easgs is offline New Member
    Join Date
    Mar 2010
    Posts
    3
    Rep Power
    5

    Default /etc/hosts file in openSUSE

    I have a few questions about /etc/hosts file in openSUSE and zimbra requirements

    the default in opensuse is

    127.0.0.1 localhost
    192.168.1.11 server03.sienic.site server03

    the zibra requirements is

    127.0.0.1 localhost.localdomain localhost
    192.168.1.11 server03.sienic.site server03

    the question is can I use the form

    127.0.0.1 localhost
    192.168.1.11 server03.sienic.site server03
    127.0.0.2 server03.sienic.site server03

    which is automatically setup by yast selecting the option yast-network settings - host/DNS - Assign Hostname to Loopback IP


    the other question is, in dns the mx record is mail.sienic.site with A record mail 192.168.1.11, but in the hosts file opensuse setup the real hostname of the server in the hosts file as follow:

    127.0.0.1 localhost
    192.168.1.11 server03.sienic.site server03

    instead of

    127.0.0.1 localhost
    192.168.1.11 mail.sienic.site mail

    in this scenario what would be the correct form of the hosts file?
    Last edited by easgs; 09-15-2013 at 10:54 AM. Reason: description

  2. #2
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,491
    Rep Power
    56

    Default

    The problem with your question is that OpenSUSE is not a supported platform for Zimbra, you'd be far better installing it on a supported platform - you'll have far less problems and a better experience of Zimbra.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    easgs is offline New Member
    Join Date
    Mar 2010
    Posts
    3
    Rep Power
    5

    Default

    thanks for the quick respond, lets say it was SUSE Linux enterprise server 11, (the hosts file and configuration is exactly the same)

    https://www.suse.com/documentation/s...netz.etc.hosts

  4. #4
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,491
    Rep Power
    56

    Default

    Quote Originally Posted by easgs View Post
    thanks for the quick respond, lets say it was SUSE Linux enterprise server 11, (the hosts file and configuration is exactly the same)
    Well, again the problem is it isn't SLES - you may get ZCS working in that environment or you may not. If you install on openSUSE you will get no support, you won't be able to report bugs nor get them fixed and you're effectively on your own. openSUSE is a consumer grade operating system and while it's very good (I use it as my primary desktop environment) it isn't really a suitable platform for a mail server, why not use the correct distribution for ZCS? You should really search the forums and wiki for answers to questions like this, take a look at some of these threads.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  5. #5
    easgs is offline New Member
    Join Date
    Mar 2010
    Posts
    3
    Rep Power
    5

    Default

    Lets forget the operating system the question is as follow

    in dns the mx record is mail.sienic.site with A record mail 192.168.1.11, but real hostname of the server is server03, not mail, so it would be in the hosts file

    127.0.0.1 localhost.localdomain localhost
    192.168.1.11 server03.sienic.site server03

    instead of

    127.0.0.1 localhost.localdomain localhost
    192.168.1.11 mail.sienic.site mail

    in this scenario what would be the correct form of the /etc/hosts file?, if I use the second one, doesn't it breaks something else, since mail is not the real hostname of the server (it is server03 instead of mail)?


    thanks

  6. #6
    vavai's Avatar
    vavai is offline Special Member
    Join Date
    May 2007
    Location
    Indonesia
    Posts
    149
    Rep Power
    8

    Default

    Hi,

    Quote Originally Posted by easgs View Post
    Lets forget the operating system the question is as follow

    in dns the mx record is mail.sienic.site with A record mail 192.168.1.11, but real hostname of the server is server03, not mail, so it would be in the hosts file

    127.0.0.1 localhost.localdomain localhost
    192.168.1.11 server03.sienic.site server03

    instead of

    127.0.0.1 localhost.localdomain localhost
    192.168.1.11 mail.sienic.site mail

    in this scenario what would be the correct form of the /etc/hosts file?, if I use the second one, doesn't it breaks something else, since mail is not the real hostname of the server (it is server03 instead of mail)?


    thanks
    You can use SLES 11 SP2 or SP3 64 bit as it is a supported platform for Zimbra.

    for /etc/hosts, simply use the following setting :
    Code:
    127.0.0.1 localhost
    192.168.1.11 server03.sienic.site server03
    Don't use mail on /etc/hosts, because your server hostname is server03. IMHO, mail is more nicer hostname for mail server than server03 instead :-)
    Best Regards
    ---
    Masim "Vavai" Sugianto
    Zimbra Tutorial
    Personal Blog [ID]

    Release 8.0.6_GA_5922.SLES11_64_20131203103702 SLES11_64 FOSS edition.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] host file problem
    By mr.interested in forum Installation
    Replies: 13
    Last Post: 01-31-2011, 07:44 AM
  2. How to fix /etc/host file?
    By mdcrhodz in forum Installation
    Replies: 2
    Last Post: 05-25-2010, 03:24 AM
  3. Adding openSUSE 10.3 to file get_plat_tag.sh
    By bigmudcake in forum Developers
    Replies: 3
    Last Post: 10-16-2007, 08:25 PM
  4. Error Host file
    By grumpybug in forum Installation
    Replies: 2
    Last Post: 07-13-2007, 05:28 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
  •