Setting up an RT queue and a Mailman list to work together
Revision as of 13:02, 27 June 2013 by Ryan52 (talk | contribs) (→On art (RT server) as root: Fix /etc/aliases to be a file, not a directory)
How to set up a queue and email list for FOOBAR:
On wasp (mailman server)
- Set up the mailman list FOOBAR@lists.freegeek.org
- Goto "http://lists.freegeek.org/admin/FOOBAR/privacy/sender" and add the following to the "List of non-member addresses whose postings should be automatically accepted." field:
- FOOBAR@todo.freegeek.org
- FOOBAR-comment@todo.freegeek.org
- Privacy->Sender page should be set to allow implicit addresses
On george (mail server) as root
- Add an alias to to the LDAP database like this:
./ldap-addalias.sh FOOBAR FOOBAR@todo.freegeek.org
On art (RT server) as root
- Add email aliases to /etc/aliases like this:
FOOBAR: "|/usr/bin/procmail -m /etc/request-tracker4/checkspam FOOBAR correspond" FOOBAR-comment: "|/usr/bin/procmail -m /etc/request-tracker4/checkspam FOOBAR comment"
- Run this command:
newaliases
In RT as an administrator
- Create a user:
- Username = FOOBAR-user
- Email address = FOOBAR@lists.freegeek.org
- Real name = Fake FOOBAR user
- Allow the user to be granted rights
- Set up a queue called FOOBAR and:
- Set the Reply Address to FOOBAR@todo.freegeek.org
- Set the Comment Address to FOOBAR-comment@todo.freegeek.org
- Give the appropriate group (probably fgcore) the regular RT Permissions
- Add FOOBAR-user as an admin-cc watcher to the FOOBAR queue
- Give FOOBAR-user the right to create and reply to tickets
Test it
- Send a message to FOOBAR@freegeek.org
- Wait a while and check the FOOBAR RT queue
- Check the mailman archives for FOOBAR