Andy, The email address has to be valid for it to get to RT. I am no guru when it comes to email but woudn't the emailer try to resolve the email address and then look for the MX record for that address in DNS. If you sent the email from the command line and your log shows that address as unroutable then it can't locate the domain in DNS. I am not sure if you added it to a host table if that would get it to work. Your resolv.conf would have to be setup to have the lookup order to include looking in the host table.
John J. Boris, Sr. JEN-A-SyS Administrator Archdiocese of Philadelphia "Remember! That light at the end of the tunnel Just might be the headlight of an oncoming train!" >>> "Andy Smith" <[EMAIL PROTECTED]> 5/28/2008 2:51 PM >>> Hi, ok I have proven that I can successfully create a ticket remotely from the Exim server by cat'ing an email into rt-mailgate like this: cat 1172082829.H159040P74283.mx.test.net |/usr/local/rt3/bin/rt-mailgate --queue General --action correspond --url http://rt3.test.net/ But still real email even if generated on the command line on the mail server isnt making it to RT... In my exim logs I see unroutable address. Whats the recommended config here to make this work? thanks Andy. ----- Original Message ----- From: Andy Smith To: rt-users@lists.bestpractical.com Sent: Wednesday, May 28, 2008 6:43 PM Subject: Not understanding initial email config :( Hi, Im new to RT and am trying to configure a pilot system on FreeBSD, using RT 3.6.6. I want to get incoming mail to go to the general queue (creating a new ticket) but from the documentation Im really not understanding how this is meant to work. I have the RT server up and running on one server, and we have our live Exim SMTP running on another. On the RT box I have this in the site config PM file: Set($MailCommand , 'sendmail'); Set($SendmailArguments , "-bm -- [EMAIL PROTECTED]"); Set($SendmailPath, "/usr/local/sbin/exim"); and on the Exim box I have installed the RT binaries so I have the rt-mailgate script and put this into the aliases file: rt-general: "|/usr/local/rt3/bin/rt-mailgate --queue general --action correspond --url http://rt3.test.net/" Is this really all I have to do?? So far it isnt working, but that doesnt surprise me much as I dont get how this can work :S However this alias syntax is totally new to me and seems quite odd :S I did see one or two things written about adding some special config into the exim MTA config file, but I dont really want to have to modify my live exim MTA config just cos I want to add a new queue to RT. Anyone that can help me out of my confusion would be greatly appreciated! thanks in advance, Andy. _______________________________________________ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: [EMAIL PROTECTED] Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com