I have built my company’s RT server to the point where users can authenticate via LDAP as well as a postfix mail server on the RT host that you can use to send email to accounts intended for use with RT. This postfix server also has pop3 and IMAP functionality.
However, I tried following the ‘getmail’ (not the fetchmail) portion of this tutorial:
I was able to have the email sent to RT downloaded via pop. It seems to go ok…
[rt@host .getmail]$ getmail --rcfile getmailrc
getmail version 4.23.0
Copyright © 1998-2009 Charles Cazabon. Licensed under the GNU GPL version 2.
msg 1/3 (1521 bytes) from Tim.Dunphy@example.com delivered to MDA_external command rt-mailgate ()
msg 2/3 (1552 bytes) from Tim.Dunphy@exmaple.com delivered to MDA_external command rt-mailgate ()
msg 3/3 (1560 bytes) from Tim.Dunphy@example.com delivered to MDA_external command rt-mailgate ()
3 messages (4633 bytes) retrieved, 0 skipped
Retrieved 3 messages (4633 bytes) from SimplePOP3Retriever:email@example.com@rt.mm3.mlbam.com:110
The getmailrc file looks like this:
type = MDA_external
path = /usr/local/rt4/bin/rt-mailgate
user = rt
group = rt
arguments = ("–url", “http://rt.foo.example.com/helpdesk”, “–queue”, “ops”, “–action”, “correspond”,)
read_all = false
delete_after = 8
verbose = 2
I have created resource configs for the actions comment, correspond and reply
[rt@monitor03 .getmail]$ ls
firstname.lastname@example.org rtcomment rtcorrespond rtreply
I’ve created a queue and dashboard called simply ‘ops’. However when I send email to email@example.com and do I search for tickets none turn up and I get this reply from the RT server.
No permission to create tickets in the queue
It’s a great opportunity to build an RT server for a company as large as this.
Thanks in advance for your help!