Roundcube login failure

Discussion in 'Plugins/Modules/Addons' started by FredZ, Aug 4, 2019.

  1. FredZ

    FredZ Member

    Hello all

    have not had the need to use mail via ISPCONFIG3 untill now.

    Installed via the debian9 tutorial.

    Created an email domain.
    Created a user for the domain.
    Attempted to login via LTD and local IP with the same effect.
    This page isn’t working
    192.168.1.201 is currently unable to handle this request.

    HTTP ERROR 500

    Have chacked my IP settings in /etc/hosts and /etc/network/interfaces

    root@mx:/home/fredz# tail -f /var/log/mail.log
    Aug 4 14:45:01 mx postfix/smtpd[2726]: connect from localhost[::1]
    Aug 4 14:45:01 mx postfix/smtpd[2726]: lost connection after CONNECT from localhost[::1]
    Aug 4 14:45:01 mx postfix/smtpd[2726]: disconnect from localhost[::1] commands=0/0
    Aug 4 14:45:01 mx dovecot: imap-login: Disconnected (disconnected before auth was ready, waited 0 secs): user=<>, rip=::1, lip=::1, secured, session=<LMX6k0GPQO4AAAAAAAAAAAAAAAAAAAAB>
    Aug 4 14:45:01 mx dovecot: pop3-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=::1, lip=::1, secured, session=<wsn6k0GPFsgAAAAAAAAAAAAAAAAAAAAB>
    Aug 4 14:45:02 mx postfix/smtpd[2726]: connect from localhost[::1]
    Aug 4 14:45:02 mx postfix/smtpd[2726]: lost connection after CONNECT from localhost[::1]
    Aug 4 14:45:02 mx postfix/smtpd[2726]: disconnect from localhost[::1] commands=0/0
    Aug 4 14:45:02 mx dovecot: pop3-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=::1, lip=::1, secured, session=<ElwElEGPIsgAAAAAAAAAAAAAAAAAAAAB>
    Aug 4 14:45:02 mx dovecot: imap-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=::1, lip=::1, secured, session=<P18ElEGPBIAAAAAAAAAAAAAAAAAAAAAB>
    Aug 4 14:46:01 mx postfix/smtpd[2726]: connect from localhost[::1]
    Aug 4 14:46:01 mx postfix/smtpd[2726]: lost connection after CONNECT from localhost[::1]
    Aug 4 14:46:01 mx postfix/smtpd[2726]: disconnect from localhost[::1] commands=0/0
    Aug 4 14:46:01 mx dovecot: pop3-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=::1, lip=::1, secured, session=<x1WNl0GPVMgAAAAAAAAAAAAAAAAAAAAB>
    Aug 4 14:46:01 mx dovecot: imap-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=::1, lip=::1, secured, session=<l16Nl0GPNoAAAAAAAAAAAAAAAAAAAAAB>

    Yes I am hosting my own DNS for the primary domain (corpcomp.co.nz). But not confident this is correct. Using ns2.afraid.org as secondary NS

    To be honest I don't have enough knowledge to know what to look for.
    Server: mx.corpcomp.co.nz (Debian Stretch) ISPConfig 3.1.14p2
    State: ok (0 unknown, 0 info, 0 warning, 0 critical, 0 error)

    Regards

    Fred
     
  2. Taleman

    Taleman Well-Known Member HowtoForge Supporter

  3. till

    till Super Moderator Staff Member ISPConfig Developer

    That's a webserver error and not an email error. Check the error.log of your web server to find out why you get it.
     
  4. FredZ

    FredZ Member

    OK, so I have given up on hosting my own DNS as I simply don't have the knowledge to implement it properly or to maintain it. Using the DNS provided by my domain host with the appropriate pointers to all the services required.

    Have attached the htf_report

    Here is what I get from the web logs.
    Code:
    shooter.kiwi:443 203.118.185.15 - - [05/Aug/2019:20:29:45 +1200] "POST /webmail/?_task=login HTTP/1.1" 500 730 "https://www.shooter.kiwi/webmail/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/53                            7.36 (KHTML, like Gecko) Chrome/75.0.3770.142 Safari/537.36"
    Here is what I get from systemctl --state=failed
    Code:
    0 loaded units listed. Pass --all to see loaded but inactive units, too.
    To show all installed unit files use 'systemctl list-unit-files'.
    Code:
    # hostname
    mx
    # hostname -f
    mx.corpcomp.co.nz
    
    Server is an HP DL385 G7 with 4 ethernet ports but only one is configured/connected .
    Code:
    auto enp4s0f0
    iface enp4s0f0 inet static
            address 192.168.1.201
            netmask 255.255.255.0
            network 192.168.1.0
            broadcast 192.168.1.255
            gateway 192.168.1.1
    Server is behind a router (NAT).

    I'm hosting 13 domains, but only 3 websites. So many of the domains are using redirect (no flag) to their respective domain hosting the website.

    Regards

    Fred
     

    Attached Files:

  5. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Are you still getting the HTTP ERROR 500 error?
    You wrote
    Have you checked twice the configuration files are what the tutorial shows?
    Can you access webmail on that server from intranet? It should be at
    http://192.168.1.201/webmail
    Since it seems you want to use that e-mail server from the public Internet, have you set up port forwarding in your NAT router?
    And as an aside, there is Tutorial on setting up your own DNS name service with ISPConfig, see my signature.
     
  6. FredZ

    FredZ Member

    I've been throught the tutorial again. purged and reinstalled roundcude and updated ISPC3. But the problem still persists.

    As the install was originally done with the automatic install script, and everything was migrated over from an existing server I think it best to toast the server and start again and install from the proper tutorial.

    Fortunately I have done backups of all the sites within ISPC3 so reinstating all the sites shouldn't be an issue.

    Regards

    Fred
     
  7. FredZ

    FredZ Member

Share This Page