From Request Tracker Wiki
Jump to navigation Jump to search

Edit /etc/alias

Mailgate processes emails piped through /etc/alias.

  • Edit /etc/alias with entries for your queue names:
helpdesk: "|/usr/bin/rt-mailgate --queue helpdesk --action correspond --url"
helpdesk-comment: "|/usr/bin/rt-mailgate --queue helpdesk --action comment --url"
office: "|/usr/bin/rt-mailgate --queue office --action correspond --url"
office-comment: "|/usr/bin/rt-mailgate --queue office --action comment --url"
support: "|/usr/bin/rt-mailgate --queue support --action correspond --url"
support-comment: "|/usr/bin/rt-mailgate --queue support --action comment --url"
infra: "|/usr/bin/rt-mailgate --queue infra --action correspond --url"
infra-comment: "|/usr/bin/rt-mailgate --queue infra --action comment --url"
  • Run newaliases to create the new aliases.db file for postfix.
  • Reload postfix - service postfix reload - /etc/init.d/postfix reload

Configure Apache

Edit your entry for RT to allow connections from your IP:

# Limit mail gateway access to localhost by default

   Order Allow,Deny
   Allow from
   Allow from (whatever your machine's IP is)