The documents that guided me on this are:
- Installing Request Tracker 4 on Debian
This blog gives a good account of installing request tracker on debian for a using a custom email domain. - GmailAndExim4 on the debian wiki
It has a good breakdown of how to setup exim4 to send emails to a smarthost. I adapted the instructions to work with gmail. - Gmail POP3 with Fetchmail
The fetchmail configuration given by the first source does not show how to connect fetchmail via SSL. This document shows a configuration that can be used for gmail.
Still trying to figure out how the comment email will be sent via exim4 as it appears that one account will be used to send all emails that match the google dns.
Default Queue Settings
These were provided in the debconf wizard during the rt installation.
Queue settings (Local email account) |
/etc/email-addresses
rt4:mfano@gmail.com
rt4@localhost:mfano@gmail.com
rt4@app-server:mfano@gmail.com
/etc/fetchmailrc
poll pop.gmail.com protocol pop3 username "mfano@gmail.com" password "siri" options ssl mda "/usr/bin/rt-mailgate --queue general --action correspond --url http://localhost/rt/" no keep ;
/etc/exim4/passwd.client
*.google.com:mfano@gmail.com:siri