wiki:TipAndDoc/network/mail/Mailman

Version 6 (modified by mitty, 13 years ago) (diff)

--

/etc/mailman/mm_cfg.py

  • 主に設定される(と思われる)項目
  • デフォルト => /usr/lib/mailman/Mailman/Defaults.py
  • DEFAULT_ARCHIVE_PRIVATE = 0
    # Are archives public or private by default?
    # 0=public, 1=private
    
  • DEFAULT_NEW_MEMBER_OPTIONS = 256
    # See "Bitfield for user options" below; make this a sum of those options, to
    # make all new members of lists start with those options flagged.  We assume
    # by default that people don't want to receive two copies of posts.  Note
    # however that the member moderation flag's initial value is controlled by the
    # list's config variable default_member_moderation.
    
    # Bitfield for user options.  See DEFAULT_NEW_MEMBER_OPTIONS above to set
    # defaults for all new lists.
    Digests             = 0 # handled by other mechanism, doesn't need a flag.
    DisableDelivery     = 1 # Obsolete; use set/getDeliveryStatus()
    DontReceiveOwnPosts = 2 # Non-digesters only
    AcknowledgePosts    = 4
    DisableMime         = 8 # Digesters only
    ConcealSubscription = 16
    SuppressPasswordReminder = 32
    ReceiveNonmatchingTopics = 64
    Moderate = 128
    DontReceiveDuplicates = 256
    
  • DEFAULT_LIST_ADVERTISED = Yes
  • DEFAULT_MAX_NUM_RECIPIENTS = 10
  • DEFAULT_MAX_MESSAGE_SIZE = 40 # KB
    # Should a list, by default be advertised?  What is the default maximum number
    # of explicit recipients allowed?  What is the default maximum message size
    # allowed?
    
  • DEFAULT_SUBJECT_PREFIX = "[%(real_name)s] "
  • DEFAULT_MSG_HEADER = ""
  • DEFAULT_MSG_FOOTER
    DEFAULT_MSG_FOOTER = """_______________________________________________
    %(real_name)s mailing list
    %(real_name)s@%(host_name)s
    %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
    """
    
    # These format strings will be expanded w.r.t. the dictionary for the
    # mailing list instance.
    # DEFAULT_SUBJECT_PREFIX = "[%(real_name)s %%d]" # for numbering
    
  • DEFAULT_ADMIN_NOTIFY_MCHANGES = No
    # Is the list owner notified of subscribes/unsubscribes?
    
  • DEFAULT_SEND_REMINDERS = Yes
    # This variable controls whether monthly password reminders are sent.
    
  • DEFAULT_REPLY_GOES_TO_LIST = 0
    # Mailman can be configured to "munge" Reply-To: headers for any passing
    # messages.  One the one hand, there are a lot of good reasons not to munge
    # Reply-To: but on the other, people really seem to want this feature.  See
    # the help for reply_goes_to_list in the web UI for links discussing the
    # issue.
    # 0 - Reply-To: not munged
    # 1 - Reply-To: set back to the list
    # 2 - Reply-To: set to an explicit value (reply_to_address)
    
  • DEFAULT_PRIVATE_ROSTER = 1
    # Private_roster == 0: anyone can see, 1: members only, 2: admin only.
    
    • 会員名簿のこと
  • PENDING_REQUEST_LIFE = days(3)
    # Default length of time a pending request is live before it is evicted from
    # the pending database.
    
  • DELIVERY_RETRY_PERIOD = days(5)
    # How long should messages which have delivery failures continue to be
    # retried?  After this period of time, a message that has failed recipients
    # will be dequeued and those recipients will never receive the message.