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 1: Line 1:
How to set up a queue and email list for foo:
+
How to set up a queue and email list for ''FOOBAR'':
  
* Set up a Mailman list
+
== On haibane (mailman server) ==
* Set up an RT queue with the regular [[RT Permissions]]
+
* Set up the mailman list ''FOOBAR''@lists.freegeek.org
 +
* Goto http://lists.freegeek.org/admin/FOOBAR/privacy/sender and add "rt@todo.freegeek.org" to the "List of non-member addresses whose postings should be automatically accepted." field
  
 +
== On waitron (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
  
(not done yet)
+
 
 +
== 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 the '''newaliases''' command on todo
 +
 
 +
== In RT as an administrator ==
 +
* Create a user:
 +
** username = ''FOOBAR''-user
 +
** email address = ''FOOBAR''@lists.freegeek.org
 +
** real name = Fake ''FOOBAR'' user
 +
* Set up a queue called ''FOOBAR'' with the regular [[RT Permissions]]
 +
* Add ''FOOBAR''-user as an admin-cc watcher to the ''FOOBAR'' queue
 +
 
 +
[[Category: Howto]]

Revision as of 10:20, 12 June 2005

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

On haibane (mailman server)

On waitron (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 the newaliases command on todo

In RT as an administrator

  • Create a user:
    • username = FOOBAR-user
    • email address = FOOBAR@lists.freegeek.org
    • real name = Fake FOOBAR user
  • Set up a queue called FOOBAR with the regular RT Permissions
  • Add FOOBAR-user as an admin-cc watcher to the FOOBAR queue