Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 106955 - mailman README.gentoo instructions for aliases are incorrect for courier
Summary: mailman README.gentoo instructions for aliases are incorrect for courier
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Hanno Böck
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-22 22:24 UTC by Rob Rosenfeld
Modified: 2006-11-24 12:09 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 Rob Rosenfeld 2005-09-22 22:24:27 UTC
The README.gentoo instructions included with mailman-2.1.5-r4 aren't correct for
use with courier.  There are two problems
1)  courier aliases go into a file /etc/courier/aliases and then you run makealiases
2)  The alias statements should not include quotes.  If they do, makealiases
fails.  

Reproducible: Always
Steps to Reproduce:
1.
2.
3.

Actual Results:  
Steps 5 and 7 look like:

7) For each list created (either with web interface or with bin/newlist)
this must be added to /etc/mail/aliases (see smrsh notes below)
replace <list-name> with the name of the list:

        <list-name>: "|/usr/local/mailman/mail/mailman post <list-name>"
        <list-name>-admin: "|/usr/local/mailman/mail/mailman admin <list-name>"
        <list-name>-bounces: "|/usr/local/mailman/mail/mailman bounces <list-name>"
        <list-name>-confirm: "|/usr/local/mailman/mail/mailman confirm <list-name>"
        <list-name>-join: "|/usr/local/mailman/mail/mailman join <list-name>"
        <list-name>-leave: "|/usr/local/mailman/mail/mailman leave <list-name>"
        <list-name>-owner: "|/usr/local/mailman/mail/mailman owner <list-name>"
        <list-name>-request: "|/usr/local/mailman/mail/mailman request <list-name>"
        <list-name>-subscribe: "|/usr/local/mailman/mail/mailman subscribe
<list-name>"
        <list-name>-unsubscribe: "|/usr/local/mailman/mail/mailman unsubscribe
<list-name>"

Run newaliases:

        newaliases



Expected Results:  
For correct operation with courier (tested with 0.48.1) they should be:

7) For each list created (either with web interface or with bin/newlist)
this must be added to a file in /etc/courier/aliases/ (see smrsh notes below)
replace <list-name> with the name of the list:

        <list-name>: |/usr/local/mailman/mail/mailman post <list-name>
        <list-name>-admin: |/usr/local/mailman/mail/mailman admin <list-name>
        <list-name>-bounces: |/usr/local/mailman/mail/mailman bounces <list-name>
        <list-name>-confirm: |/usr/local/mailman/mail/mailman confirm <list-name>
        <list-name>-join: |/usr/local/mailman/mail/mailman join <list-name>
        <list-name>-leave: |/usr/local/mailman/mail/mailman leave <list-name>
        <list-name>-owner: |/usr/local/mailman/mail/mailman owner <list-name>
        <list-name>-request: |/usr/local/mailman/mail/mailman request <list-name>
        <list-name>-subscribe: |/usr/local/mailman/mail/mailman subscribe
<list-name>
        <list-name>-unsubscribe: |/usr/local/mailman/mail/mailman unsubscribe
<list-name>

Run makealiases:

        makealiases
Comment 1 Hanno Böck gentoo-dev 2006-11-24 12:09:31 UTC
Added a note for courier-users.