The mail server with the MX record for “domain.com” receives the message
addressed to "email@example.com" and
reads the mailforwardingattribute "firstname.lastname@example.org" (on our
cyrus/imap/ldap server) and it sends a copy to the general queue on the
server “rt.domain.com” without changing the “To:” header
Another possible example maintaining the header using /etc/aliases on 2
boxes with sendmail:
mail sent to "email@example.com" will create a ticket in the general
queue on the server “rt.domain.com” without changing the “To:” header.
box1.domain.com /etc/alias entry
rt.domain.com /etc/alias entry
general: “|/usr/local/rt3/bin/rt-mailgate --queue general --action
correspond --url http://localhost”
Hope this helps.
Asheesh Laroia wrote:> On Mon, 25 Jul 2005, Mike Patterson wrote:
I’m not exactly sure this is the problem that you are talking about,
but this is how I have it setup. Our mail server is different then
our RT Server. In this example our RT server is called “rt.domain.com”
Mail sent to firstname.lastname@example.org gets redirected to email@example.com
and creates a ticket in the general queue.
When you say “redirected”, does the redirection change the email
address in the “To:” field?
Or does it stay as "firstname.lastname@example.org" in the mail header when RT gets it?