possible bug? /etc/postfix/local-host-names not updating correctly

Discussion in 'Installation/Configuration' started by woleium, Feb 1, 2007.

  1. woleium

    woleium New Member

    Hola!

    most recent version of ispconfig Version: 2.2.9 on centos 4.4 2.6.9-42.0.2.ELsmp

    when setting domain's options->Mailserver from "local mailserver" to "external mailserver" the file /etc/postfix/local-host-names file changes from:
    Code:
    ###################################
    #
    # ISPConfig local-host-names Configuration File
    #         Version 1.0
    #
    ###################################
    localhost
    www.xxx
    localhost.xxx
    localhost.xxx
    localhost.localdomain
    www.test.com
    test.com
    #### MAKE MANUAL ENTRIES BELOW THIS LINE! ####
    
    to:
    Code:
    ###################################
    #
    # ISPConfig local-host-names Configuration File
    #         Version 1.0
    #
    ###################################
    localhost
    www.xxx
    localhost.xxx
    localhost.xxx
    localhost.localdomain
    test.com
    #### MAKE MANUAL ENTRIES BELOW THIS LINE! ####
    
    i.e. test.com remains in the local host names list & I can't send mail to the domain.

    If i remove it (test.com) by hand i can send mail to the domain without a problem, but when I modify another domain it comes back again.

    Where is the code that generates this list kept, or do you know why this is?
     
  2. till

    till Super Moderator

    This is no bug at all. You just forgot to set the co-domain test.com to external mailserver too.
     
  3. woleium

    woleium New Member

    Aaah!

    My bad. :rolleyes:

    In my defense Co domains are kinda hidden away... or i'm just a bit of an idiot..

    Thanks till.
     
  4. till

    till Super Moderator

    This feature is a bit hidden in the co domain settings, you are not the first one who did see it in the first moment :)
     

Share This Page