Mail config question after upgrade from 4.0.17 to 4.4.2


I am hoping someone can point me in the right direction to look here. I am in the process of upgrading from 4.0.17 to 4.4.2.

I have been asked to change the domain on which this runs so I have:

  1. Set up a new host with apache serving the new domain
  2. Installed 4.4.2 on the new host
  3. Cloned the old host
  4. Run the upgrade on the clone.
  5. taken a MySQLdump of the upgraded clone
  6. done a MySQLdump restore onto the new host.
  7. clean up config on new host

This is where I am stuck. While testing the mail functionality on this new host I am seeing sent mail using an old legacy email address that was used in the original RT install.

I have 2 queues defined in /etc/aliases:

See man 5 aliases for format

    postmaster:    root

    support_comment: "|/opt/rt4/bin/rt-mailgate --queue Support --action comment --url"
    support: "|/opt/rt4/bin/rt-mailgate --queue Support --action correspond --url"

    EndUser_correspond: "|/opt/rt4/bin/rt-mailgate --queue EndUser --action correspond --url"
    EndUser_comment: "|/opt/rt4/bin/rt-mailgate --queue EndUser --action comment --url"


Set($rtname, "");
Set($Organization, "");
Set($WebDomain, "");
Set($WebPort, 443);

Set($Timezone, "US/Pacific");
Set($LogoLinkURL, "");

Set($CorrespondAddress, '');
Set($CommentAddress, '');

Set($DatabaseType, "mysql");
Set($DatabaseName, q{*********});
Set($DatabaseUser, "********");
Set($DatabasePassword, q{**************});

Set($MailCommand, "sendmailpipe");
Set($OwnerEmail, '');
Set($MaxAttachmentSize, 50_000_000);

Yet sent mail is somehow pulling that old value, maybe from the database?:

Subject: [Tracker Software Support #4052] [Comment] New Test
From: "Paul O'Rorke - Tracker account via RT" <>
In-Reply-To: <>
References: <>
Message-ID: <>
X-RT-Ticket: #4052
X-Managed-BY: RT 4.4.2 (
Content-Type: text/plain; charset="utf-8"
X-RT-Original-Encoding: utf-8
Precedence: bulk
Date: Thu, 05 Oct 2017 12:47:19 -0700
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Content-Length: 364

I have looked for the string docu-track in me new host config but cannot find any reference to it. The following returns nothing:

root@rt:~# grep -i -r docu-track /etc/*
root@rt:~# grep -i -r docu-track /opt/rt4/etc/*

I am at a loss to know where else to look for this. Does anyone have any suggestions?


The reply and comment addresses are set in the Admin settings for each queue. Open RT as administrator, go into the Admin - Queues menu, select your queue and the addresses are right there on the main configuration page for the queue…

Thank you Gerald,

that was embarrassing:grimacing :grimacing:

I didn’t explicitly set that on the new box myself, I guess that made it’s way in there from the DB restore.

Problem solved and lesson learned…

Thanks for seeing the obvious for me.