[rt-users] rt-mailgate: Permission denied

Jeff Melton jeff at ifworld.com
Tue Jun 16 16:34:46 EDT 2015


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 Bruyn wrote:
>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 <jeff at ifworld.com> wrote:
>> 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 /opt/rt4/bin/rt-mailgate:
>>>> Permission denied`
>>>>
>>> You don't state which OS you're using but if you're using CentOS/Rhel
>>> base/derived you could be facing a SELinux problem. Check
>>> /var/log/messages /var/log/audit or see what happens if you run
>>> setenforce 0.
>>>
>>> Regards,
>>>
>>> Joop
>>>
>>



More information about the rt-users mailing list