[SOLVED] So after changing the username on the script (resolving the AUTH error) I was still left with the permissions error. I moved my rt directory OUT of the root folder and into opt/rt and low and behold it started flowing mail into RT. Thank you so much for all the help, this is a great list and wonderful community. Also appreciate it for not making me feel too dumb :)
On Fri, Apr 27, 2012 at 2:17 AM, Scott Sjodin <[email protected]>wrote: > Matt, > > After changing (and confirming the change) of the attributes, I'm still > getting the same error: > > fetchmail: starting fetchmail 6.3.18 daemon > fetchmail: 3 messages for [email protected] at pop.yourpopserver.com(13002 > octets). > sh: /root/rt-4.0.5/bin/rt-mailgate: Permission denied > fetchmail: reading message [email protected]@ > xx.xxx.xx.xx.static.xx.net:1 of 3 (9017 octets) (log message incomplete) > fetchmail: error writing message text > fetchmail: MDA error while fetching from [email protected]@ > pop.yourpopserver.com > fetchmail: Query status=6 (IOERR) > > On Fri, Apr 27, 2012 at 2:07 AM, 20/20 Lab <[email protected]> wrote: > >> sudo chmod 755 /root/rt-4.0.5/bin/rt-mailgate >> or just 'chmod 755 /root/rt-4.0.5/bin/rt-mailgate' if your running your >> shell as root (which I suspect you are ;p ) >> >> Matt >> >> >> >> On 04/26/2012 3:01 PM, Scott Sjodin wrote: >> >> Matt, >> >> I'm sort of a linux n00b, so please excuse my ignorance...how do I set >> the extra attribute you have and I don't? >> >> Thanks >> >> On Fri, Apr 27, 2012 at 1:58 AM, 20/20 Lab <[email protected]> wrote: >> >>> On 04/26/2012 2:39 PM, Scott Sjodin wrote: >>> >>> Root (I know, I know) is running fetchmail. when I do an ls- l this is >>> what I get: >>> >>> -rwxr-xr-- 1 root root 16542 2012-04-23 03:00 >>> /root/rt-4.0.5/bin/rt-mailgate >>> >>> My output for ls -l of >>> >>> On Fri, Apr 27, 2012 at 1:34 AM, Kevin Falcone < >>> [email protected]> wrote: >>> >>>> On Fri, Apr 27, 2012 at 01:25:45AM +0400, Scott Sjodin wrote: >>>> > sh: /root/rt-4.0.5/bin/rt-mailgate: Permission denied >>>> >>>> Is your rt-mailgate executable by the user running fetchmail? >>>> >>>> -kevin >>>> >>> >>> Shouldnt that be -rwxr-xr-x root rt ... ... ... .....? Thats how >>> mine is set. I have fetchmail in the crontab under an underprivied user >>> belonging to the rt group. >>> >>> Hope this helps. >>> >>> -Matt >>> >>> >> >> >
