Home | Docs | Forums | Lists | Bugs | Planet | Store | GMN | Get Gentoo!
Not eligible to see or edit group visibility for this bug.
View Bug Activity | Format For Printing | XML | Clone This Bug
Mailman requires aliases similar to the one below to work correctly: list: "|/var/mailman/mail/mailman post list" If you just install sendmail and mailman using the ebuilds, then you will get this error if you send mail to any of these aliases: ----- The following addresses had permanent fatal errors ----- "|/var/mailman/mail/mailman post list" (reason: 2) (expanded from: <list@mydomain.com>) ----- Transcript of session follows ----- Group mismatch error. Mailman expected the mail wrapper script to be executed as group "nobody", but the system's mail server executed the mail script as group "daemon". Try tweaking the mail server to run the script as group "nobody", or re-run configure, providing the command line option `--with-mail-gid=daemon'. 554 5.3.0 unknown mailer error 2 You can fix this by changing the user/group that sendmail is running as, or you can re-configure mailman with the option they mention above. Reproducible: Always Steps to Reproduce: 1. install sendmail and mailman using ebuilds 2. send e-mail to one of the mailman aliases 3. Actual Results: ----- The following addresses had permanent fatal errors ----- "|/var/mailman/mail/mailman post list" (reason: 2) (expanded from: <list@mydomain.com>) Expected Results: Posted the message to the listserv or run one of the /var/mail/man/mail/mailman commands. Portage 2.0.47-r10 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r4) ================================================================= System uname: 2.4.20 i686 Pentium III (Katmai) GENTOO_MIRRORS="ftp://ftp.ibiblio.org/pub/linux/distributions/gentoo ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo http://gentoo.oregonstate.edu ftp://ftp.oregonstate.edu/pub/gentoo " CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config /var/bind" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/mnt/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="" USE="x86 apm crypt cups gif imlib jpeg libg++ motif mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib gdbm berkdb slang readline svga gpm tcpd pam libwww ssl python -3dnow acpi -arts -avi -encode -gnome -gtk -java -kde mbox -mikmod -mmx mysql -oggvorbis -opengl -oss perl -qt samba -sdl snmp -X" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=pentium3 -O3 -pipe" CXXFLAGS="-march=pentium3 -O3 -pipe" ACCEPT_KEYWORDS="x86" MAKEOPTS="-j6" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox distcc ccache"
i edited the mailman ebuild to change the gid to daemon, and im gonna close the bug, if this doesnt work for anyone, let me know.
Interesting. I hit this one today as well, except I'm using exim. My fix was to change my exim.conf so that the pipe transport uses gid nobody. However, I also had to juggle the mailman permissions under /var/mailman/ so that they were readable by the wrapper script. My feeling is that mailman should be configured to expect gid mail (which exim runs as)......