[Mailman-Users] issues with BSD/OS 4.0 and mailman 1.0b8

Barry A. Warsaw bwarsaw at cnri.reston.va.us
Sat Feb 27 19:19:02 CET 1999


>>>>> "VK" == Vivek Khera <khera at kciLink.com> writes:

    VK> The web site says that Python 1.5 or newer is required.  It
    VK> seems to be that 1.5.1 or newer is required, as the "getpass"
    VK> module does not exist in 1.5.

I missed an import in bin/newlist.  See patch below.

    VK> Also, under BSD/OS unix (and most BSD in general) the group
    VK> setgid bit is not necessary on directories -- the default
    VK> bahavior is to use the directory's group when creating new
    VK> files.  Having the setgid bit causes annoying security alerts,
    VK> but is otherwise harmless.

What kind of security alerts?  I think it's probably more common
(Solaris for sure, Linux??) to require the g+s bit on dirs.

    VK> The INSTALL document says that the default list for
    VK> --with-mail-gid is 'other daemon'.  However, the wrapper on my
    VK> system was build to be setgid mailman.

Do you mean that it was built with mail-gid `mailman' by default?
This setting anyway is highly dependent on MTA.

-Barry

Index: newlist
===================================================================
RCS file: /projects/cvsroot/mailman/bin/newlist,v
retrieving revision 1.23
retrieving revision 1.24
diff -c -r1.23 -r1.24
*** newlist	1999/02/10 23:15:53	1.23
--- newlist	1999/02/27 18:05:43	1.24
***************
*** 31,37 ****
  
  import sys, os, string
  import time
! import getpass
  import paths                                      # path hacking
  from Mailman import MailList
  from Mailman import Utils
--- 31,41 ----
  
  import sys, os, string
  import time
! try:
!     import getpass
! except ImportError:
!     # we must be in Python 1.5, which didn't have the getpass module
!     from Mailman.pythonlib import getpass
  import paths                                      # path hacking
  from Mailman import MailList
  from Mailman import Utils




More information about the Mailman-Users mailing list