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 votes

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
Community showcase
Posted Sep 25, 2018 in Jira

Atlassian Research Workshop opportunity on Sep. 28th in Austin, TX

We're looking for participants for a workshop at Atlassian! We need Jira admins who have interesting custom workflows, issue views, or boards. Think you have a story to sha...

419 views 7 5
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