[Mailman-Users] mail-wrapper: GID_MISMATCH error *** again ***

Oliver Egginger Oliver.Egginger at dvz.fh-giessen.de
Wed Jul 4 12:44:09 CEST 2001


Many thanks for your help so far...

Devdas Bhagat wrote:
> Documented in the install document. Recompile mailman with the correct
> mail-gid option.
I did it. I set it to "mail", because this GID is compiled into my exim-MTA.
If I execute a "su mail"
and enter:
"./wrapper mailcmd test-list"
it seems to work,  i.e. it caused no GID_MISMATCH Error.

J C Lawrence wrote:
> Have you read Nigel's Mailman/Exim HOWTO?
back and forth...
Here is the Exim-test-output for my first mailman list "test-list":
------------------------------------------------------------
~/$ exim -v -bt test-list
test-list at mailserv2.dvz.fh-giessen.de
deliver to test-list in domain mailserv2.dvz.fh-giessen.de
director = list_director, transport = list_transport
  
~/$ exim -v -bt test-list-request
test-list-request at mailserv2.dvz.fh-giessen.de
deliver to test-list in domain mailserv2.dvz.fh-giessen.de
director = list_request_director, transport = list_request_transport

~/$ exim -v -bt test-list-admin
test-list-admin at mailserv2.dvz.fh-giessen.de
deliver to test-list in domain mailserv2.dvz.fh-giessen.de
director = list_admin_director, transport = list_admin_transport
------------------------------------------------------------
As you can see, exim works proper.

But if I send a mail to the list, I see the following error-message in the exim-monitor:

09:35:35 15HmoZ-0003mQ-00 ** test-list-request at mailserv2.dvz.fh-giessen.de D=list_request_director T=list_request_transport:
Child process of list_request_transport transport returned 2 from command: /home/mailman/mail/wrapper
09:35:36 15HmoZ-0003mV-00 <= <> R=15HmoZ-0003mQ-00 U=mail P=local S=2708

I supposed that returncode 2 means GID_MISMATCH, cause I found this in the sources:
------------------------------------------------------------
	/* exit codes, so it's easier to distinguish what caused fatal errors when
	 * looking at syslogs.
 	*/
	#define GID_MISMATCH 2
	#define SETREGID_FAILURE 3
	#define EXECVE_FAILURE 4
	#define MAIL_USAGE_ERROR 5
	#define MAIL_ILLEGAL_COMMAND 6
	#define ADDALIAS_USAGE_ERROR 7
------------------------------------------------------------

My access rights for the relevant directory & file
are shown in the following directory entries:

drwxrwsr-x    2 mailman  mailman      1024 Jul  3 17:10 mail/
-rwxr-sr-x    1 root     mailman     38814 Jul  3 17:10 wrapper*   

I changed them many times, tried almost every combination;
group and ownership too.

I have the sense that I am doing something very stupid, but the only chance I have by now, 
is to debug wrapper.c .  :(

Can anyone see my error and direct me to the right point ?


regards
Oliver
 





-- 
Oliver Egginger
FH Giessen-Friedberg
DV-Zentrum
Wiesenstrasse 14
35390 Giessen
Tel. +49 641 309-1283
Fax  +49 641 309-2908
Mail: Oliver.Egginger at dvz.fh-giessen.de


****************************************************
Sprechzeiten des DV-Zentrums fuer 
E-Mail-Angelegenheiten:

Mo	 8:30 - 11:15 Uhr
Di	11:30 - 13:30 Uhr
Mi	11:30 - 13:30 Uhr
Do	 8:30 - 13:30 Uhr
****************************************************




More information about the Mailman-Users mailing list