[rt-users] Signing by default

2012-09-27 Thread Martin Drasar
Hi,

when a user responds to a ticket at our site, the message is forwarded
to all interested parties and the user's name and email is untouched
(i.e. no 'via RT', changed mail or anything else).

We would like to enable default signing, but there is a problem with
those mails. As they have an email address the RT does not have the
secret key for, they are not sent.

We in fact only need to enable default signing for messages created via
web interface. Is there some clean way to do it? I know that I can hack
the SignEncryptWidget and hardcode the Sign value there, thus forcing
the signing only in the web interface, but this does not seem like a
long-term solution.

Do you have any idea for clean solution?

Thanks,
Martin


Final RT training for 2012 in Atlanta, GA - October 23  24
  http://bestpractical.com/training

We're hiring! http://bestpractical.com/jobs


Re: [rt-users] Signing by default

2012-09-27 Thread Thomas Sibley
On 09/27/2012 01:53 AM, Martin Drasar wrote:
 when a user responds to a ticket at our site, the message is forwarded
 to all interested parties and the user's name and email is untouched
 (i.e. no 'via RT', changed mail or anything else).

This behaviour is strange.  Why are you setting From: to individual
email addresses instead of back into RT?

 We would like to enable default signing, but there is a problem with
 those mails. As they have an email address the RT does not have the
 secret key for, they are not sent.
 
 We in fact only need to enable default signing for messages created via
 web interface. Is there some clean way to do it? I know that I can hack
 the SignEncryptWidget and hardcode the Sign value there, thus forcing
 the signing only in the web interface, but this does not seem like a
 long-term solution.
 
 Do you have any idea for clean solution?

Use a small bit of javascript in a callback to twiddle the Sign checkbox
on update pages.  Clean customization, no need to hack up core components.


Final RT training for 2012 in Atlanta, GA - October 23  24
  http://bestpractical.com/training

We're hiring! http://bestpractical.com/jobs