[rt-users] RT 3.6.1 configure out going address used by smtp

Bart bart at pleh.info
Tue Nov 22 03:20:45 EST 2011


We use additional rules in the RT_SiteConfig.pm to ensure that it uses the
correct e-mail address for all queue's.

Here's a sample:

# ---
# Default Correspond en Comment adres
# ---

Set($CorrespondAddress , 'rt at example.com');
Set($CommentAddress , 'rtc at example.com');

Set($SetOutgoingMailFrom, 1);

Set($OverrideOutgoingMailFrom, {
    'Default' => 'rt at example.com',
    'RT Queue 2' => 'rtqueue2 at example.com',
    'RT Queue 3' => 'rtqueue3 at example.com'
});

Hope this helps.

-- Bart


Op 22 november 2011 05:08 schreef Gregory Machin
<gregory.machin at gmail.com>het volgende:

> Hi.
> I have moved our RT from a legacy server to a new one. I would like to
> define the from: address used.
>
> At present all outgoing email is relayed via Postfix at localhost, the
> emails going out from RT are doing out using
> www-data at newserver.mydom.com (Apache user www-data), which causes
> issues as this sever is internal so the domain newserver.mydom.com is
> not valid on the Internet. To get around this I have configured a
> temporary address rewrite.
>
> What I want it the emails from RT to go out as rt at mydom.com and not as
> teh Apache user. How do I configure this ?
>
> My email config so far for emails :
>
> Set ($SMTPServer, 'localhost');
> Set($CorrespondAddress , 'rt at mydom.com');
> Set($CommentAddress , 'rt-comment at mydom.com');
>
>
> Thanks
> G
> --------
> RT Training Sessions (http://bestpractical.com/services/training.html)
> *  Barcelona, Spain  November 28 & 29, 2011
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20111122/824db4d5/attachment.htm>


More information about the rt-users mailing list