<p dir="ltr">If you're using a relatively newer version of RT, you can configure a "global" From address in RT_SiteConfig.pm and queue-specific From addresses in RT's UI.</p>
<p dir="ltr">If you've already done this then it sounds like msmtp is rewriting your From headers.  Maybe msmtp's auto_from setting is relevant?</p>
<p dir="ltr">If you're just relaying to an external server, can you just feed the SMTP connection details into RT and bypass msmtp altogether?</p>
<div class="gmail_quot<blockquote class=" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi<div><br></div><div>We've used RT for a while just for IT issues, now we're adding an additional facilities queue. Everything is working to receive tickets via email, but we can only get it to send emails through the ithelpdesk email account regardless of queue. We're using MSMTP in order to use Google Apps to send emails. We have two accounts configured in msmtp_wrapper.conf ithelpdesk and facilities, but I can't see how to tell RT to use the facilities account when sending emails from that queue, so it sends everything as ithelpdesk.</div><div><br></div><div>Can anyone help?</div><div><br></div><div>Thanks</div><div><br></div><div>Ian</div><div><br clear="all"><div><div><div dir="ltr"><span style="font-family:arial,sans-serif;font-size:13px;border-collapse:collapse"><font color="#999999"><div><strong>Ian McNaught</strong></div><div><strong>Head of eLearning & Information Systems</strong></div><div><strong>Tel: (+968) 24730404</strong></div></font></span></div></div></div>
</div></div>

<br>
<table style="text-transform:none;text-indent:0px;letter-spacing:normal;font-family:"Times New Roman";word-spacing:0px" border="0"><tbody><tr><td width="241"><img alt="" src="http://www.majancollege.edu.om/images/majan+greatest+brand.png" width="241" height="90"></td><td valign="bottom" width="228"><span style="letter-spacing:normal;font-family:Arial,Helvetica,sans-serif;font-size:10px">Majan College (University College)<br>P.O. Box 710, Postal Code 112, Ruwi<br>Sultanate of Oman<br>Switchboard: +968 24730400<br>Fax: +968 24730490<br>Find us:<br><a href="http://www.majancollege.edu.om/" target="_blank">Website</a><span> </span>|<span> </span><a href="http://www.linkedin.com/company/majan-college-university-college-?trk=hb_tab_compy_id_2839692" target="_blank">Linkedin</a><span> </span>|<span> </span><a href="https://www.facebook.com/majan.college" target="_blank">Facebook</a><span> </span><u></u>|<span> </span><a href="http://twitter.com/Majan_College" target="_blank">Twitter</a></span></td></tr><tr><td colspan="2"><em>Ranked No.1 Private College in Oman - "Oman Observer Survey Oct.2011"</em></td></tr></tbody></table>
<br>
<span style="color:rgb(0,0,0);font-family:'Courier New',Courier,mono;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:20px;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(248,248,248);display:inline!important;float:none">This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. Majan College (University College) therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission</span></div>