Home ·  Knowledge Base ·  News ·  Contact  

 Knowledge Base


Web Servers

Mail Servers

FTP Servers

Firewall / Security

Intrusion Detection

FreeBSD General

Solaris General

Linux General







 Mail Servers

Go Back

Getting Mailman to work on Gentoo  

I think I wrote an earlier article on tweaking Mailman to do what I wanted. Well, this weekend I moved my Mailman listserv to a new machine. Thankfully, I was able to consult this site to remind myself of the problems that I had before.

However, last time I installed Mailman I ran into a permissions problem and it just hit me again. I'm not sure why I didnt' mention this last time, but I'm doing it now because I don't want to have to re-solve it.

Basically, I had my list all setup and I was able to send subscription invites to users. However, when they tried to reply to the invitation, they got this:

----- The following addresses had permanent fatal errors -----
"|/var/mailman/mail/mailman post list"
(reason: 2)
(expanded from: )

----- 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

Now, I didn't want to re-configure mailman with the options that they mentioned because I wanted to use the Gentoo ebuild. The main problem is that the gentoo ebuild isn't setup right for sendmail. So, instead, I just changed the owner that was running sendmail. You can do this by editing some lines in the sendmail.cf, but that's a pain-in-the-ass. It's much easier to add this to your sendmail.mc:


This configures sendmail to run as nobody:nobody. Then you can do a 'm4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf' and restart sendmail and you are rocking.


How's your network?, Inc. © 2001-2023