Product:
Search Type:

Mailman can't send messages to subscribers showing error in maillog: "Failure_to_exec_mailman_wrapper. WANTED_gid_110,_GOT_gid_101. (Reconfigure_to_take_101?)/did_0+0+1/"

Article ID: 942 
Last Review: Oct,22 2007
APPLIES TO:
  • Plesk for Linux/Unix

SYMPTOMS

The folloing errors can be found in /usr/local/psa/var/log/maillog:

Failure_to_exec_mailman_wrapper. WANTED_gid_110,_GOT_gid_101. (Reconfigure_to_take_101?)/did_0+0+1/

 Failed_to_exec_mailman_wrapper:_unable_to_determine_caller's
_group_name/


RESOLUTION

To solve this issue follow the steps below.

- Check that /var/qmail/bin/mm_wrapper has right permissions as listed below:

# ls -al /var/qmail/bin/mm_wrapper
-r-xr-sr-x 21:06 /var/qmail/bin/mm_wrapper


If not, change the permissiond and ownership to the right ones:

# chmod 2555 /var/qmail/bin/mm_wrapper


- Make sure that 'popuser' UID (user ID) and GID (group ID) are 110:

# id popuser
uid=110(popuser) gid=110(popuser) groups=110(popuser)


- If popuser GID is 101 (as reported in the above error) or other number, it is needed to be changed to 110.

- Stop services which use 'popuser' user and group: mailman, qmail, courier-imap, xinetd or inetd. Then check that no other uses 110 GID and change popuser's GID to 110 in /etc/group file and in /etc/passwd (using `vipw` utility):

/etc/group:
popuser:x:110:

/etc/passwd:
popuser:x:110:110:POP3 service user:/:/bin/false

- Run the following command to rebuild qmail configuration files:

# $PRODUCT_ROOT_D/admin/sbin/mchk --with-spam


-Then you need to find out all files which are owned by previous popuser GID (for example 101) and change their ownership to the new popuser group ID:

# find /var /usr/lib/mailman -gid 101 -print0 | xargs -r0 chgrp popuser


On FreeBSD:
find /usr/local/psa -group 101 | xargs chgrp popuser


- Make sure that all users in /var/qmail/users/assign has group ID 110.

- Start the services back.

Please provide feedback on this article

Did this article help you solve your issue?
Yes
No
Partially
I do not know yet
 
Strongly Agree   Strongly Disagree
  9 8 7 6 5 4 3 2 1
The article is easy to understand
The article is accurate
Additional Comments:
*Please provide us with your email address in case we need to contact you.
*Please type the code you can see.
* - required fields