Hi,
I am having an issue in RT . I have configured fetchmail. I am mentioning my mail box settings below:
set daemon 60
set invisible
set no bouncemail
set syslog poll mail.xxxxxxx.net protocol IMAP user "xxxx@xxxxx.com" password "somepassword" mda "/opt/rt/bin/rt-mailgate --url http://192.168.0.10/rt --queue 'General' --action correspond" no keep
I checked the fetchmail log and found that the mails are being read by fetchmail, but rt-mailgate doesnot feed it to RequestTracker (not tickets are being created).
I also tried using: poll mail.xxxxxxx.net protocol IMAP user "xxxx@xxxxx.com" password "somepassword" mda "/usr/bin/perl /opt/rt/bin/rt-mailgate --url http://192.168.0.10/rt --queue 'General' --action correspond" no keep
After this I ran the command fetchmail -f /usr/rt/etc/fetchmailrc
where fetchmailrc being the file configurations being saved.
When you manually ran the fetchmail command, did you get any errors? It certainly is good that you know that you are successfully accessing the mailbox. That narrows down the scope.
The only thing that looks to be different from my rc is I don’t use quotes the queue name. I’m not sure how fetchmail handles quotes, so the script might see them as part of the queue name.
If on *nix, you might also try copying a mail message into a file on your RT server. Make sure it is the raw message that includes the full MIME headers. Once you have that, you can do
cat /path/to/message | /opt/rt/bin/rt-mailgate --url http://192.168.0.10/rt --queue General --action correspond