<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Something I've noticed with this extension is that using vcards
actually forces the extension to spew out mailgate errors. I assume the
reason being that vcards use something similar to:<br>
<br>
something: somethingelse<br>
<br>
cmd via mail extension doesn't like this.<br>
<br>
I've got around this with a very bad hack by sending errors to another
email address.<br>
<br>
Specifically this line:<br>
<br>
my $ErrorsTo = RT::Interface::Email::ParseErrorsToAddressFromHead(
$args{'Message'}->head );<br>
<br>
I changed this to:<br>
<br>
my $ErrorsTo = <a class="moz-txt-link-rfc2396E" href="mailto:person\@dom\.ai\.n">"person\@dom\.ai\.n"</a>;<br>
<br>
and restarted apache.<br>
<br>
Hope this helps someone.<br>
<br>
Reginaldo Russinholi wrote:
<blockquote cite="mid:48C1106F.3060300@grupoirapida.com.br" type="cite">
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
Thanx Shawn,<br>
<br>
<br>
But I've put the following line at the end of RT_SiteConfig.pm<br>
<pre>@MailPlugins = qw(Auth::MailFrom Filter::TakeAction);
</pre>
<br>
and it doesn't work yet.<br>
<br>
<br>
One more question, to send commands by e-mail I need put the commands
at beginning of the mail, right? Like that:<br>
_____________________________________<br>
Owner: root<br>
Status: open<br>
<br>
Some comments about the changes.<br>
_____________________________________<br>
<br>
Is it correct?<br>
<br>
<br>
<br>
Reginaldo<br>
<br>
Shawn M Moore escreveu:
<blockquote cite="mid:20080904203213.GE22772@bestpractical.com"
type="cite">
<pre wrap="">On Thu, Sep 04, 2008 at 01:59:06PM -0300, Reginaldo Russinholi wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hi all,
I'm using RT 3.6.6 and I'd like to use the extension CommandByMail.
Well, I downloaded the source and follow the instrunctions to install,
but I didn't understand in what file and in what part of that file I
have to put the CommandByMail configuration.
Any help?
</pre>
</blockquote>
<pre wrap=""><!---->
Hi Reginaldo,
The config for CommandByMail goes in your RT_SiteConfig.pm file. If
you're using the standard layout, it'll be in /opt/rt3/etc.
Shawn
</pre>
</blockquote>
<br>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
<a class="moz-txt-link-freetext" href="http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users">http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users</a>
Community help: <a class="moz-txt-link-freetext" href="http://wiki.bestpractical.com">http://wiki.bestpractical.com</a>
Commercial support: <a class="moz-txt-link-abbreviated" href="mailto:sales@bestpractical.com">sales@bestpractical.com</a>
Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at <a class="moz-txt-link-freetext" href="http://rtbook.bestpractical.com">http://rtbook.bestpractical.com</a></pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Garith Dugmore
Senior Systems Administrator
South African Astronomical Observatory
and Southern African Large Telescope
Phone: 021 460 9343
Fax: 021 447 3639
SAAO Website: <a class="moz-txt-link-freetext" href="http://www.saao.ac.za">http://www.saao.ac.za</a>
SALT Website: <a class="moz-txt-link-freetext" href="http://www.salt.ac.za">http://www.salt.ac.za</a>
Jabber: <a class="moz-txt-link-abbreviated" href="mailto:gar_I_th@jabber.co.za">gar_I_th@jabber.co.za</a>
MSN: <a class="moz-txt-link-abbreviated" href="mailto:garithd@hotmail.com">garithd@hotmail.com</a>
Skype: garith5512
</pre>
</body>
</html>