Extension CommandByMail

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?

Regards,

Reginaldo Russinholi
Developer/Sys.Adm.
IRapida Telecom

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?

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

Thanx Shawn,

But I’ve put the following line at the end of RT_SiteConfig.pm

@MailPlugins = qw(Auth::MailFrom Filter::TakeAction);

and it doesn’t work yet.

One more question, to send commands by e-mail I need put the commands
at beginning of the mail, right? Like that:

Owner: root

Status: open

Some comments about the changes.

Is it correct?

Reginaldo

Shawn M Moore escreveu:

On Thu, Sep 04, 2008 at 01:59:06PM -0300, Reginaldo Russinholi wrote:
  
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?

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

  

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:

something: somethingelse

cmd via mail extension doesn’t like this.

I’ve got around this with a very bad hack by sending errors to another
email address.

Specifically this line:

my $ErrorsTo = RT::Interface::email::ParseErrorsToAddressFromHead(
$args{‘Message’}->head );

I changed this to:

my $ErrorsTo = “person@dom.ai.n”;

and restarted apache.

Hope this helps someone.

Reginaldo Russinholi wrote:

Thanx Shawn,

But I’ve put the following line at the end of RT_SiteConfig.pm

@MailPlugins = qw(Auth::MailFrom Filter::TakeAction);
  

and it doesn’t work yet.

One more question, to send commands by e-mail I need put the commands
at beginning of the mail, right? Like that:

Owner: root

Status: open

Some comments about the changes.

Is it correct?

Reginaldo

Shawn M Moore escreveu:

On Thu, Sep 04, 2008 at 01:59:06PM -0300, Reginaldo Russinholi wrote:
  
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?

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

  

http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sales@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
-- 

Garith Dugmore
Senior Systems Administrator
South African Astronomical Observatory
and Southern African Large Telescope

Phone:          021 460 9343
Fax:            021 447 3639
SAAO Website:   http://www.saao.ac.za
SALT Website:   http://www.salt.ac.za
Jabber:         gar_I_th@jabber.co.za
MSN:            garithd@hotmail.com
Skype:          garith5512