[rt-users] Problem setting up rt-mailgate on RT 3.4.1

Mike Friedman mikef at ack.Berkeley.EDU
Wed Apr 20 18:13:02 EDT 2005


-----BEGIN PGP SIGNED MESSAGE-----
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 https://sns-rt.berkeley.edu/"

Where https://sns-rt.berkeley.edu 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 'security at sns-rt.berkeley.edu' from another host, the
mail remains in the queue on sns-rt.berkeley.edu and 'mailq -v' shows the
following (a sample):

  j3KKbtXe045322      669    1111385 Apr 20 13:37 <mikef at ack.Berkeley.EDU>
   (Deferred: prog mailer (/bin/sh) exited with EX_TEMPFAIL)
      (---security:26:0:<security at sns-rt.berkeley.edu>---)
      "|/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?

Thanks.

Mike

_____________________________________________________________________
Mike Friedman                   System and Network Security
mikef at ack.Berkeley.EDU          2484 Shattuck Avenue
1-510-642-1410                  University of California at Berkeley
http://ack.Berkeley.EDU/~mikef  http://security.berkeley.edu
_____________________________________________________________________

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5.8

iQA/AwUBQmbT9q0bf1iNr4mCEQJMMQCg2Pot/9H9h3E+WZFPUMvl/uFm/ygAnR+y
a/VA4QFULuaZCPY7kLB7j2lS
=FSq8
-----END PGP SIGNATURE-----



More information about the rt-users mailing list