FS#11481 - [mailman] Move contents from /home/mailman to /srv/mailman
Attached to Project:
Arch Linux
Opened by Mark (voidzero) - Sunday, 14 September 2008, 10:35 GMT
Last edited by Allan McRae (Allan) - Saturday, 13 November 2010, 07:10 GMT
Opened by Mark (voidzero) - Sunday, 14 September 2008, 10:35 GMT
Last edited by Allan McRae (Allan) - Saturday, 13 November 2010, 07:10 GMT
|
Details
An increasing number of packages uses the /srv folder for
its system-wide daemons. Maybe we could let mailman use that
as well.
|
This task depends upon
Personally, I think mailman fits better in /opt/ because of its goofy non-FHS ways
Also, mailman could be used for multiple domainnames, which means that the mailman user can be bound to virtual users rather than the local mailman user. For this reason I expected /srv to be the proper place.
BTW yes mailman does uses a mailman user, but it's still being started as root....? Obviously the mailman packages came with some workarounds. Right now I'm using it under the mailman username. I simply assigned a shell to mailman.
@Mark: have you tried generating a fixed PKGBUILD for this? If you are interested in doing so, it might really help speed things along...
Permission denied: '/var/lib/mailman/logs/error'
I need 'chown -R mailman:mailman /var/lib/mailman/' to fix it.
Mail seems to be working, but web reports
http://site/mailman/listinfo
Bug in Mailman version 2.1.12
We're sorry, we hit a bug!
Please inform the webmaster for this site of this problem. Printing of traceback and other system information has been explicitly inhibited, but the webmaster can find this information in the Mailman error logs.
chown mailman:mailman /usr/lib/mailman/cgi-bin/*
chmod +s /usr/lib/mailman/cgi-bin/*
So you need to add into .install file 3 commands:
chown -R mailman:mailman /var/lib/mailman/
chown mailman:mailman /usr/lib/mailman/cgi-bin/*
chmod +s /usr/lib/mailman/cgi-bin/*
>> cd /home/mailman && bin/check_perms -f