[Exim] help with mailman, exim and debian

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Matteo Gallivanoni
Dátum:  
Címzett: exim-users
Tárgy: [Exim] help with mailman, exim and debian
Dear exim users,
    I need help with my system:
linux kernel 2.2.15 - debian (potato)
  it's behind a firewall
exim 3.12 (called through /etc/inetd.conf - it's not a daemon)
mailman 2.0.1


I compiled mailman from sources and modified exim.conf
and it seems all ok
$MAILMANHOME/bin/check_perms reports ok

my mailman user is mailman
my mailmanhome is /etc/mailman



1) first of all:
I created the test list thelist with the command
/etc/mailman/bin/newlist
when it finished, some new entry for /etc/aliases
file are provided to be added:

## thelist mailing list
## created: 17-Jan-2001 root
thelist:                 "|/etc/mailman/mail/wrapper post thelist"
thelist-admin:           "|/etc/mailman/mail/wrapper mailowner thelist"
thelist-request:         "|/etc/mailman/mail/wrapper mailcmd thelist"
thelist-owner:           thelist-admin


But at the begionning of http://www.exim.org/howto/mailman.html it says:
"...The exim configuration is built so that a list created within
mailman automagically appears to exim without the need for
additional alias files etc to be changed..."
My first question is if I should add these lines to /etc/aliases or not
(I did try to remove it in /etc/aliases but if I don't go wrong
"newaliases" it's the sendmail-compatibility fake script and the wrapper was
still called by exim).

2) The real problem:
if I try to post a message to the test list
with mailx -v I have the following output

# mailx -v -s the-subject thelist@???
the-body
.
Cc:
LOG: 0 MAIN
<= root@??? U=root P=local S=330
ametraf02:~# Exim version 3.12 debug level 1 uid=8 gid=8
probably Berkeley DB version 1.8x (native mode)
delivering message 14Ith5-0006Eh-00
LOG: 0 MAIN
** thelist@??? D=list_director T=list_transport: Child
process of list_transport transport returned
2 from command: /etc/mailman/mail/wrapper
Exim version 3.12 debug level 1 uid=8 gid=8
probably Berkeley DB version 1.8x (native mode)
LOG: 0 MAIN
<= <> R=14Ith5-0006Eh-00 U=mail P=local S=1162
LOG: 5 MAIN
Error message sent to root@???
LOG: 0 MAIN
Completed
Exim version 3.12 debug level 1 uid=8 gid=8
probably Berkeley DB version 1.8x (native mode)
delivering message 14Ith5-0006Em-00
LOG: 0 MAIN
=> gallivm <root@???> D=localuser T=local_delivery
LOG: 0 MAIN
Completed
#




In /var/log/mail.err I found
Jan 17 15:36:11 ametraf02 Mailman mail-wrapper: Failure to exec script.
WANTED gid 8, GOT gid 1007. (Reconfigure to take 1007?)

but
# grep :8: /etc/group
mail:*:8:
# grep :1007: /etc/group
mailman:x:1007:

so it seems it prefers some script to have gid=mail instead of mailman
but somewhere else I read it is actually a warning, not an error

Also I read somewhere in the old newsgroups that
"Child process of list_transport transport returned 2"
could mean that wrapper is in loop but it doesn't seem so

If my exim.conf is needed, I will provide it in the reply

TIA for any help
bye,
    Matteo