Command by mail

Hi all.

The package commandbyemail don’t work well for us.

Sometime it’s don’t do what he suppose to do. For example when I put

AddCC: some.one@somewhere.

sometime RT don’t add the address as CC. Sometime he does.

I don’t known why.

Anyone have this kind of problem ?

For us commandbyemail is very important feature, can bestpratical integrate
�commandbyemail� in the RT Core (or something like that) ?

Regards.

JAS
Albert SHIH
DIO batiment 15
Observatoire de Paris Meudon
5 Place Jules Janssen
92195 Meudon Cedex
T�l�phone : 01 45 07 76 26/06 86 69 95 71
Heure local/Local time:
jeu 26 mai 2011 22:44:21 CEST

Hi,

did you add it to your Plugins ?

Set(@Plugins, qw(
RT::Extension::CommandByMail

and also to the Mailplungins - in the right order like
Set(@MailPlugins, qw(Auth::MailFrom Filter::TakeAction) );

kind regards
Danny

Le 26/05/2011 � 22:47:00+0200, Albert Shih a �crit

Hi all.

The package commandbyemail don’t work well for us.

Sometime it’s don’t do what he suppose to do. For example when I put

AddCC: some.one@somewhere.

sometime RT don’t add the address as CC. Sometime he does.

forget to say : This is the log message :

Error message: Could not find or create that user (/usr/local/share/rt38/plugins/RT-Extension-CommandByMail/lib/RT/Interface/Email/Filter/TakeAction.pm:696)

But when I go to web interface I can add manually the user as CC.

I use

RT::Authen::ExternalAuth

too.

Regards.

JAS
Albert SHIH
DIO batiment 15
Observatoire de Paris Meudon
5 Place Jules Janssen
92195 Meudon Cedex
T�l�phone : 01 45 07 76 26/06 86 69 95 71
Heure local/Local time:
jeu 26 mai 2011 23:00:55 CEST

Albert,

Sounds to me that you haven’t set your configuration to automatically add a
user:

Set($AutoCreate, [Privileged , 0]);

This setting allows RT to automatically add a user that was not already on
the DB (your error message) as an “UnPrivileged” user. Change the 0 to 1 if
you want them to be “Privileged”.

Kenn
LBNLOn Thu, May 26, 2011 at 2:03 PM, Albert Shih Albert.Shih@obspm.fr wrote:

Le 26/05/2011 à 22:47:00+0200, Albert Shih a écrit

Hi all.

The package commandbyemail don’t work well for us.

Sometime it’s don’t do what he suppose to do. For example when I put

AddCC: some.one@somewhere.

sometime RT don’t add the address as CC. Sometime he does.

forget to say : This is the log message :

   Error message: Could not find or create that user

(/usr/local/share/rt38/plugins/RT-Extension-CommandByMail/lib/RT/Interface/Email/Filter/TakeAction.pm:696)

But when I go to web interface I can add manually the user as CC.

I use

   RT::Authen::ExternalAuth

too.

Regards.

JAS

Albert SHIH
DIO batiment 15
Observatoire de Paris Meudon
5 Place Jules Janssen
92195 Meudon Cedex
Téléphone : 01 45 07 76 26/06 86 69 95 71
Heure local/Local time:
jeu 26 mai 2011 23:00:55 CEST

Le 26/05/2011 � 14:22:16-0700, Kenneth Crocker a �crit

Albert,

Thanks for you help

Well it’s not working. But now I find more stability.

If I put

AddCC: email_address

and email_address is already in the RT it’s working.

But if the email_address is not in RT it’s not working.

Sounds to me that you haven’t set your configuration to automatically add a
user:

Set($AutoCreate, [Privileged , 0]);

This setting allows RT to automatically add a user that was not already on the
DB (your error message) as an “UnPrivileged” user. Change the 0 to 1 if you
want them to be “Privileged”.

I just try this it’s change nothing.

thanks for you help

Regards.

JAS
Albert SHIH
DIO batiment 15
Observatoire de Paris Meudon
5 Place Jules Janssen
92195 Meudon Cedex
T�l�phone : 01 45 07 76 26/06 86 69 95 71
Heure local/Local time:
jeu 26 mai 2011 23:45:32 CEST

Le 26/05/2011 � 22:51:23+0200, Daniel Schwager a �crit
Hi.

did you add it to your Plugins ?

Set(@Plugins, qw(
RT::Extension::CommandByMail

and also to the Mailplungins - in the right order like
Set(@MailPlugins, qw(Auth::MailFrom Filter::TakeAction) );

Yes…I’ve this.

Regards.

JAS
Albert SHIH
DIO batiment 15
Observatoire de Paris Meudon
5 Place Jules Janssen
92195 Meudon Cedex
T�l�phone : 01 45 07 76 26/06 86 69 95 71
Heure local/Local time:
jeu 26 mai 2011 23:54:38 CEST

Sounds to me that you haven’t set your configuration to automatically add a user:
Set($AutoCreate, [Privileged , 0]);

Autocreation of users in normal RT isn’t controlled by that variable.
I suggest reviewing the doc for it in RT_Config.pm

The user also mentioned RT-Authen-ExternalAuth which brings in other
user creation variables.

I’m not sure if RT-Extension-CommandByMail creates new watchers or
just adds existing users as watchers.

-kevin

Le 26/05/2011 à 14:22:16-0700, Kenneth Crocker a écrit
If I put

AddCC: email_address

and email_address is already in the RT it’s working.

But if the email_address is not in RT it’s not working.

Please report this to the Extension’s queue on rt.cpan.org now that
you’ve identified the cause.

-kevin

Le 26/05/2011 � 18:05:12-0400, Kevin Falcone a �crit> On Thu, May 26, 2011 at 11:51:13PM +0200, Albert Shih wrote:

Le 26/05/2011 � 14:22:16-0700, Kenneth Crocker a �crit
If I put

AddCC: email_address

and email_address is already in the RT it’s working.

But if the email_address is not in RT it’s not working.

Please report this to the Extension’s queue on rt.cpan.org now that
you’ve identified the cause.

In fact it’s my bad.

Everything work fine.

It’s just me make a bad config.

In fact I make a misunderstanding of

# If this is set to 1, then users should be autocreated by RT
# as internal users if they fail to authenticate from an
# external service.
Set($AutoCreateNonExternalUsers,    0);

the terme �internal�. I think that’s mean … in RT not in my ldap base.

So I change this variable to 1 and that’s why the RT-CommandByMail don’t
work with new email_address, it’s because it trying to create in ldap not
in RT.

After I put the right config everything work fine.

Sorry for the noise and very thank you for all the help.

Regards.

JAS

Albert SHIH
DIO batiment 15
Observatoire de Paris Meudon
5 Place Jules Janssen
92195 Meudon Cedex
T�l�phone : 01 45 07 76 26/06 86 69 95 71
Heure local/Local time:
ven 27 mai 2011 00:10:29 CEST

Le 27/05/2011 � 00:14:10+0200, Albert Shih a �crit

Le 26/05/2011 � 18:05:12-0400, Kevin Falcone a �crit

Le 26/05/2011 � 14:22:16-0700, Kenneth Crocker a �crit
If I put

AddCC: email_address

and email_address is already in the RT it’s working.

But if the email_address is not in RT it’s not working.

Please report this to the Extension’s queue on rt.cpan.org now that
you’ve identified the cause.

In fact it’s my bad.

Everything work fine.

It’s just me make a bad config.

In fact I make a misunderstanding of

If this is set to 1, then users should be autocreated by RT

as internal users if they fail to authenticate from an

external service.

Set($AutoCreateNonExternalUsers, 0);

the terme �internal�. I think that’s mean … in RT not in my ldap base.

So I change this variable to 1 and that’s why the RT-CommandByMail don’t
to 0…(default config)

I need vacation… :frowning:

Regards.

JAS

Albert SHIH
DIO batiment 15
Observatoire de Paris Meudon
5 Place Jules Janssen
92195 Meudon Cedex
T�l�phone : 01 45 07 76 26/06 86 69 95 71
Heure local/Local time:
ven 27 mai 2011 00:16:12 CEST

Albert,

Isn’t that supposed to be “AddCc”? 1 large “C” and 1 small one?

Kenn
LBNLOn Thu, May 26, 2011 at 2:51 PM, Albert Shih Albert.Shih@obspm.fr wrote:

Le 26/05/2011 à 14:22:16-0700, Kenneth Crocker a écrit

Albert,

Thanks for you help

Well it’s not working. But now I find more stability.

If I put

   AddCC: email_address

and email_address is already in the RT it’s working.

But if the email_address is not in RT it’s not working.

Sounds to me that you haven’t set your configuration to automatically add
a
user:

Set($AutoCreate, [Privileged , 0]);

This setting allows RT to automatically add a user that was not already
on the
DB (your error message) as an “UnPrivileged” user. Change the 0 to 1 if
you
want them to be “Privileged”.

I just try this it’s change nothing.

thanks for you help

Regards.

JAS

Albert SHIH
DIO batiment 15
Observatoire de Paris Meudon
5 Place Jules Janssen
92195 Meudon Cedex
Téléphone : 01 45 07 76 26/06 86 69 95 71
Heure local/Local time:
jeu 26 mai 2011 23:45:32 CEST