Andy
On Wed, 2008-05-28 at 21:01 +0200, Andy Smith wrote:
> Im trying to configure RT (request tracker ticket system) with Exim to
> automatically generate tickets when mail is sent to a given email address.
You need an aliases router, fairly early on in your config, as follows:
system_aliases:
driver = redirect
file_transport = address_file
pipe_transport = address_pipe
data = ${lookup{$local_part}lsearch{/etc/aliases}}
# uncomment the following if you want to restrict to specific domains
# domains = +local_domains
# uncomment the following if you want to restrict to a single domain
domains = your.local.domain
Then have in your alias file the line you previously mentioned:
rt-general: "|/usr/local/rt3/bin/rt-mailgate --queue general --action
correspond --url
http://rt3.ukgrid.net/"
Such that someone mailing rt-general@??? will go into RT.
You can then create custom email addresses for specific queues by
changing the alias "rt-general" to, say, "network-team" and change the
queue in the pipe to "network-team". That assumes you have a queue
called network-team, obviously :)
HTH - if it doesn't, run "exim -d -bt rt-general@???" and
post the output here if it doesn't help you.
Graeme