<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>19257</bug_id>
          
          <creation_ts>2003-04-13 15:16 0000</creation_ts>
          <short_desc>mailman aliases with sendmail produce a group mismatch error</short_desc>
          <delta_ts>2003-04-30 16:52:04 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          <bug_file_loc>http://www.nerddiary.org/article.php?sid=16</bug_file_loc>
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>shane@howsyournetwork.com</reporter>
          <assigned_to>nick@capital-internet.net</assigned_to>
          <cc>gentoobugzilla@dewet.org</cc>
    
    <cc>tberman@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>shane@howsyournetwork.com</who>
            <bug_when>2003-04-13 15:16:21 0000</bug_when>
            <thetext>Mailman requires aliases similar to the one below to work correctly:

list:              &quot;|/var/mailman/mail/mailman post list&quot;

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 -----
&quot;|/var/mailman/mail/mailman post list&quot;
    (reason: 2)
    (expanded from: &lt;list@mydomain.com&gt;)

   ----- Transcript of session follows -----
Group mismatch error.  Mailman expected the mail
wrapper script to be executed as group &quot;nobody&quot;, but
the system&apos;s mail server executed the mail script as
group &quot;daemon&quot;.  Try tweaking the mail server to run the
script as group &quot;nobody&quot;, or re-run configure, 
providing the command line option `--with-mail-gid=daemon&apos;.
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 -----
&quot;|/var/mailman/mail/mailman post list&quot;
    (reason: 2)
    (expanded from: &lt;list@mydomain.com&gt;)

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=&quot;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 &quot;
CONFIG_PROTECT=&quot;/etc /var/qmail/control /usr/share/config
/usr/kde/2/share/config /usr/kde/3/share/config /var/bind&quot;
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/env.d&quot;
PORTDIR=&quot;/usr/portage&quot;
DISTDIR=&quot;/mnt/distfiles&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR_OVERLAY=&quot;&quot;
USE=&quot;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&quot;
COMPILER=&quot;gcc3&quot;
CHOST=&quot;i686-pc-linux-gnu&quot;
CFLAGS=&quot;-march=pentium3 -O3 -pipe&quot;
CXXFLAGS=&quot;-march=pentium3 -O3 -pipe&quot;
ACCEPT_KEYWORDS=&quot;x86&quot;
MAKEOPTS=&quot;-j6&quot;
AUTOCLEAN=&quot;yes&quot;
SYNC=&quot;rsync://rsync.gentoo.org/gentoo-portage&quot;
FEATURES=&quot;sandbox distcc ccache&quot;</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>tberman@gentoo.org</who>
            <bug_when>2003-04-29 21:04:19 0000</bug_when>
            <thetext>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.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>gentoobugzilla@dewet.org</who>
            <bug_when>2003-04-30 16:51:50 0000</bug_when>
            <thetext>Interesting. I hit this one today as well, except I&apos;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)...... </thetext>
          </long_desc>
      
    </bug>

</bugzilla>