[Mailman-Users] postfix MAIL_GID

Dikshie dikshie at ppk.itb.ac.id
Wed Oct 1 08:24:05 CEST 2003


Vivek Khera (khera at kcilink.com) wrote:
> make sure /usr/local/mailman/data/aliases and ..../data/virtual are
> owned by user mailman, as are the *.db versions of the same files.
> In my installation, the data directory is group writable by group
> mailman.  I assume the port did it that way, as I don't recall
> changing the group ownership, but it is possible.
> 
> What's the output of:
> 
> ls -la /usr/local/mailman/data
> 
> on your system?


just fresh installed again with mailman-2.1.3 from FreeBSD port
(and offcourse I've installed postfix-devel  from FreeBSD port too)

ipv6#ipv6# uname -srm
FreeBSD 5.1-CURRENT i386

ipv6#cd /usr/ports/mail/mailman
ipv6#make MAIL_GID=mailman install clean

ipv6# ls -la  /usr/local/mailman/
total 40
drwxrwsr-x  20 mailman  mailman   512 Oct  1 12:51 .
drwxr-xr-x  18 root     wheel     512 Oct  1 12:49 ..
drwxrwsr-x  11 root     mailman  1536 Oct  1 13:00 Mailman
drwxrwsr-x   4 root     mailman   512 Oct  1 12:51 archives
drwxrwsr-x   2 root     mailman  1024 Oct  1 12:52 bin
drwxrwsr-x   2 root     mailman   512 Oct  1 12:51 cgi-bin
drwxrwsr-x   2 root     mailman   512 Oct  1 12:52 cron
drwxrwsr-x   2 root     mailman   512 Oct  1 13:00 data
drwxrwsr-x   2 root     mailman   512 Oct  1 12:51 icons
drwxrwsr-x   2 root     mailman   512 Oct  1 12:51 lists
drwxrwsr-x   2 root     mailman   512 Oct  1 13:00 locks
drwxrwsr-x   2 root     mailman   512 Oct  1 12:55 logs
drwxrwsr-x   2 root     mailman   512 Oct  1 12:51 mail
drwxrwsr-x  24 root     mailman   512 Oct  1 12:51 messages
drwxrwsr-x   6 root     mailman   512 Oct  1 12:51 pythonlib
drwxrwsr-x   2 root     mailman   512 Oct  1 12:51 qfiles
drwxrwsr-x   2 root     mailman   512 Oct  1 12:52 scripts
drwxrwsr-x   2 root     mailman   512 Oct  1 12:51 spam
drwxrwsr-x  26 root     mailman   512 Oct  1 12:51 templates
drwxrwsr-x   4 root     mailman   512 Oct  1 12:51 tests



then:

ipv6#cd /usr/local/mailman
ipv6#bin/genaliases
ipv6#su
ipv6#chown mailman:mailman data/aliases*

ipv6# ls -la /usr/local/mailman/data/
total 70
drwxrwsr-x   2 root     mailman    512 Oct  1 13:00 .
drwxrwsr-x  20 mailman  mailman    512 Oct  1 12:51 ..
-rw-rw----   1 mailman  mailman    357 Oct  1 13:00 aliases
-rw-r-----   1 mailman  mailman  65536 Oct  1 13:00 aliases.db
-rw-r--r--   1 root     mailman     10 Oct  1 12:52 last_mailman_version
-rw-r--r--   1 root     mailman  14110 Oct  1 12:51 sitelist.cfg

then I edited postfix's main.cf

ipv6#  vi /usr/local/etc/postfix/main.cf
       alias_maps = hash:/etc/aliases, hash:/usr/local/mailman/data/aliases








many thanks !

-dikshie-




More information about the Mailman-Users mailing list