Mail can't be delivered

Discussion in 'Installation/Configuration' started by sulfuric, Feb 2, 2006.

  1. falko

    falko Super Moderator ISPConfig Developer

  2. sulfuric

    sulfuric ISPConfig Developer ISPConfig Developer

    yes ok I created 6 mail conunts via this method by is not created
     
  3. sulfuric

    sulfuric ISPConfig Developer ISPConfig Developer

    I can entry in webmail, and send mails but no receive, outlook works perfect but.... I can't recive
     
  4. falko

    falko Super Moderator ISPConfig Developer

    What's in /etc/postfix/local-host-names and /etc/postfix/virtusertable?

    Also, did you change something in the ISPConfig database manually?
     
  5. sulfuric

    sulfuric ISPConfig Developer ISPConfig Developer

    Solved !!!

    In instalation in this pass

    Please enter the host name (e.g. www):
    Please enter the domain (e.g. xyz.de):

    I didn't enter host name. ISPconfig worked perfect www smtp etc.... , but couldn't create mails on /etc/postfix/virtusertable and hosts on /etc/postfix/local-host-names

    Now i reistall ispconfig

    Please enter the host name (e.g. www):myservername
    Please enter the domain (e.g. xyz.de):mydomind.com

    Now ispconfig can create host and mailsss in /etc/postfix/local-host-names and /etc/postfix/virtusertable I will go to if mails can be delivered but i want to propagation of dns :(
     
  6. Thunderbirdsei

    Thunderbirdsei New Member


    Actually I have the same problem. I can send e-mails via Webmail but I can't receive any.

    During the installation I did enter:

    Code:
    Please enter the host name (e.g. www):www
    Please enter the domain (e.g. xyz.de):IP-Adress
    Is that the problem? Is the only solution a reinstall?


    In my /etc/postfix/virtusertable is the following code listed

    Code:
    ###################################
    #
    # ISPConfig virtusertable Configuration File
    #         Version 1.0
    #
    ###################################
    
    #### MAKE MANUAL ENTRIES BELOW THIS LINE! ####
     
    Last edited: Nov 1, 2006
  7. till

    till Super Moderator Staff Member ISPConfig Developer

    This wont work because e.g. "www.192.168.0.1" is not a valid URL.

    You can correct the URL setting in the config file /home/admispconfig/ispconfig/lib/config.inc.php
    But this is not related to your email problem.


    This is OK so far.

    Your problem is DNS related. You have a valid MX record for dns-registry.ch to mail.dns-registry.ch. That is OK. But you dont have an A record for mail.dns-registry.ch that points to the IP of your server.
     
  8. Thunderbirdsei

    Thunderbirdsei New Member

    Code:
    /**********************************************
    * System Settings
    **********************************************/
    
    $go_info["server"]["dir_trenner"] = "/";
    $go_info["server"]["server_root"] = "/home/admispconfig/ispconfig";
    $go_info["server"]["server_url"] = "
    $go_info["server"]["include_root"] = $go_info["server"]["server_root"] . $go_info["server"]["dir_trenner"] ."lib";
    $go_info["server"]["classes_root"] = $go_info["server"]["include_root"] . $go_info["server"]["dir_trenner"] ."classes";
    $go_info["server"]["temp_dir"] = $go_info["server"]["server_root"] . $go_info["server"]["dir_trenner"] ."temp";
    $go_info["server"]["files_dir"] = $go_info["server"]["server_root"] . $go_info["server"]["dir_trenner"] ."files";
    $go_info["server"]["backup_dir"] = $go_info["server"]["server_root"] . $go_info["server"]["dir_trenner"] ."backup";
    $go_info["server"]["version"] = "2.1.2";
    $go_info["server"]["os"] = "linux";
    $go_info["server"]["ort"] = "local";
    $go_info["server"]["banner"] = "0";
    $go_info["server"]["db_host"] = "localhost";
    $go_info["server"]["db_name"] = "db_ispconfig";
    $go_info["server"]["db_user"] = "xxxxxx";
    $go_info["server"]["db_password"] = "xxxxxxx";
    $go_info["server"]["db_type"] = "mysql";
    $go_info["server"]["mail_server"] = "";
    $go_info["server"]["mail_user"] = "";
    $go_info["server"]["mail_password"] = "";
    $go_info["server"]["smtp_server"] = "localhost";
    $go_info["server"]["mode"] = "";
    $go_info["server"]["lang"] = "de";
    
    $go_info["server"]["postfix_config"] = 1; // 1 = SENDMAIL-STYLE, 2 = POSTFIX-STYLE
    $go_info["server"]["smtp_restart"] = 1; // 1 = stop/start, 2 = restart
    $go_info["server"]["network_config"] = 0; // 0 = none, 1 = automatic
    Ok, I have corrected the server-URL. Are the mail settings correct (no password, no user)?

    Are the setting in the pic ok?
     
    Last edited: Nov 1, 2006
  9. till

    till Super Moderator Staff Member ISPConfig Developer

    Your config file is OK.

    In your screenshot, the hostname for your mail.dns-registry.ch A-Record must be "mail", not "mail.dns-registry.ch".

    The settings in your screenshot result in the domain:

    mail.dns-registry.ch.dns-registry.ch => 84.72.175.124
     
  10. Thunderbirdsei

    Thunderbirdsei New Member

    :D Thanks!

    Now I receive the following:
     
    Last edited: Nov 1, 2006
  11. till

    till Super Moderator Staff Member ISPConfig Developer

    I recomment to create another DNS A-record "server1" for dns-registry.ch pointing to your IP and then name your server "server1.dns-registry.ch".
     
  12. Thunderbirdsei

    Thunderbirdsei New Member

    Ok, now it looks like this:
     
    Last edited: Nov 1, 2006
  13. falko

    falko Super Moderator ISPConfig Developer

    Please put 84-72-175-124.dclient.hispeed.ch into /etc/postfix/local-host-names (at the end where it says that you can make manual additions there) and restart Postfix.
     
  14. Thunderbirdsei

    Thunderbirdsei New Member

    You've got it! Thank you so much!
     

Share This Page