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-27, 15:30:30

Author Topic: maillog: deferral: Not_allowed_to_perform_deliveries_as_root  (Read 7704 times)

0 Members and 1 Guest are viewing this topic.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: maillog: deferral: Not_allowed_to_perform_deliveries_as_root
« Reply #15 on: 2016-03-07, 19:32:48 »
You are missing iud 7799 and 89 (less then 500) act like 'root'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline KloxoLittleFish

  • Valuable Member
  • *
  • Posts: 147
  • Karma: +0/-0
    • View Profile
Re: maillog: deferral: Not_allowed_to_perform_deliveries_as_root
« Reply #16 on: 2016-03-07, 19:59:04 »
renamed 89 to 7799 .. but not work

Offline KloxoLittleFish

  • Valuable Member
  • *
  • Posts: 147
  • Karma: +0/-0
    • View Profile
Re: maillog: deferral: Not_allowed_to_perform_deliveries_as_root
« Reply #17 on: 2016-03-07, 21:44:21 »
I researched ... "/home/vpopmail/bin/vdominfo" info is in "/var/qmail/users/assign" file ...

I see here a bad format string:
Quote
+mydomain.com-:mydomain.com:::/home/lxadmin/mail/domains//home/vpopmail/domains/mydomain.com:-::

good format string (7800 is my userdomain):
Quote
+mydomain.com-:mydomain.com:7800:7800:/home/lxadmin/mail/domains/mydomain.com:-::

... then i go ... "../bin/fix/fix-qmail-assign.php" and in resetQmailAssign function i read ...

Quote
   $mpath = "/home/lxadmin/mail/domains";

and

Quote
$con->select_db("vpopmail");
   $result = $con->query("SELECT pw_name, pw_domain, pw_dir FROM vpopmail");
   if (!isset($result)) { return; }
   $n = array();

while ($row = $result->fetch_array(MYSQLI_ASSOC)) {
      // MR -- need this team to fix issue where prefix account as the same as prefix domain
      //       like your@yourdomain.com (the same 'your')
      $temp = str_replace($mpath . "/", '', $row['pw_dir']);
      $n[$row['pw_domain']] = $mpath . "/" . str_replace("/" . $row['pw_name'], '', $temp);
   }


but in my "vpopmail" database ... old domains have: "pw_dir"=> /home/vpopmail/domains/mydomain.com/Postmaster ...

To resolve it, I have updated the "pw_dir" field  in "vpopmail" database:

Quote
update vpopmail set pw_dir=replace(pw_dir, '/home/vpopmail/domains/','/home/lxadmin/mail/domains/')  where pw_dir like '/home/vpopmail/domains/%'

Then:
Quote
sh /script/fixmail-all; sh /script/restart-mail;
« Last Edit: 2016-03-07, 22:02:01 by KloxoLittleFish »

 


Top 4 Global Search Engines:    Google    Bing    Baidu    Yahoo
Click Here

Page created in 0.069 seconds with 18 queries.

web stats analysis