0

I have Request Tracker 4.4 succesfully set up to use msmtp to send emails using account "support@domain.com" (used this manual: https://rt-wiki.bestpractical.com/wiki/Msmtp).

But, I need to send mail from "support-comment@domain.com", too. I'm thinking of enhcancing the msmtp_wrapper: catching sdtin to a variable, then parsing it to get "From:", then pipe it to msmtp, specifying "-a" (account).

Is there any sane workaround? Or is my solution the best possible?

real_sm
  • 132

1 Answers1

0

The From address in outgoing mail can all be configured in RT. You can set up global defaults for all of RT in RT_SiteConfig.pm with $CorrespondAddress and $CommentAddress. In the admin web UI for each queue, you can also set an address for each of these. Once set, mail sent from these queues should have an appropriate From address.