Fetchmail, Exchange 2010 and Request Tracker
With trialing the open source ticketing system Request Tracker I wanted to setup an email address that requests could go to and for Request Tracker to pick up these emails and put them into a queue. The common way for doing this is to use fetchmail to collect mail via pop3 and to then place them into a Request Tracker queue.
We dont normally use pop3 so the first thing to do was to start the pop3 service in Exchange 2010 and set it to automatic start up.
Then it was simply a case of creating and editing fetchmailrc to collect from Exchange, In the instance below it polls the Exchange Server every 10 minutes to collect and process any emails.
set daemon 600 set invisible set no bouncemail set no syslog poll EXCHANGESERVER protocol pop3 auth password username "username" password "password" mda "/opt/rt4/bin/rt-mailgate --queue General --action correspond --url http://RequestTrackerURL" no keep |