Problem setting up rt-mailgate on RT 3.4.1

Hash: SHA1

I’m doing a fresh install of RT 3.4.1 and am having trouble setting up the
mail gateway.

In my /etc/mail/aliases file, I have the following:

security: “|/opt/rt3/bin/rt-mailgate --queue security --action correspond --url

Where is the URL of my RT web server. I’ve
got it configured for SSL only (not listening on port 80).

When I send mail to ‘’ from another host, the
mail remains in the queue on and ‘mailq -v’ shows the
following (a sample):j3KKbtXe045322 669 1111385 Apr 20 13:37 mikef@ack.Berkeley.EDU
(Deferred: prog mailer (/bin/sh) exited with EX_TEMPFAIL)
"|/opt/rt3/bin/rt-mailgate --queue security --action correspond --url h
(Deferred: prog mailer (/bin/sh) exited with EX_TEMPFAIL)

(The ‘url’ line is obviously truncated. My sendmail logs show the mail
was ‘deferred’ with EX_TEMPFAIL and the full URL shows there).

Is there something wrong with my mail aliases definition?

I’m running FreeBSD 5.3-RELEASE and sendmail 8.13.1. Since this is a new
system, perhaps I’m also missing something from my sendmail configuration.

I notice that ‘perldoc rt-mailgate’ says the following, among other things:

Much of the set up of the mail gateway depends on your MTA and mail
routing configuration. However, you will need first of all to create an
RT user for the mail gateway and assign it a password; this helps to
ensure that mail coming into the web server did originate from the gateway.

I don’t understand this paragraph. What RT user should I set up that
corresponds to the mail gateway?



Mike Friedman System and Network Security
mikef@ack.Berkeley.EDU 2484 Shattuck Avenue
1-510-642-1410 University of California at Berkeley

Version: PGP 6.5.8