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-28, 08:09:57

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

0 Members and 1 Guest are viewing this topic.

Offline KloxoLittleFish

  • Valuable Member
  • *
  • Posts: 147
  • Karma: +0/-0
    • View Profile
Since last update, mails not work. In maillog always:
 
Quote
send: delivery 648: deferral: not_allowed_to_perform_deliveries_as_root./

sh /script/sysinfo;
Quote
A. Control Panel:
   - Kloxo-MR: 7.0.0.b-2016030202
   - Web: hiawatha-10.1.0-f.6.mr.el6.x86_64
   - PHP: php54s-5.4.40-1.ius.el6 (fpm mode)
B. Plateform:
   - OS: CentOS release 6.7 (Final) x86_64
   - Hostname: skobox.kobox.org
C. Services:
   1. MySQL: MariaDB-server-10.0.24-1.el6.x86_64
   2. PHP:
      - Branch: php54-cli-5.4.45-1.ius.el6.x86_64
      - Multiple:
        * php52m-5.2.17-102.mr.el6
        * php53m-5.3.29-1.ius.el6
        * php54m-5.4.40-1.ius.el6
        * php55m-5.5.24-1.ius.el6
        * php56m-5.6.8-1.ius.el6
      - Used: --Use PHP Branch--
   3. Web Used: apache
     - Hiawatha: --unused--
     - Lighttpd: --uninstalled--
     - Nginx: --uninstalled--
     - Httpd: httpd-2.2.31-1.mr.el6.x86_64
       - PHP Type: php-fpm_event
   4. WebCache: none
     - ATS: --uninstalled--
     - Squid: --uninstalled--
     - Varnish: --uninstalled--
   5. Dns: bind
     - Bind: bind-9.9.7-1.mr.el6.x86_64
     - DJBDns: --uninstalled--
     - NSD: --uninstalled--
     - PowerDNS: --uninstalled--
     - Yadifa: --uninstalled--
   6. Mail: qmail-toaster-1.03-1.3.55.mr.el6.x86_64
      - pop3/imap4: courier-imap-toaster-4.1.2-1.3.18.mr.el6.x86_64
      - spam: spamassassin


/home/vpopmail/bin/vdominfo

Quote
domain: mydomain1.com
uid:    0
gid:    0
dir:

users:  2147483646

domain: mydomain2.com
uid:    0
gid:    0
dir:

users:  0

domain: mydomain3.com
uid:    7801
gid:    7801
dir:    /home/lxadmin/mail/domains/mydomain3.com
users:  0

domain: mydomain4.com
uid:    7801
gid:    7801
dir:    /home/lxadmin/mail/domains/mydomain4.com
users:  0

 :'(

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
mydomain1.com and mydomain2.com use uid/gid = 0 that mean root. That's why found error 'not_allowed_to_perform_deliveries_as_root'
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline KloxoLittleFish

  • Valuable Member
  • *
  • Posts: 147
  • Karma: +0/-0
    • View Profile
Quote
sh /script/cleanup; sh /script/fixmail-all; reboot;


... And still does not work ...

why do it use root? where/how fixe-it? Before update it worked fine. What has changed?






Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Check ownership of /home/<user>/mydomain1.com and /home/<user>/mydomain2.com
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline KloxoLittleFish

  • Valuable Member
  • *
  • Posts: 147
  • Karma: +0/-0
    • View Profile
Check ownership of /home/<user>/mydomain1.com and /home/<user>/mydomain2.com

they are ok:

Quote
drwxr-x--x  userdomain1 apache
drwxr-x--x  userdomain2 apache

where did /home/vpopmail/bin/vdominfo get the info?

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Inform here 'id  userdomain1; id  userdomain2'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline KloxoLittleFish

  • Valuable Member
  • *
  • Posts: 147
  • Karma: +0/-0
    • View Profile
uid=7799(userdomain1) gid=7799(userdomain1) grupos=7799(userdomain1)
uid=7800(userdomain2) gid=7800(userdomain2) grupos=7800(userdomain2)

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Inform from 'id <user>' not match to 'vdominfo'.

..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline KloxoLittleFish

  • Valuable Member
  • *
  • Posts: 147
  • Karma: +0/-0
    • View Profile
I know ... but ... why? ... from where did 'vdominfo' get the uid-info?

in ls -l /home/lxadmin/mail/domains/
Quote
*
drwx------ userdomain2 userdomain2   mydomain2.com
*


in ls -l /home/lxadmin/mail/domains/mydomain2.com
Quote
*
drwx------ vpopmail vchkpw postmaster
*

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
From '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: maillog: deferral: Not_allowed_to_perform_deliveries_as_root
« Reply #10 on: 2016-03-07, 18:49:19 »
pw_uid and pw_gid  are 0 in vpopmail table emails (in all emails)

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 #11 on: 2016-03-07, 18:52:59 »
Search domain like 'dom_1234' in dir_control where 1234 is uid of client
..:: 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 #12 on: 2016-03-07, 19:16:14 »
Are: dom_7800, dom_7801 and dom_89. Not dom_7799
All have equal values but different cur_users.

What can I do?

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 #13 on: 2016-03-07, 19:17:49 »
The problem is 'dom_89'. Try rename to 'dom_7799'
..:: 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 #14 on: 2016-03-07, 19:28:11 »
89 is the vpopmail user, i insert dom_7799, sh /script/fixmail-all, reboot, but not work.

I can send emails but not read. In log show:

Quote
send: delivery 811: deferral: Not_allowed_to_perform_deliveries_as_root./
*

 


MRatWork Affiliates:    BIGRAF(R) Inc.    House of LMAR    EFARgrafix

Page created in 0.074 seconds with 19 queries.

web stats analysis