I have exim4 working to send mails from RT and I am trying to use fetchmail to poll exchange and collect the messages.
Fetchmail returns Fetchmail MDA returned nonzero status 2 in the syslog. I also get POP3 Protocol error 19
I look at the exchange account and I can see that fetchmail is reading the messages.
I have also tried with imap and get error writing to mda broken pipe
Here is the fetchmail config
set daemon 30:
set no bouncemail
poll mail.server.ca protocol pop3
username "email@example.com:firstname.lastname@example.org" password "xxxxxxxx"
mda "/opt/rt4/bin/rt-mailgate --queue xxxxxxx --action correspond --url http://xxxxxxx/"