No, not the USPS guy, but that stupid ass little program that does email list management. All I did was flip the switch in postfix to say “hey, you now can host virtual domains” and BAM!!! Mailman instantly vomits all over itself like a bunch of wookies at a fur-ball contest. And of course, there are thousands of people on the net with my exact same problem:

Final-Recipient: rfc822; —–@freeplay.hackerforhire.org
Original-Recipient: rfc822; —–@hackerforhire.org
Action: failed
Status: 5.0.0
Diagnostic-Code: X-Postfix; Command died with status 2:
“/usr/local/mailman/mail/mailman post —–”. Command output: Group mismatch
error. Mailman expected the mail wrapper script to be executed as group
“mailman”, but the system’s mail server executed the mail script as group
“nobody”. Try tweaking the mail server to run the script as group
“mailman”, or re-run configure, providing the command line option
`–with-mail-gid=nobody’.

Seems sort of obvious that I want the program to run with its own damn permissions. Well trying to find the solution to this is about as difficult as Micheal Jackson not using a daycare as a drive through. I tried every possible fix that I could and then I finally found something that seemed just so stupid it might be right. Apparently, if you have multiple aliases files (which I was unaware that I had) and one of them belongs to root, postfix will just star executing every damn thing it can as ‘nobody’ because that’s who owns every fricken file on you damn hard drive … NOT!!!

Shesh … that took me 4 hours to find. I figured I’d post it here in case I ever needed to do it again.

3 Comments

  1. Jimmy says:

    Thank you very much for your mailman information.
    I was stuck at the same place and you saved my time so much.

  2. Kristian Kirilov says:

    I read your post but i dont know howto do?

    Tell me howto fix this problem.

  3. Wyatt says:

    Kristian, it’s been a long time since I did this, but I believe the simplest fix is to change the owner of the alias files to the mailman user. For example, if all your alias files are located in /usr/local/mailman/aliases/*, the following snippet should fix it for you:

    #!/bin/bash
    for i in `ls /usr/local/mailman/aliases/*`;
      do chown mailman:mailman $i;
    done;

    If I haven’t screwed anything up, changing those permissions and restarting postfix should fix it.

Leave a Reply

You must be logged in to post a comment.