We have been successfully creating issues from emails sent through an imap server using 3 different mail handlers for different email addresses.
I've been asked by our IT folks if there is a way to configure an additional mail handler or change the configuration of the existing handlers to remove old emails that are on the imap server but aren't being picked by any of the various mail handlers for various reasons.
For example, if someone sends an email to one of the 3 email addresses but doesn't include a subject, the email comes in and sits on the imap server but isn't picked up by the mail handler because it has no subject.
Is this possible or should they just add a script to cleanup emails older than 5 days or something? Mail handlers are running every minute.
As it turns out, I think that will help... now. In cleaning up and examining what was happening and what was building up on the server, we found that there were three types of messages that weren't being handled:
After discussion with some users, it turns out the third type don't actually need to have a mail handler so we can eliminate it
So we had multiple mail handlers to "catch" 4 different incoming email addresses. 3 of them were directed to 1 project and 1, associated with the thrid type mentioned above, was directed to another project.
Since we can now eliminate the mail handler associated with the third type of accruing emails mentioned above, we can probably collapse the other 3 into a single one with no catch email, set the Forward Email and Bulk field and this would keep the server clean, I think.
Thanks for the info. I think it lead me in the right direction.
Let me ask a slightly different but related question: Does anyone know if there is an order or precedence when there are multiple mail handlers?
One of the thoughts we had was to add a "catch-all" handler at the "end" but we weren't sure there was actually an order or precedence to the way they are run if there are multiple ones.
You can try setting the forward mail, what it does is by quoted below
If specified, then if this mail service is unable to handle an email message it receives, an email message indicating this problem will be forwarded to the email address specified in this field.
Hope this helps :)
Atlassian Summit is an excellent opportunity for in-person support, training, and networking.Learn more
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