RT3: Sending auto-response as different user

RT3:

How to send template Autoresponse mail that is received
from users other than ‘nobody’ ?

I’m running apache as nobody, it seems therefore to default to nobody
to send mail. Have tried custom templates/scrips of my own but
no luck yet, is that whats needed or is there something else.

Thanks for the help, great product, keep up the good work.

From header of mail you can override in template.
FYI: First lines of template for header overriding

Return-path you could override with -f option of sendmail. If
nobody isn’t trusted user sendmail will add warning in headers.
To enable this option you should use fix to RT from devel list I
reseantly posted about sendmail args.

	Good luck.

David M Dennis wrote:

I’m running apache as nobody, it seems therefore to default to nobody
to send mail. Have tried custom templates/scrips of my own but
no luck yet, is that whats needed or is there something else.

RT usually sticks the name of the person who initiated the transaction
into the from field, and uses the address configured. What do you mean
"sends from"?

are you running into the Sender header? if so, it’s been doc’ed.

seph

When I did this (sorry didnt say in mail) the result was this mail header:From: nobody nobody@mycompany.net
Reply-To: my-rt@mycompany.net
To: dmd@speakeasy.org

what I wanted it to be instead was

From: My RT Instance my-rt@mycompany.net
Reply-To: My RT Instance my-rt@mycompany.net
To: dmd@speakeasy.org

When I did this (sorry didnt say in mail) the result was this mail header:

From: nobody nobody@mycompany.net
Reply-To: my-rt@mycompany.net
To: dmd@speakeasy.org

what I wanted it to be instead was

From: My RT Instance my-rt@mycompany.net
Reply-To: My RT Instance my-rt@mycompany.net
To: dmd@speakeasy.org

Cut and paste the template that you are using so that we can see it.

Andy Harrison
(full headers for details)

Just the default “Autorespond” template;

Greetings,

This message has been automatically generated in response to the
creation of a trouble ticket regarding:
“{$Ticket->Subject()}”,
a summary of which appears below.

There is no need to reply to this message right now. Your ticket has been
assigned an ID of [{$rtname} #{$Ticket->id()}].

Please include the string:

     [{$rtname} #{$Ticket->id}]

in the subject line of all future correspondence about this issue. To do so,
you may reply to this message.

                    Thank you,
                    {$Ticket->QueueObj->CorrespondAddress()}

{$Transaction->Content()}

On Wed, 10 Mar 2004 11:32:08 -0800 (PST), David M Dennis wrote
Subject: "Re: [rt-users] RT3: Sending auto-response as different user"

When I did this (sorry didnt say in mail) the result was this mail header:

From: nobody nobody@mycompany.net
Reply-To: my-rt@mycompany.net
To: dmd@speakeasy.org

what I wanted it to be instead was

From: My RT Instance my-rt@mycompany.net
Reply-To: My RT Instance my-rt@mycompany.net
To: dmd@speakeasy.org

Cut and paste the template that you are using so that we can see it.


Andy Harrison
(full headers for details)


rt-users mailing list
rt-users@lists.bestpractical.com
The rt-users Archives

Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm

Look below…

David M Dennis wrote:

Just the default “Autorespond” template;

Subject: AutoReply: {$Ticket->Subject}
From: …
Reply-To: …