When new domain added, ./postfix/local-host-names & ./postifx/virtusertable erased!

Discussion in 'Server Operation' started by bpmee, Mar 1, 2008.

  1. bpmee

    bpmee Member

    Hi All,

    I'm using ISPconfig-Dev 2.3.1 on Fedora Core 5 (production server)

    :) Yes, I know Dev should not be used on production server, but everything seems to run just fine, except for this minor error:

    1) I have configured the server so that www.domain1.com appears in the local-host-names file, so I can recieve mail (note, I added the entry "domain1.com" to www.domain1.com's ISPconfig "co-domain" section, without the WWW for mail purposes:

    Code:
    ###################################
    #
    # ISPConfig local-host-names Configuration File
    #         Version 1.0
    #
    ###################################
    localhost
    bmwz4.SERVER.com
    localhost.SNAKE.SERVER.com
    localhost.SERVER.com
    domain1.com
    #### MAKE MANUAL ENTRIES BELOW THIS LINE! ####
    
    
    
    I also have the following virtusertable entries as a result:

    Code:
    ###################################
    #
    # ISPConfig virtusertable Configuration File
    #         Version 1.0
    #
    ###################################
    [email protected]    web2_domain1com 
    web2_domain1com @domain1.com     web2_domain1com 
    @domain1.com     web2_domain1com 
    admin@    web2_domain1com 
    web2_domain1com @    web2_domain1com 
    @    web2_domain1com 
    [email protected]     web2_brendandomain1com 
    web2_brendandomain1com @domain1.com     web2_brendandomain1com 
    brendan@    web2_brendandomain1com 
    web2_brendandomain1com @    web2_brendandomain1com 
    #### MAKE MANUAL ENTRIES BELOW THIS LINE! ####
    
    *** Setting in ISPConfig management for this domain's email server is of course "localserver"

    2) Now, suppose I want to add www.domain2.com...

    When I add this domain via Remoting, my /etc/postfix/virtusertable and /etc/postfix/local-host-names are reset, meaning all the info I had before above is gone and replaced with the new domain's information.

    Also, the setting for mail server for www.domain1.com is changed to "externalserver"

    Why do my ./virtusertable and ./local-host-names get reset/erased when I add a new domain?

    Not an urgent problem, but just wondering for future use and ease....

    Thanks!:cool:
     

Share This Page