<div class="gmail_extra">[SOLVED]</div><div class="gmail_extra"><br></div><div class="gmail_extra">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 :)<br>
<br><div class="gmail_quote">On Fri, Apr 27, 2012 at 2:17 AM, Scott Sjodin <span dir="ltr"><<a href="mailto:scott.sjodin@gmail.com" target="_blank">scott.sjodin@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="gmail_extra">Matt,</div><div class="gmail_extra"><br></div><div class="gmail_extra">After changing (and confirming the change) of the attributes, I'm still getting the same error:</div><div class="gmail_extra">
<br></div><div class="gmail_extra"><div class="im"><div class="gmail_extra">fetchmail: starting fetchmail 6.3.18 daemon</div><div class="gmail_extra">fetchmail: 3 messages for <a href="mailto:support@example.com" target="_blank">support@example.com</a> at <a href="http://pop.yourpopserver.com" target="_blank">pop.yourpopserver.com</a> (13002 octets).</div>
<div class="gmail_extra">sh: /root/rt-4.0.5/bin/rt-mailgate: Permission denied</div><div class="gmail_extra">fetchmail: reading message support@example.com@<a href="http://xx.xxx.xx.xx.static.xx.net:1" target="_blank">xx.xxx.xx.xx.static.xx.net:1</a> of 3 (9017 octets) (log message incomplete)</div>
<div class="gmail_extra">fetchmail: error writing message text</div><div class="gmail_extra">fetchmail: MDA error while fetching from support@example.com@<a href="http://pop.yourpopserver.com" target="_blank">pop.yourpopserver.com</a></div>
<div class="gmail_extra">fetchmail: Query status=6 (IOERR)</div><br></div><div><div class="h5"><div class="gmail_quote">On Fri, Apr 27, 2012 at 2:07 AM, 20/20 Lab <span dir="ltr"><<a href="mailto:lab@pacbell.net" target="_blank">lab@pacbell.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
sudo chmod 755 /root/rt-4.0.5/bin/rt-mailgate<br>
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 )<br>
<br>
Matt<div><div><br>
<br>
<br>
On 04/26/2012 3:01 PM, Scott Sjodin wrote:
<blockquote type="cite">
<div class="gmail_extra">Matt,</div>
<div class="gmail_extra"><br>
</div>
<div class="gmail_extra">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?</div>
<div class="gmail_extra"><br>
</div>
<div class="gmail_extra">Thanks<br>
<br>
<div class="gmail_quote">On Fri, Apr 27, 2012 at 1:58 AM, 20/20
Lab <span dir="ltr"><<a href="mailto:lab@pacbell.net" target="_blank">lab@pacbell.net</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div>
<div> On 04/26/2012 2:39 PM, Scott Sjodin
wrote:
<blockquote type="cite">
<div class="gmail_extra">Root (I know, I know) is
running fetchmail. when I do an ls- l this is what
I get:</div>
<div class="gmail_extra"><br>
</div>
<div class="gmail_extra"><span style="font-family:verdana,arial,helvetica,sans-serif">-rwxr-xr--
1 root root 16542 2012-04-23 03:00
/root/rt-4.0.5/bin/rt-mailgate</span> </div>
<div class="gmail_extra"><br>
</div>
<div class="gmail_extra">My output for ls -l of <br>
<br>
<div class="gmail_quote">On Fri, Apr 27, 2012 at
1:34 AM, Kevin Falcone <span dir="ltr"><<a href="mailto:falcone@bestpractical.com" target="_blank">falcone@bestpractical.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Fri, Apr 27, 2012
at 01:25:45AM +0400, Scott Sjodin wrote:<br>
> sh: /root/rt-4.0.5/bin/rt-mailgate:
Permission denied<br>
<br>
Is your rt-mailgate executable by the user
running fetchmail?<br>
<span><font color="#888888"><br>
-kevin<br>
</font></span></blockquote>
</div>
<br>
</div>
</blockquote>
</div>
</div>
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. <br>
<br>
Hope this helps.<br>
<br>
-Matt<br>
<br>
</div>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
</div></div></div>
</blockquote></div><br></div></div></div>
</blockquote></div><br></div>