Mail config question after upgrade from 4.0.17 to 4.4.2

HI,

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 tracker-software.support
  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 https://tracker-software.support/"
    support: "|/opt/rt4/bin/rt-mailgate --queue Support --action correspond --url https://tracker-software.support/"

    EndUser_correspond: "|/opt/rt4/bin/rt-mailgate --queue EndUser --action correspond --url https://tracker-software.support/"
    EndUser_comment: "|/opt/rt4/bin/rt-mailgate --queue EndUser --action comment --url https://tracker-software.support/"

My RT_Siteconfig.pm:

Set($rtname, "tracker-software.support");
Set($Organization, "tracker-software.support");
Set($WebDomain, "tracker-software.support");
Set($WebPort, 443);

Set($Timezone, "US/Pacific");
Set($LogoLinkURL, "http://tracker-software.com");

Set($CorrespondAddress, 'correspond@tracker-software.support');
Set($CommentAddress, 'comment@tracker-software.support');

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

Set($MailCommand, "sendmailpipe");
Set($OwnerEmail, 'paul@tracker-software.com');
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" <support_comment@support.docu-track.com>
Reply-To: support_comment@support.docu-track.com
In-Reply-To: <rt-4.4.2-1381-1507229884-1415.4052-12-0@tracker-software.support>
References: <RT-Ticket-4052@tracker-software.support>
<rt-4.4.2-1381-1507223775-552.4052-12-0@tracker-software.support>
<rt-4.4.2-1381-1507229884-1415.4052-12-0@tracker-software.support>
Message-ID: <rt-4.4.2-1388-1507232839-1096.4052-12-0@tracker-software.support>
X-RT-Loop-Prevention: tracker-software.support
X-RT-Ticket: tracker-software.support #4052
X-Managed-BY: RT 4.4.2 (http://www.bestpractical.com/rt/)
X-RT-Originator: paul@tracker-software.com
BCC: paul@warmlandsystemsolutions.com, paulororke@gmail.com
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?

Paul

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.