I've configured JIRA to use a different inbound email address for each project:
These email "addresses" are really aliases that point to the same email box.
Question: when email is sent from JIRA for issues in the "QRS" project, is it possible to have the "from" email address be "QRS@mycompany.com"? (And same for the "ABC" project... is it possible to have email sent from "ABC@mycompany.com"?)
This is possible, go to Administration for your ABC project. Goto Notifications in the menu on the left. You can set a "reply-to" email address that will be used as from address.
This is in 6.1. In other version the menu structure for the admin portal might be slightly different.
Im pretty sure the Catch Email feature is solely for matching addressee to correlate between a mail handler and a given address. Ive never seen catchemail values used in anything relating to outbound mail servers and...
JIRA has only one outbound mailserver. It is possible to set a different outbound email address at an API level, JEMH does this. But. The related smtp server is not obligated to use that address, and will either ignore it (gmail) or explode spectacularly (exchange) if you try this without jumping through the mail-server specific hoops in order to get this to work. Gmail requires two way link clicking to validate ownership of the other address, Exchange needs lots of clicks - not my field.
So, the answer to the question is that:
1. No you canot affect the outbound smtp address of your email as you describe using standard JIRA
2. You can affect the outbound smtp address of your email, as presented to your mailserver in a JEMH Per-Profile setting. Your mailserver must be configured to allow all your addresses, or be wide open (this is effectively allowing your JIRA to masquerade as anyone on the network - talk to your mail server admin, he will likely discourage this!)
3. You could write your own mail handler, but the mailserver issue still applies.
We use Google Apps and I got this working by:
1) Setting up a "catch all" GMail account, such as firstname.lastname@example.org
4) Set your outgoing mail server with the credentials from email@example.com...youmust also setup the alias' INSIDE of GMAIL for both ABC@company.comand QRS@company.comto allow GMail to send "from" that address - https://support.google.com/a/answer/33327?hl=en
5) You will now setup an incoming mail handler for each project all grabbing mail from the firstname.lastname@example.org and using a catch-all address to specify which mail goes where
That should be it. Notification emails should come from each projects specified email address, and all reply emails will be routed properly from User >> GMail >> JIRA >> Project
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot