Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-04-20, 18:13:21

Author Topic: imap4: INFO: LOGIN FAILED  (Read 5841 times)

0 Members and 1 Guest are viewing this topic.

Offline KloxoLittleFish

  • Valuable Member
  • *
  • Posts: 147
  • Karma: +0/-0
    • View Profile
imap4: INFO: LOGIN FAILED
« on: 2015-05-06, 12:59:18 »
Every time i do sh /script/cleanup  mail stops working and all users login give me: imap4: INFO: LOGIN FAILED, user= 

I do sh /script/fixmail-all; sh /script/restart-mail  but LOGIN FAILED error persist ...

I change a mail password in Kloxo panel: password successfully updated for blabla@blabla.bla
But in phpmyadmin=>vpopmail=>vpopmailuser password hasn't change ...


Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: imap4: INFO: LOGIN FAILED
« Reply #1 on: 2015-05-06, 13:05:39 »
It's nothing problem in my productions server. Change password from panel automatically change password in vpopmail database.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline KloxoLittleFish

  • Valuable Member
  • *
  • Posts: 147
  • Karma: +0/-0
    • View Profile
Re: imap4: INFO: LOGIN FAILED
« Reply #2 on: 2015-05-06, 13:51:17 »
From => http://forum.mratwork.com/kloxo-mr-tips-and-tricks/(tip)-how-to-setup-qmail-on-kloxo-mr/msg13583/#msg13583

Quote
# uninstall toaster
yum remove *-toaster

# remove bin and config
rm -rf /var/qmail/

# install again (including clamav and spamd) and also other applications as dependencies
yum install *-toaster webalizer cronie cronie-anacron crontabs



Quote
...
https://github.com/mustafaramadhan/kloxo/raw/rpms/release/centos6/x86_64/ucspi-tcp-toaster-0.88-1.3.11.mr.el6.x86_64.rpm: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 503 Service Temporarily Unavailable"
...
Error al descargar los paquetes:
  qmail-toaster-1.03-1.3.55.mr.el6.x86_64: failure: qmail-toaster-1.03-1.3.55.mr.el6.x86_64.rpm from mratwork-release-version-arch: [Errno 256] No more mirrors to try.
  libsrs2-toaster-1.0.18-1.3.7.mr.el6.x86_64: failure: libsrs2-toaster-1.0.18-1.3.7.mr.el6.x86_64.rpm from mratwork-release-version-arch: [Errno 256] No more mirrors to try.
...
« Last Edit: 2015-05-06, 13:53:36 by KloxoLittleFish »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: imap4: INFO: LOGIN FAILED
« Reply #3 on: 2015-05-06, 14:09:47 »
Try 'yum clean all' for fix issue like '[Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 503 Service Temporarily Unavailable"'
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline KloxoLittleFish

  • Valuable Member
  • *
  • Posts: 147
  • Karma: +0/-0
    • View Profile
Re: imap4: INFO: LOGIN FAILED
« Reply #4 on: 2015-05-06, 14:14:52 »
yep, just i could reinstall

/home/vpopmail/bin/vdominfo
Quote
Error - no authentication database connection. Initial open.


Offline KloxoLittleFish

  • Valuable Member
  • *
  • Posts: 147
  • Karma: +0/-0
    • View Profile
Re: imap4: INFO: LOGIN FAILED
« Reply #5 on: 2015-05-06, 17:20:35 »
Okey ... i have resolved ...  8)

In /script/fixmail-all; i followed => fix-qmail-assign.php => slave_get_db_pass => lib.php => dbadmin and see that password (i dont know why was different  :o), i have changed it and then ... /script/fixmail-all; (now) fix-qmail-assign.php works ...  :)

but ... i dont understand why ... if KloxoMR fails to connect to the db ... doesnt give an ERROR in the script ...  :-\
« Last Edit: 2015-05-06, 17:22:12 by KloxoLittleFish »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: imap4: INFO: LOGIN FAILED
« Reply #6 on: 2015-05-06, 18:00:14 »
No, Kloxo-MR no connect to vpopmail database but call program inside '/home/vpopmail/bin/' for certain purpose.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline KloxoLittleFish

  • Valuable Member
  • *
  • Posts: 147
  • Karma: +0/-0
    • View Profile
Re: imap4: INFO: LOGIN FAILED
« Reply #7 on: 2015-05-06, 18:12:25 »
I don't know. ... I'm just saying ... that if the connection fails better that the error is displayed  :)

/script/fixmail-all.sh => /script/fix-qmail-assign.sh => /usr/local/lxlabs/kloxo/bin/fix/fix-qmail-assign.php => resetQmailAssign(); =>

Quote
// by mustafa@bigraf.com for Kloxo-MR  :-X

include_once "lib/html/include.php";

resetQmailAssign();

function resetQmailAssign($nolog = null)
{
        $pass = slave_get_db_pass();

        $con = new mysqli("localhost", "root", $pass);

        if (!$con) {  ::)
                die('Could not connect: ' . $con->connect_error);
        }

        $con->select_db("vpopmail");

        $result = $con->query("SELECT pw_name, pw_domain, pw_dir FROM vpopmail");
...
« Last Edit: 2015-05-06, 18:19:31 by KloxoLittleFish »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: imap4: INFO: LOGIN FAILED
« Reply #8 on: 2015-05-06, 18:18:54 »
If running 'sh /script/fixmail-all' will try to fix vpopmail password.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline KloxoLittleFish

  • Valuable Member
  • *
  • Posts: 147
  • Karma: +0/-0
    • View Profile
Re: imap4: INFO: LOGIN FAILED
« Reply #9 on: 2015-05-06, 18:20:40 »
If running 'sh /script/fixmail-all' will try to fix vpopmail password.
 

but slave_get_db_pass(); is root password, it connect with root-mysql password

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: imap4: INFO: LOGIN FAILED
« Reply #10 on: 2015-05-06, 18:26:46 »
If running 'sh /script/fixmail-all' will try to fix vpopmail password.
 

but slave_get_db_pass(); is root password, it connect with root-mysql password
That right.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

 


Top 4 Global Search Engines:    Google    Bing    Baidu    Yahoo

Page created in 0.068 seconds with 22 queries.

web stats analysis