[rt-users] Am a little bit lost with setup of RT

Rainer Duffner rainer at ultra-secure.de
Sat Apr 14 15:49:04 EDT 2012


Am Sat, 14 Apr 2012 10:12:21 -0700 (PDT)
schrieb who else <bogey_63 at yahoo.com>:

> 

> > Any idea how to get mailgate running? The Mails are not bounced,
> > but i receive every 5hrs a mail delayed email.



In my experience, it's pretty straighforward to get RT running -
provided you do exactly as described in the documentation and (to a
certain degree) know what you are doing.

I admit, I removed the default vhost from apache completely and I ended
up getting this:

(RT 3.8)


<VirtualHost IP:443>
ServerName rt3.domain:443
ServerAdmin admin
DocumentRoot "/usr/local/rt38/share/html"
AddDefaultCharset UTF-8
   <Directory /usr/local/rt38/share/html/>
    Options FollowSymLinks
    AllowOverride None
    Order Allow,Deny
    Allow from all
   </Directory>
   PerlModule Apache::DBI
    PerlRequire /usr/local/rt38/bin/webmux.pl
    <Location />
     SetHandler perl-script
     PerlHandler RT::Mason
    </Location>
ErrorLog /var/log/apache/rt3-httpd-error.log
TransferLog /var/log/apache/rt3-httpd-access.log
SSLEngine on
SSLCipherSuite
ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
SSLCertificateFile /usr/local/etc/apache22/ssl.rt3/server.crt
SSLCertificateKeyFile /usr/local/etc/apache22/ssl.rt3/server.key
<FilesMatch "\.(cgi|shtml|phtml|php)$"> SSLOptions +StdEnvVars
</FilesMatch>
<Directory "/usr/local/www/apache22/cgi-bin">
    SSLOptions +StdEnvVars
</Directory>
BrowserMatch ".*MSIE.*" \
         nokeepalive ssl-unclean-shutdown \
         downgrade-1.0 force-response-1.0
CustomLog /var/log/httpd-ssl_request.log \
          "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
</VirtualHost>                       


I've only installed RT4 in a VM, but the basic apache config is similar,
IIRC.


Personally, I found fetchmail the easiest to get to run, at the price
of inflexibility (you need to define every queue in the
fetchmail-config, which may or may not be what you want):


#Template
# Queue: QUEUE_NAME
poll your.pop3.server proto pop3:
username QUEUE_NAME password PASSWORD mda \
"/usr/bin/perl /usr/local/rt38/bin/rt-mailgate --url \
https://rt3.domain/ --queue QUEUE_NAME --action correspond" 
poll your.pop3.server proto pop3: 
username QUEUE_NAME-comment password PASSWORD mda \
"/usr/bin/perl /usr/local/rt38/bin/rt-mailgate --url \
https://rt3.domain/ --queue QUEUE_NAME --action comment"


Obviously, your usernames might be different from your queue-names.

All that pulled from the wiki and the mailing-list, back in 2005...


I also admit, I run qmail on the rt3-server - because that's the only
MTA that I really understand ;-)



Rainer




More information about the rt-users mailing list