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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

246 views 1 18
Join discussion

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