Difference between revisions of "Setting up an RT queue and a Mailman list to work together"

From FreekiWiki
Jump to navigation Jump to search
Line 15: Line 15:
 
== On todo (RT server) as root ==
 
== On todo (RT server) as root ==
 
* Add email aliases to /etc/aliases/ like this:
 
* Add email aliases to /etc/aliases/ like this:
   ''FOOBAR'': "|/usr/bin/rt-mailgate --queue ''FOOBAR'' --action correspond --url http://localhost/rt/"
+
   ''FOOBAR'': "|/usr/bin/rt-mailgate --queue ''FOOBAR'' --action correspond --url <nowiki>http://localhost/rt/"</nowiki>
   ''FOOBAR''-comment: "|/usr/bin/rt-mailgate --queue ''FOOBAR'' --action comment --url http://localhost/rt/"
+
   ''FOOBAR''-comment: "|/usr/bin/rt-mailgate --queue ''FOOBAR'' --action comment --url <nowiki>http://localhost/rt/"</nowiki>
 
* Run this command:
 
* Run this command:
 
   newaliases
 
   newaliases

Revision as of 17:42, 3 May 2007

How to set up a queue and email list for FOOBAR:

On bumblebee (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:
    • rt@todo.freegeek.org
    • rt-comment@todo.freegeek.org

On brin (mail server) as root

  • Add an alias to /etc/postfix/virtual_alias like this:
 FOOBAR@freegeek.org FOOBAR@todo.freegeek.org
  • Run this command:
 postmap /etc/postfix/virtual_alias

On todo (RT server) as root

  • Add email aliases to /etc/aliases/ like this:
 FOOBAR: "|/usr/bin/rt-mailgate --queue FOOBAR --action correspond --url http://localhost/rt/"
 FOOBAR-comment: "|/usr/bin/rt-mailgate --queue FOOBAR --action comment --url http://localhost/rt/"
  • 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:
    • Add FOOBAR-user as an admin-cc watcher to the FOOBAR queue
    • Give FOOBAR-user the right to create and reply to tickets
  • Give the appropriate group (probably fgcore) the regular RT Permissions

Test it

  • Send a message to FOOBAR@freegeek.org
  • Wait a while and check the FOOBAR RT queue
  • Check the mailman archives for FOOBAR