New install Debian 9 with Ispconfig No Mail Send/receive

Discussion in 'Installation/Configuration' started by Robin.k, Dec 16, 2019.

  1. Robin.k

    Robin.k Member

    Hi,
    I have a fresh installed Debian 9 (Stretch) with ISPconfig 3.1.15P2.
    I have configured a website and some Emails
    My website is up, but my Emails don't receive or send Emails.

    When I use My old server Ubuntu with Ispconfig. Everything works perfect. Website and Emails.

    Where to start to solve this problem?

    Thanks
    Robin
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Take a look into the mail.log file to see which errors you get there when an email arrives.
     
  3. Robin.k

    Robin.k Member

    Hi,
    ISPconfig mail Log gives me the following output.

     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    The resolv.conf file should exist on any Linux system, maybe it was deleted by accident. Create a new file:

    /etc/resolv.conf

    with this content:

    Code:
    nameserver 8.8.8.8
    nameserver 8.8.4.4
     
  5. Robin.k

    Robin.k Member

    Hi,
    There was no file with the name "resolv.conf" but there was a shortcut with the name "resolv.conf" that pointed to /var/run/NetworkManager/resolv.conf but there was no "resolv.conf" file in this directory.
    I have renamed this shortcut, and put a new file with the name in resolv.conf in the directory /etc/ with the content
    nameserver 8.8.8.8
    nameserver 8.8.4.4
    Now is Email working again. But why was there a shortcut that pointed to /var/run/NetworkManager/resolv.conf. ?
     
  6. Steini86

    Steini86 Active Member

    Seems like you have installed the network manager package: https://wiki.debian.org/NetworkManager. Usually comes with a graphical user interface, have you installed something like that on your server? This can create some additional problems for a server (like https://unix.stackexchange.com/ques...solv-conf-deleted-on-every-reboot-why-or-what). Chances are high, that network won't work again after a reboot.
    Try to get rid of the network manager and use a static content. Your server most likely will not change networks, will it?
     
  7. Robin.k

    Robin.k Member

    Hi, thanks for the information. I have installed Debian 9 with package
    debian-9.5.0-amd64-netinst.iso. And after that installed it With Graphical user and Xfce. Because I could not change in Debian to static IP
    address I use the information from (https://www.howtoforge.com/tutorial/debian-minimal-server/) 6 Configure the Network. I installed Debian again and without (configure the Network) and after it ISPconfig. Now I have no problems with the Emails, except that I can't use static IP address. When I change in Debian to Static IP address, static Ip it is not working.
     
  8. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    I believe the problem comes from having the Graphical User Interface installed. That brings in Network Manager, which alters network settings on its own.
    Better would be to install the debian minimal server following the tutorial, and NOT install GUI. Then you have the usual server setup and ISPConfig and other server applications work as expected.
    If you now have not installed a GUI, then how have you done this:
    How have you determined it is not working?
     
  9. Robin.k

    Robin.k Member

    Hi, yes I installed Debian 9 with the graphical user interface, in the network setup I changed to static IP address and after I reboot the PC. In terminal "ifconfig" it shows me not the static address I fill in, but only the DCHP address before I installed the Static address. When I use the internet browser I also have no connection with interne anymore.
     
  10. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    If you insist on using your server with GUI, then set the network configuration to Manual and enter the network setting manually. That should solve this immediate problem, but other problems caused by the GUI may remain.
     

Share This Page