OTRS

From Wikitech
(Difference between revisions)
Jump to: navigation, search
m ({{PD}})
(shuffled otrs apache config stuff)
Line 22: Line 22:
 
</pre>
 
</pre>
 
* Now the person(s) taking care of email to that address may log in to OTRS and set up an entry for the queue, the email address, etc.
 
* Now the person(s) taking care of email to that address may log in to OTRS and set up an entry for the queue, the email address, etc.
 +
 +
 +
==albert OTRS notes==
 +
* 01:14, 28 Sep 2004 (UTC) - (a few hours ago) moved contents of <tt>/etc/httpd/conf.d/otrs.conf</tt> into <tt>/etc/httpd/conf/httpd.conf</tt> and put it in a new VirtualHost section, for ticket.wikimedia.org.
 +
* 01:14, 28 Sep 2004 (UTC) - apache is complaining in error log that <tt>/opt/otrs/RELEASE</tt> does not exist
  
  
Line 31: Line 36:
  
 
----
 
----
==''Ignore everything below''==
+
==''Ignore the following''==
  
 
When I installed OTRS on zwinger, a workaround was needed to deal with a known problem with perl and UTF-8 ([https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=106228 Redhat bug report]).  The 1st and 3rd lines in the below code snippet were added in /opt/otrs/Kernel/cpan-lib/Email/Valid.pm, which is the CPAN module <tt>Email::Valid</tt>.
 
When I installed OTRS on zwinger, a workaround was needed to deal with a known problem with perl and UTF-8 ([https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=106228 Redhat bug report]).  The 1st and 3rd lines in the below code snippet were added in /opt/otrs/Kernel/cpan-lib/Email/Valid.pm, which is the CPAN module <tt>Email::Valid</tt>.

Revision as of 01:14, 28 September 2004

OTRS is installed on albert.wikimedia.org.

  • URL is http://ticket.wikimedia.org/otrs/index.pl
  • Installed using an rpm from Dag (add link here), with some command-line work afterwards, using the documentation at [1].
  • The root user/pass is in /home/wikipedia/doc/otrs


How to add another foo (at) wikimedia.org address to OTRS

  • Login to zwinger
    • vi /etc/postfix, and add an entry like the following:
noc:            otrs+noc (at) albert.wikimedia.org
info-en:        otrs+info-en (at) albert.wikimedia.org
    • postalias /etc/postfix/aliases
    • postfix reload
  • Login to albert
    • vi /opt/otrs/.procmailrc, find the entries looking like this, and add another one:
:0 fhw :
* TO:otrs\+info-en (at) wikimedia.org
| formail -I "X-OTRS-Queue: info-en"
  • Now the person(s) taking care of email to that address may log in to OTRS and set up an entry for the queue, the email address, etc.


albert OTRS notes

  • 01:14, 28 Sep 2004 (UTC) - (a few hours ago) moved contents of /etc/httpd/conf.d/otrs.conf into /etc/httpd/conf/httpd.conf and put it in a new VirtualHost section, for ticket.wikimedia.org.
  • 01:14, 28 Sep 2004 (UTC) - apache is complaining in error log that /opt/otrs/RELEASE does not exist


.

.

.


Ignore the following

When I installed OTRS on zwinger, a workaround was needed to deal with a known problem with perl and UTF-8 (Redhat bug report). The 1st and 3rd lines in the below code snippet were added in /opt/otrs/Kernel/cpan-lib/Email/Valid.pm, which is the CPAN module Email::Valid.

Encode::_utf8_off($addr);
($addr) = Mail::Address->parse( $addr );
Encode::_utf8_on($addr);

In order to get OTRS working properly on zwinger, this workaround would have to have been added in about 30 places. I chose to install it on albert instead, and it seems to work fine without any ugly hacks. -- Jeronim 13:02, 17 Sep 2004 (UTC)

Template:PD

Personal tools
Namespaces

Variants
Actions
Navigation
Ops documentation
Wiki
Toolbox