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

From FreekiWiki
Jump to navigation Jump to search
(leaving coder cat for now, but they would never do this, is ASS function)
 
(22 intermediate revisions by 6 users not shown)
Line 1: Line 1:
 +
{{Migrated}}
 +
[https://docs.google.com/document/d/1V1A2rFBq83cHcHDGHzMQ-Y61THs0kwT-HH5AAugy2VM/edit?usp=sharing Link]
 +
 
How to set up a queue and email list for ''FOOBAR'':
 
How to set up a queue and email list for ''FOOBAR'':
  
== On haibane (mailman server) ==
+
== On wasp (mailman server) ==
 
* Set up the mailman list ''FOOBAR''@lists.freegeek.org
 
* 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
+
* Goto <nowiki>"http://lists.freegeek.org/admin/FOOBAR/privacy/sender"</nowiki> 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 waitron (mail server) as root ==
+
== On george (mail server) as root ==
* Add an alias to /etc/postfix/virtual_alias like this:
+
* Add an alias to to the LDAP database like this:
   ''FOOBAR''@freegeek.org ''FOOBAR''@todo.freegeek.org
+
   ./ldap-addalias.sh ''FOOBAR'' ''FOOBAR''@todo.freegeek.org
* Run this command:
 
  postmap /etc/postfix/virtual_alias
 
  
== On todo (RT server) as root ==
+
== On art (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/procmail -m /etc/request-tracker4/checkspam ''FOOBAR'' correspond"
   ''FOOBAR''-comment: "|/usr/bin/rt-mailgate --queue ''FOOBAR'' --action comment --url http://localhost/rt/"
+
   ''FOOBAR''-comment: "|/usr/bin/procmail -m /etc/request-tracker4/checkspam ''FOOBAR'' comment"
 
* Run this command:
 
* Run this command:
 
   newaliases
 
   newaliases
Line 25: Line 29:
 
** Allow the user to be granted rights
 
** Allow the user to be granted rights
 
* Set up a queue called ''FOOBAR'' and:
 
* 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]]
 
** Give the appropriate group (probably fgcore) the regular [[RT Permissions]]
** Add ''FOOBAR''-user as an admin-cc watcher to the ''FOOBAR'' queue\
+
** Add ''FOOBAR''-user as an admin-cc watcher to the ''FOOBAR'' queue
 
** Give ''FOOBAR''-user the right to create and reply to tickets
 
** Give ''FOOBAR''-user the right to create and reply to tickets
  
Line 35: Line 41:
  
 
[[Category: Howto]]
 
[[Category: Howto]]
[[Category:ASS]]
+
[[Category:Technocrats]]
[[Category:Coders]]
 

Latest revision as of 10:53, 29 May 2014

deletion

This page has been migrated to a document on Free Geek's Google Drive.

Information remaining behind may no longer be relevant.

MIGRATOR:

When you have tagged this page as migrated,
please add a link to the new document on Google Drive.

(Link to new page immediately below.)


Link

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