All you need to do on your external postfix server is add the email
address/alias you’ve created to the postfix transport(5) file and they
will be relayed to the RT server.
If you’re using firstname.lastname@example.org and email@example.com the entries
to /etc/postfix/transport would be:
Make sure you run postmap on the transport file to rebuild the map.
From: firstname.lastname@example.org [mailto:rt-users-
email@example.com] On Behalf Of Donny Brooks
Sent: Thursday, March 17, 2011 9:34 AM
Subject: [rt-users] Setup RT with existing postfix on separate server
Are there any others running an external postfix mail server and RT? I
have been through all of the wiki/google hits and only see examples of
how to setup RT in an exchange domain or with postfix/sendmail on the
box. I have an existing domain with postfix/dovecot running on its own
machine. RT is a totally separate machine (actually a Xen VM). I am at
loss as to even how to begin to get mail delivered to the RT machine
tickets created from that. I have the following setup on the RT box:
rt: "|/usr/sbin/rt-mailgate --queue ‘general’ --action correspond –
rt-comment: “|/usr/sbin/rt-mailgate --queue ‘general’ --action comment
However mail cannot be sent to firstname.lastname@example.org or
email@example.com due to failing DNS resolution that we do not
have control over. I have setup rt.domain.tld in our internal DNS
though. How have others accomplished this? I have thought about
fetchmail on the RT box but not sure if there was a better solution
that. Thanks for any and all input.
The information transmitted is intended only for the person or entity to which
it is addressed and may contain confidential and/or privileged material. Any
review, retransmission, dissemination or other use of, or taking of any action
in reliance upon, this information by persons or entities other than the
intended recipient is prohibited. If you are not the intended recipient of this
message, please contact the sender and delete this material from this computer.