FAQ
Hi,

I installed mailman and everything seems to work fine up until a user gets
the confirmation message. After that, mailman puts the person into a
"pending" status. Unfortunately this status doesn't get updated and users
won't get subscribed to the list.

I've tried almost everything, and I can't come up with a solution. In
administration -- privacy setings, I selected "confirm". There might be a
permissions problem, because when I do chmod -R a+rwx /home/mailman the
pending status turns into "new" in the subscribe log, and users get their
welcome email. But when I do that, everything breaks and mailman says it
encountered a bug.

Does anyone know what's wrong? Any help is greatly appreciated.

Search Discussions

  • Vodka at May 14, 2002 at 11:27 pm
    One more thing. I do get some errors; my error log says:

    May 14 17:00:01 2002 gate_news(27538): Traceback (most recent call last):
    May 14 17:00:01 2002 gate_news(27538): File
    "/home/mailman/cron/gate_news", line 222, in ?
    May 14 17:00:01 2002 gate_news(27538): main()
    May 14 17:00:01 2002 gate_news(27538): File
    "/home/mailman/cron/gate_news", line 203, in main
    May 14 17:00:01 2002 gate_news(27538): process_lists(lock)
    May 14 17:00:01 2002 gate_news(27538): File
    "/home/mailman/cron/gate_news", line 140, in process_lists
    May 14 17:00:01 2002 gate_news(27538): mlist =
    MailList.MailList(listname, lock=0)
    May 14 17:00:01 2002 gate_news(27538): File
    "/home/mailman/Mailman/MailList.py", line 79, in __init__
    May 14 17:00:01 2002 gate_news(27538): self.Load()
    May 14 17:00:01 2002 gate_news(27538): File
    "/home/mailman/Mailman/MailList.py", line 892, in Load
    May 14 17:00:01 2002 gate_news(27538): dict, e = self.__load(dbfile)
    May 14 17:00:01 2002 gate_news(27538): File
    "/home/mailman/Mailman/MailList.py", line 869, in __load
    May 14 17:00:01 2002 gate_news(27538): fp = open(dbfile)
    May 14 17:00:01 2002 gate_news(27538): IOError : [Errno 13] Permission
    denied: '/home/mailman/lists/testlist/config.db'

    Some other info:

    % ls -la /home/mailman/lists/testlist/config.db
    -rw-rw---- 1 nobody mailman 2853 May 14 16:44
    /home/mailman/lists/testlist/config.db


    Hi,

    I installed mailman and everything seems to work fine up until a user
    gets the confirmation message. After that, mailman puts the person
    into a "pending" status. Unfortunately this status doesn't get
    updated and users won't get subscribed to the list.

    I've tried almost everything, and I can't come up with a solution. In
    administration -- privacy setings, I selected "confirm". There might
    be a permissions problem, because when I do chmod -R a+rwx
    /home/mailman the pending status turns into "new" in the subscribe log,
    and users get their welcome email. But when I do that, everything
    breaks and mailman says it encountered a bug.

    Does anyone know what's wrong? Any help is greatly appreciated.
  • Ashley M. Kirchner at May 14, 2002 at 11:31 pm

    vodka at intoxicate.us wrote:

    May 14 17:00:01 2002 gate_news(27538): IOError : [Errno 13] Permission
    denied: '/home/mailman/lists/testlist/config.db'

    % ls -la /home/mailman/lists/testlist/config.db
    -rw-rw---- 1 nobody mailman 2853 May 14 16:44
    /home/mailman/lists/testlist/config.db
    be a permissions problem, because when I do chmod -R a+rwx
    /home/mailman the pending status turns into "new" in the subscribe log,
    and users get their welcome email. But when I do that, everything
    breaks and mailman says it encountered a bug.
    - You shouldn't be chmodding things +rwx...
    - Your permissions are wrong from what these errors tell me. Either your
    crontask runs as a completely different user than what your directories are
    owned by, or mailman itself can't write in those directories...a whole bunch of
    things could be wrong here.

    --
    W | I haven't lost my mind; it's backed up on tape somewhere.
    +--------------------------------------------------------------------
    Ashley M. Kirchner <mailto:ashley at pcraft.com> . 303.442.6410 x130
    IT Director / SysAdmin / WebSmith . 800.441.3873 x130
    Photo Craft Laboratories, Inc. . 3550 Arapahoe Ave. #6
    http://www.pcraft.com ..... . . . Boulder, CO 80303, U.S.A.
  • Vodka at May 14, 2002 at 11:49 pm
    - You shouldn't be chmodding things +rwx...
    I know that, but that is the only way to find out if this is indeed a
    permissions problem.
    - Your permissions are wrong from what these errors tell me. Either
    your
    crontask runs as a completely different user than what your directories
    are owned by, or mailman itself can't write in those directories...a
    whole bunch of things could be wrong here.
    All files under /home/mailman are owned by user mailman and group mailman.
    User mailman's crontab is what it should be. The permissions for config.db
    are -rw-rw----. I ran check_perms -f which reports no problems.
  • Ashley M. Kirchner at May 14, 2002 at 11:46 pm

    vodka at intoxicate.us wrote:

    All files under /home/mailman are owned by user mailman and group mailman.
    Not according to your own email earlier... It showed they're owned by
    nobody.mailman....

    --
    W | I haven't lost my mind; it's backed up on tape somewhere.
    +--------------------------------------------------------------------
    Ashley M. Kirchner <mailto:ashley at pcraft.com> . 303.442.6410 x130
    IT Director / SysAdmin / WebSmith . 800.441.3873 x130
    Photo Craft Laboratories, Inc. . 3550 Arapahoe Ave. #6
    http://www.pcraft.com ..... . . . Boulder, CO 80303, U.S.A.
  • Vodka at May 15, 2002 at 12:22 am

    Not according to your own email earlier... It showed they're owned
    by
    nobody.mailman....
    I changed it to mailman, but somehow it's back to nobody now. Also I'm
    getting a undelivered mail error message

    Command died with status 2:
    "/home/mailman/mail/wrapper mailcmd testlist". Command output: Failure to
    exec script. WANTED gid 6, GOT gid 39. (Reconfigure to take 39?)

    I configured mailman with ./configure --with-mail-gid=6 --with-cgi-gid9,
    where GID 6 is 'mail' and GID 39 is 'nobody' which apache runs as. This
    doesn't make any sense. Do I need to change wrapper's ownership to "mail"
    (GID 6)?
  • Ashley M. Kirchner at May 15, 2002 at 3:54 am

    vodka at intoxicate.us wrote:

    I changed it to mailman, but somehow it's back to nobody now. Also I'm
    getting a undelivered mail error message
    Because your apache server runs as nobody...

    Command died with status 2:
    "/home/mailman/mail/wrapper mailcmd testlist". Command output: Failure to
    exec script. WANTED gid 6, GOT gid 39. (Reconfigure to take 39?)

    I configured mailman with ./configure --with-mail-gid=6 --with-cgi-gid9,
    --with-mail-gid9

    Looks like your mailer runs as nobody as well.

    --
    H | "Life is the art of drawing without an eraser." - John Gardner
    +--------------------------------------------------------------------
    Ashley M. Kirchner <mailto:ashley at pcraft.com> . 303.442.6410 x130
    Director of Internet Operations / SysAdmin . 800.441.3873 x130
    Photo Craft Laboratories, Inc. . 3550 Arapahoe Ave, #6
    http://www.pcraft.com ..... . . . Boulder, CO 80303, U.S.A.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupmailman-users @
categoriespython
postedMay 14, '02 at 10:45p
activeMay 15, '02 at 3:54a
posts7
users2
websitelist.org

2 users in discussion

Vodka: 4 posts Ashley M. Kirchner: 3 posts

People

Translate

site design / logo © 2022 Grokbase