Please, help with mail

Discussion in 'Installation/Configuration' started by momo, Dec 20, 2005.

  1. momo

    momo New Member

    Hello,
    My problem:
    ISPconfig work well for several month with couple domains.
    But all domains users can receive emails
    user1@domain1.tld -> user1
    user1@domain2.tld -> user1
    user1@domainn.tld -> user1

    I read the manual about not to add the virtual host in postfix main.cf myhostname entry. But still can't understand what should I enter for
    myhostname and mydomain?
    For example I have: 10 domains ( domain1.tld domaind2.tld ... domain10.tld )
    I entered in myhostname = domain1.tld, but it's wrong ?
    Every domain has the virtual site for it.
    Please explain how to configure myhostname properly what emails would work onlu for domain users, not for all system uzers.

    Thank you for your time and help!

    P.S
    cat /etc/postfix/local-host-names
    ###################################
    #
    # ISPConfig local-host-names Configuration File
    # Version 1.0
    #
    ###################################
    localhost
    domain.tld ( changed to domain.tld )
    localhost.domain.tld
    localhost.tld
    other_domains.tld


    cat /etc/hosts
    127.0.0.1 localhost
    x.x.x.x domain1.tld domain1

    cat /etc/hostname
    domain1
     
    Last edited: Dec 20, 2005

Share This Page