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

2012-04-14 Thread Rainer Duffner
Am Sat, 14 Apr 2012 10:12:21 -0700 (PDT)
schrieb who else :

> 

> > 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)



ServerName rt3.domain:443
ServerAdmin admin
DocumentRoot "/usr/local/rt38/share/html"
AddDefaultCharset UTF-8
   
Options FollowSymLinks
AllowOverride None
Order Allow,Deny
Allow from all
   
   PerlModule Apache::DBI
PerlRequire /usr/local/rt38/bin/webmux.pl

 SetHandler perl-script
 PerlHandler RT::Mason

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
 SSLOptions +StdEnvVars


SSLOptions +StdEnvVars

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"
   


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



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

2012-04-14 Thread who else



Kevin Falcone-2 wrote:
> 
> On Thu, Apr 12, 2012 at 08:31:22AM -0700, who else wrote:
>> 
>>> Have set up RT before, but i am missing my installation documentation;
>>> nowhere to be seen.
>>> 
>>> I have RT up and running on IP adress and Port 8080 with the RT Server.
>>> What
>>> doesn't work at all is the Mailinterface. He says, he sends mails, but
>>> they
>>> never arrive, also, Mails i send to RT won't arrive, so i assume there
>>> is a
>>> problem on that side.
> 
>>You're running on 8080? so you access it as http://example.com:8080 ?
>>You're telling mailgate to access it on 80 not 8080.
> 
> I started the rt server with port 8080 and i can only access it with IP
> Adress and port 8080, like http://123.456.789.0:8080, i cannot access it
> via http://www.example.com:8080.
> I gave it another try by using this setting for apache:
> 
>   
> ### Optional apache logs for RT
> ErrorLog /opt/rt4/var/log/apache2.error
>  TransferLog /opt/rt4/var/log/apache2.access
>  LogLevel debug
> 
>  AddDefaultCharset UTF-8
> 
> DocumentRoot /opt/rt4/share/html
> 
> Order allow,deny
> Allow from all
> 
> SetHandler modperl
> PerlResponseHandler Plack::Handler::Apache2
> PerlSetVar psgi_app /opt/rt4/sbin/rt-server
> 
> 
> use Plack::Handler::Apache2;
> Plack::Handler::Apache2->preload("/opt/rt4/sbin/rt-server");
> 
> 
> 
> But that wouldn't work either. I still can only connect via IP Adress.
> 
> The default configuration is like this:
> 
>   ServerAdmin webmaster@localhost
> 
>   DocumentRoot /var/www
>   
>   Options FollowSymLinks
>   AllowOverride None
>   
>   
>   Options Indexes FollowSymLinks MultiViews
>   AllowOverride None
>   Order allow,deny
>   allow from all
>   
> 
>   ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
>   
>   AllowOverride None
>   Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
>   Order allow,deny
>   Allow from all
>   
> 
>   #Include /etc/request-tracker4/apache2-modperl2.conf
> 
> 
>   ErrorLog /var/log/apache2/error.log
> 
>   # Possible values include: debug, info, notice, warn, error, crit,
>   # alert, emerg.
>   LogLevel warn
> 
>   #CustomLog ${APACHE_LOG_DIR}/access.log combined
> 
> Alias /doc/ "/usr/share/doc/"
> 
> Options Indexes MultiViews FollowSymLinks
> AllowOverride None
> Order deny,allow
> Deny from all
> Allow from 127.0.0.0/255.0.0.0 ::1/128
> 
> 
> 
> 
>> I am wondering about the settings for Postfix:
>> rt: "|/opt/rt4/bin/rt-mailgate --queue general --action correspond --url
>> http://example.com";
>> rt-comment: "|/opt/rt4/bin/rt-mailgate --queue general --action comment
>> --url http://example.com";
>> 
>> I gave it a shot with fetchmail, but didn't succeed there.
>> 
>> My configuration is: The RT Website should be found under
>> http://www.example.com, although i would like to have https instead, but
>> i
>> want to have it working first, before i am going to experiment with SSL.
>> 
>> Anybody got a list of packages i need besides the deps, i can fix with
>> make
>> fixdeps?
>> Also, how to configure Apache Server? I do not want to have it in a
>> subdirectory like http://example.com/rt
> 
> The standard RT documentation in web_deployment.pod describes how to
> put it at example.com.
> 
>> Perhaps someone could push me in the right direction, please? Tried to
>> find
>> a complete, and also uptodate installation documentation for Ubuntu 10.04
>> but haven't found something real helpful.
> 
> -kevin
> 
> Any idea how to get mailgate running? The Mails are not bounced, but i
> receive every 5hrs a mail delayed email.
> 
> Thanks for help!
> Best
> 
> 
>  
> 

-- 
View this message in context: 
http://old.nabble.com/Am-a-little-bit-lost-with-setup-of-RT-tp33676210p33687430.html
Sent from the Request Tracker - User mailing list archive at Nabble.com.



Re: [rt-users] RT 4.0.5 & Extension::ToggleSuperUser

2012-04-14 Thread Joop

Steve Huston wrote:

On 4/13/12 3:15 PM, Steve Huston wrote:
  

I've installed the ToggleSuperUser extension, even cleared the Mason
cache, but the toggle "button" is just behind the "Home" and "Tickets"
links on the top and nigh impossible to click.  Surprisingly I didn't
see mention of this on the list archives though.. anyone have a hint?



On second thought, I was able to manually trigger the toggle anyway and
this didn't seem to do much of anything; I'm guessing it doesn't work
with 4.x at all.

  
You could try BecomeUser which would give you the same result and I know 
that one works. Be sure to download the 4.x compatible version.


Joop