[rt-users] RT and Mail Gateway...help

Bruce Campbell bruce_campbell at ripe.net
Mon Apr 8 05:07:49 EDT 2002


( Note that although I respond a lot on rt-users, I'm not a personal help
  desk.  Jesse does that in return for the foldable stuff ;).  Shifted
  back to rt-users. )

On Mon, 8 Apr 2002, maniezhilan wrote:

> Thanks for the information, I have done the same thing as u mentioned.
> Iam not sure whether Iam correct, Iam figuring out here the entire the
> scenario..please correct me , if Iam wrong.
>
> RT installed in 192.168.0.17 system. (Redhat 7.2)
> Mail Server installed in 192.168.0.3 (Redhat 6.2)

I'm going to refer to these as 'RT' and 'Mail' respectively.

> RT Installed System:
> In 192.168.0.17, where I have installed RT, I edited the sendmail.cf and
> added the
> SmartHost of the Mail Server 192.168.0.3  (DS 192.168.0.3)
> I have also added the cron activity for flushing the mail queue.

Yes, this will clear up the mail that RT generates (ensures that it gets
delivered).

On 'RT':
> In the aliases file I have added the following content,
>
> rt: "|/usr/local/rt2/bin/rt-mailgate --queue general --action correspond"
> rt-comment: "|/usr/local/rt2/bin/rt-mailgate --queue general --action
> comment"

The trick that you need now is to deliver mail to the RT system.  You can
do this via one of two methods:

	a) Install RT also on the Mail server, and ensure that the
	   configuration of RT (config.pm) points to the RT server
	   ($DatabaseHost) *and* that the mysql rt_user on the RT server
	   can connect from the Mail server.

	b) Run sendmail on the RT server (accepting connections or from
	   inetd), and have the RT aliases on the Mail server read (lets
	   assume you're example.com):

		rt:	rt at rt.example.com
		rt-comment:	rt-comment at rt.example.com

	   The RT server's sendmail is configured to only accept mail for
	   'rt.example.com' (or whatever name you want that is seperate
	   from your main mail; remember to keep the RT addresses
	   @example.com in the configuration so you don't have the RT
	   server's mail port exposed to the outside)

> In the Mail Server 192.168.0.3, I have created two pop users rt and
> rt-comment.

Unless you install RT on the Mail server, you don't need any rt-specific
users on the Mail server

Regards,

-- 
                             Bruce Campbell                            RIPE
                   Systems/Network Engineer                             NCC
                 www.ripe.net - PGP562C8B1B                      Operations





More information about the rt-users mailing list