Re: [rt-users] rt-mailgate: Permission denied

2015-06-16 Thread Jeff Melton
I figured this out. I was using this project as an opportunity to try out plenv, but used /root/.plenv to set global Perl. When we set /root +x, it started working. Now I just need to figure out how best to fix it long-term. Thanks, all. On Tue, Jun 16, 2015 at 12:39:15PM -0700, Aaron C. de Br

Re: [rt-users] rt-mailgate: Permission denied

2015-06-16 Thread Jeff Melton
It is chrooted, but when I s/-/n for all the chrooted processes in master.cf and restarted postfix, it didn't make any difference. I just swapped the original master.cf back in. I'll update to add that my aliases were quoted incorrectly to begin with, and having changed that, the full error ou

Re: [rt-users] rt-mailgate: Permission denied

2015-06-16 Thread Aaron C. de Bruyn
AppArmor? (Or is that just Ubuntu?) Also, is the postfix process running in a chroot? Check /etc/postfix/master.cf to see if the service that is doing the rt-mailgate delivery has a 'y' in the chroot column. -A On Tue, Jun 16, 2015 at 12:29 PM, Jeff Melton wrote: > It's Debian Wheezy. No SELin

Re: [rt-users] rt-mailgate: Permission denied

2015-06-16 Thread Jeff Melton
It's Debian Wheezy. No SELinux in this case. On Tue, Jun 16, 2015 at 09:25:02PM +0200, Joop wrote: On 16-6-2015 17:33, Jeff Melton wrote: I'm setting up a new RT server, and I'm having some trouble getting rt-mailgate to accept email piped from postfix. `Command output: local: fatal: execvp

Re: [rt-users] rt-mailgate: Permission denied

2015-06-16 Thread Joop
On 16-6-2015 17:33, Jeff Melton wrote: > I'm setting up a new RT server, and I'm having some trouble getting > rt-mailgate to accept email piped from postfix. > `Command output: local: fatal: execvp /opt/rt4/bin/rt-mailgate: > Permission denied` > You don't state which OS you're using but if yo

Re: [rt-users] rt-mailgate: Permission denied

2015-06-16 Thread Jeff Melton
On Tue, Jun 16, 2015 at 11:54:52AM -0400, Matt Brennan wrote: On my system, the application is world executable. I don't recall if that's the default or I changed it. I'm sure someone here will say that's a bad idea, security wise. At a minimum, it needs to be executable by whatever user ID post

Re: [rt-users] rt-mailgate: Permission denied

2015-06-16 Thread Matt Brennan
On my system, the application is world executable. I don't recall if that's the default or I changed it. I'm sure someone here will say that's a bad idea, security wise. At a minimum, it needs to be executable by whatever user ID postfix is running as. If you want to lock down the executable, you'

[rt-users] rt-mailgate: Permission denied

2015-06-16 Thread Jeff Melton
I'm setting up a new RT server, and I'm having some trouble getting rt-mailgate to accept email piped from postfix. `Command output: local: fatal: execvp /opt/rt4/bin/rt-mailgate: Permission denied` Best I can tell, it's likely to be a permissions issue. What owner, group and mode sho