Sigs for REPLY, no sigs for COMMENT?

Dear RT people,

Anyone have a nice patch that stops signatures being added to comments?
I’d like to only include the signature when doing a REPLY to the
Requestor, and not have a signature when just writing a comment …

Dave.

Dave Ewart
Dave.Ewart@cancer.org.uk
Computing Manager, Epidemiology Unit, Oxford
Cancer Research UK
PGP: CC70 1883 BD92 E665 B840 118B 6E94 2CFD 694D E370

Dave,

Quoting Dave Ewart Dave.Ewart@cancer.org.uk [Mar 06, 2002 11:13]:

Anyone have a nice patch that stops signatures being added to
comments? I’d like to only include the signature when doing a
REPLY to the Requestor, and not have a signature when just
writing a comment …

I’m assuming that are referring to when mail comes into RT. If
you are using procmail, you can add a recipe to strip signatures;
see http://www.uwasa.fi/~ts/info/proctips.html#delsig for an
example. It would have to be modified to run under RT, of
course.

Here is the original recipe:

:0

  • ^Subject: Whatever
    {
    :0 fbw
    | sed -e ‘/^-- /,$ d’
    :0:
    ${DEFAULT}
    }

Here’s a modified version to pipe through rt-mailgate

:0

  • ^TO_rt@
    {
    :0 fbh
    | sed -e ‘/^-- /,$ d’

    :0
    | /path/to/rt2/bin/rt-mailgate --queue general --action correspond
    }

(darren)

Maybe this world is another planet’s hell.
– Aldous Huxley

Quoting Dave Ewart Dave.Ewart@cancer.org.uk [Mar 06, 2002 11:13]:

Anyone have a nice patch that stops signatures being added to
comments? I’d like to only include the signature when doing a REPLY
to the Requestor, and not have a signature when just writing a
comment …

I’m assuming that are referring to when mail comes into RT … …

Actually, no …

I’m referring to when you are using the Web interface - sorry if I did
not make that clear. If you click on ‘Comment’, I’d like the signature
to be supressed. I’d only like the signature there if it’s a reply, and
will actually get sent out via email.

Any thoughts?

Dave.
Dave Ewart
Dave.Ewart@cancer.org.uk
Computing Manager, Epidemiology Unit, Oxford
Cancer Research UK
PGP: CC70 1883 BD92 E665 B840 118B 6E94 2CFD 694D E370