Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 303793 - net-mail/mailman /usr/share/doc/mailman-2.1.12/README.gentoo.bz2 - needs update
Summary: net-mail/mailman /usr/share/doc/mailman-2.1.12/README.gentoo.bz2 - needs update
Status: RESOLVED OBSOLETE
Alias: None
Product: Documentation
Classification: Unclassified
Component: Other (show other bugs)
Hardware: AMD64 Linux
: High trivial (vote)
Assignee: Hanno Böck
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-06 20:24 UTC by Viorel Tabara
Modified: 2020-11-10 20:45 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Viorel Tabara 2010-02-06 20:24:35 UTC
== Preamble ==

* 'elogv' for Mailman says:
  Please read /usr/share/doc/mailman-2.1.12/README.gentoo.bz2 for additional 
  Setup information, mailman will NOT run unless you follow those 
  instructions!


== Cron setup ==

* At http://www.gentoo.org/doc/en/cron-guide.xml the fist recommended cron  is 
  'vixie-cron':
  2.  Which cron is right for you?

  Vixie cron

  Vixie cron is a full featured cron implementation based on SysV cron. Each 
  user has his own crontab and is allowed to specify environment variables 
  within that crontab. Unlike the other cron variants, it also offers support 
  for SELinux and PAM. It supports fewer architectures than Dcron, but more 
  than Fcron.

* At step 4 the Mailman README says:
  4) This must be done as user mailman:

          su - mailman

  Add the cron jobs:

          cd cron
          crontab crontab.in
          cd ..


IMO giving the instructions for 'vixie-cron' would be more aligned with the 
main Gentoo docs - something like:

  Copy ~mailman/cron/crontab.in to /etc/cron.d.

  (where ~mailman/cron/crontab.in will need to be modified to include the user 
  'mailman')

  # At 8AM every day, mail reminders to admins as to pending requests.
  # They are less likely to ignore these reminders if they're mailed
  # early in the morning, but of course, this is local time... ;)
  0 8 * * * mailman /usr/bin/python -S /usr/lib64/mailman/cron/checkdbs
  #
  # At 9AM, send notifications to disabled members that are due to be
  # reminded to re-enable their accounts.
  0 9 * * * mailman /usr/bin/python -S /usr/lib64/mailman/cron/disabled
  #
  # Noon, mail digests for lists that do periodic as well as threshhold delivery.
  0 12 * * * mailman /usr/bin/python -S /usr/lib64/mailman/cron/senddigests
  #
  # 5 AM on the first of each month, mail out password reminders.
  0 5 1 * * mailman /usr/bin/python -S /usr/lib64/mailman/cron/mailpasswds
  #
  # Every 5 mins, try to gate news to mail.  You can comment this one out
  # if you don't want to allow gating, or don't have any going on right now,
  # or want to exclusively use a callback strategy instead of polling.
  0,5,10,15,20,25,30,35,40,45,50,55 * * * * mailman /usr/bin/python -S /usr/lib64/mailman/cron/gate_news
  #
  # At 3:27am every night, regenerate the gzip'd archive file.  Only
  # turn this on if the internal archiver is used and
  # GZIP_ARCHIVE_TXT_FILES is false in mm_cfg.py
  27 3 * * * mailman /usr/bin/python -S /usr/lib64/mailman/cron/nightly_gzip
  #
  # At 4:30AM daily, cull old entries from the 'bad' and 'shunt' queues.
  30 4 * * * mailman /usr/bin/python -S /usr/lib64/mailman/cron/cull_bad_shunt



== Site password ==

* At step 4 the Mailman README says:
  Create the site password:

        bin/mmsitepass
 
There is no such file under '~mailman/bin':

    ~/bin $ qlist mailman | grep msitepass
  /usr/lib64/mailman/bin/mmsitepass 



Thanks for making Gentoo such a great distro.


Reproducible: Always

Steps to Reproduce:
1.Read the document at /usr/share/doc/mailman-2.1.12/README.gentoo.bz2
Actual Results:  
Follow the configuration steps as outlined in the document.

Expected Results:  
1. use the '/etc/cron.d/' directory
2. file '~mailman/bin/msitepass' should exist or the documentation must be updated to specify the correct location
Comment 1 Viorel Tabara 2010-02-06 20:27:09 UTC
Portage 2.1.7.16 (default/linux/amd64/10.0, gcc-4.3.4, glibc-2.10.1-r1, 2.6.29-gentoo-r5 x86_64)
=================================================================
System uname: Linux-2.6.29-gentoo-r5-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E8400_@_3.00GHz-with-gentoo-1.12.13
Timestamp of tree: Fri, 29 Jan 2010 01:15:02 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p35
dev-java/java-config: 2.1.9-r2
dev-lang/python:     2.6.4
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe -ggdb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O2 -pipe -ggdb"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms splitdebug strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://gentoo.arcticnetwork.ca/pub/gentoo/ ftp://mirrors.tera-byte.com/pub/gentoo http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/ http://gentoo.osuosl.org/ "
LANG="en_US.utf-8"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi alsa amd64 apache2 apm arts avahi berkdb bindist bluetooth branding bzip2 cairo cdb cddb cdparanoia cdr cli cracklib crypt css cups cxx daap dbus dri dts dvb dvd dvdr dvdread eds emboss encode esd evo exif fam ffmpeg firefox flac fortran gdbm gif gpm gstreamer gtk hal iconv ipv6 isdnlog java javascript joystick jpeg jpegldap kde latin1 ldap libnotify lirc lm_sensors mad mdnsresponder-compat midi mikmod mmx mmxext modules mp3 mpeg mplayer mudflap multilib mysql ncurses nls nptl nptlonly nsplugin nvidia ogg opengl openmp oss pam pcre pda pdf perl php pmu png posix ppds pppd python qt3 qt3support qt4 quicktime readline reflection rss samba sdl server session slp spell spl sqlite sse sse2 sse3 ssl startup-notification svg sysfs tcpd tiff transcode truetype type1 unicode usb v4l vcd vorbis wifi wma xcomposite xinerama xorg xulrunner xv xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Danny Robson 2013-07-26 14:26:46 UTC
As of at least 2.1.15 the URL referenced at the bottom of the document regarding Postfix alias setup (http://list.org/mailman-install/node13.html) no longer exists.

Google and Wayback Machine suggest that http://www.gnu.org/software/mailman/mailman-install/postfix-integration.html is the current home of the document. It looks to have disappeared some time after Aug 2012.
Comment 3 Hanno Böck gentoo-dev 2020-11-10 20:45:36 UTC
Affects obsolete mailman2 package.