Using Postfix with JIRA Incoming mail handler

We're currently trying to set up incoming email handlers in JIRA, and while the theory is sound, we're running into some sticky points with implementation. Previous to this, we've been running a homebrew script that receives email directly via postfix, and then uses the APIs to create tickets as needed. But since we've updated to a much newer version of JIRA, it seems like the perfect time to use the built-in email handlers if we can.

Our sticking point is with file ownership and permissions. We've gotten postfix to create a maildir-style mailbox (one file per email, like JIRA wants), and testing the email handler registers as seeing those files. However, the files postfix is creating are a) owned by nobody:nobody, and b) show up with read/write permissions limited strictly to owner, so we can't even get around it by adding our JIRA user on the server to the nobody group.

Has anyone else out there gotten this sort of setup (postfix to 'local files') to work? If so, have any pointers that may help us out?

1 answer

0 vote

I'm not sure why you'd bother with Postfix -> local file. Why not use it for IMAPS (or IMAP, or POP3) and then the (relatively simple) connection in Jira to a standard mailbox?

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

106 views 0 5
Read article

Atlassian User Groups

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!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you