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?