[rt-users] fetchmail errors trying to retrieve from pop3
Hi rt-users! So, I got my earlier Perl dependency woes worked out thanks to Stephen Alexander on this board. I've got RT 4.0.5 successfully installed and running on example.com (just the root, no /rt) I'm trying to setup mail now. I've got an external pop3 server that I'm attempting to use fetchmail to grab mail from and pipe it into RT. Fetchmail is installed and running. I've verified that both supp...@example.com and support-comm...@example.com have the correct credentials corresponding to my fetchmailrc file (which is listed below). When looking at my fetchmail logs, however, it shows the following errors: *fetchmail: Authorization failure on support-comm...@example.com* *fetchmail: Query status=3 (AUTHFAIL)* *fetchmail: Authorization failure on supp...@example.com* *sh: /root/rt-4.0.5/bin/rt-mailgate: Permission denied* *fetchmail: MDA returned nonzero status 126* *fetchmail: Query status=3 (AUTHFAIL)* Any ideas? Thanks in advance. *FETCHMAILRC* * * *set daemon 60* *set invisible* *set no bouncemail* *set no syslog* *set logfile /var/log/fetchmail.log* * * *#supp...@example.com* * * *poll pop.example.com protocol pop3 username support password nottelling mda /root/rt-4.0.5/bin/rt-mailgate --queue support --action correspond --url http://www.example.com; no keep* * * *#support-comm...@example.com* * * *poll pop.example.com protocol pop3 username support-comment password nottelling mda /root/rt-4.0.5/bin/rt-mailgate --queue support --action comment --url http://www.example.com; no keep*
Re: [rt-users] fetchmail errors trying to retrieve from pop3
I think I saw something about this before. /poll pop.example.com http://pop.example.com protocol pop3 username 'support' password 'nottelling' mda /root/rt-4.0.5/bin/rt-mailgate --queue support --action correspond --url http://www.example.com; no keep/ If I remember correctly, it had to be single quotes (') and not doubles () around the username and password. and your server will auth without the full email as the username? -Matt On 04/26/2012 12:47 PM, Scott Sjodin wrote: Hi rt-users! So, I got my earlier Perl dependency woes worked out thanks to Stephen Alexander on this board. I've got RT 4.0.5 successfully installed and running on example.com http://example.com (just the root, no /rt) I'm trying to setup mail now. I've got an external pop3 server that I'm attempting to use fetchmail to grab mail from and pipe it into RT. Fetchmail is installed and running. I've verified that both supp...@example.com mailto:supp...@example.com and support-comm...@example.com mailto:support-comm...@example.com have the correct credentials corresponding to my fetchmailrc file (which is listed below). When looking at my fetchmail logs, however, it shows the following errors: /fetchmail: Authorization failure on support-comm...@example.com mailto:support-comm...@example.com/ /fetchmail: Query status=3 (AUTHFAIL)/ /fetchmail: Authorization failure on supp...@example.com mailto:supp...@example.com/ /sh: /root/rt-4.0.5/bin/rt-mailgate: Permission denied/ /fetchmail: MDA returned nonzero status 126/ /fetchmail: Query status=3 (AUTHFAIL)/ Any ideas? Thanks in advance. /FETCHMAILRC/ / / /set daemon 60/ /set invisible/ /set no bouncemail/ /set no syslog/ /set logfile /var/log/fetchmail.log/ / / /#supp...@example.com mailto:supp...@example.com/ / / /poll pop.example.com http://pop.example.com protocol pop3 username support password nottelling mda /root/rt-4.0.5/bin/rt-mailgate --queue support --action correspond --url http://www.example.com; no keep/ / / /#support-comm...@example.com mailto:support-comm...@example.com/ / / /poll pop.example.com http://pop.example.com protocol pop3 username support-comment password nottelling mda /root/rt-4.0.5/bin/rt-mailgate --queue support --action comment --url http://www.example.com; no keep/
Re: [rt-users] fetchmail errors trying to retrieve from pop3
Matt, Thanks for the reply. You were right on the full e-mail as username. Once I changed that in the fetchmailrc file I got an update, but still with errors in the log: *fetchmail: starting fetchmail 6.3.18 daemon* *fetchmail: 3 messages for supp...@example.com at pop.yourpopserver.com(13002 octets). * *sh: /root/rt-4.0.5/bin/rt-mailgate: Permission denied* *fetchmail: reading message supp...@example.com@xx.xxx.xx.xx.static.xx.net:1of 3 (9017 octets) (log message incomplete) * *fetchmail: error writing message text* *fetchmail: MDA error while fetching from supp...@example.com@ pop.yourpopserver.com* *fetchmail: Query status=6 (IOERR)* On Fri, Apr 27, 2012 at 12:32 AM, 20/20 Lab l...@pacbell.net wrote: I think I saw something about this before. *poll pop.example.com protocol pop3 username 'support' password 'nottelling' mda /root/rt-4.0.5/bin/rt-mailgate --queue support --action correspond --url http://www.example.com; no keep* If I remember correctly, it had to be single quotes (') and not doubles () around the username and password. and your server will auth without the full email as the username? -Matt On 04/26/2012 12:47 PM, Scott Sjodin wrote: Hi rt-users! So, I got my earlier Perl dependency woes worked out thanks to Stephen Alexander on this board. I've got RT 4.0.5 successfully installed and running on example.com(just the root, no /rt) I'm trying to setup mail now. I've got an external pop3 server that I'm attempting to use fetchmail to grab mail from and pipe it into RT. Fetchmail is installed and running. I've verified that both supp...@example.com and support-comm...@example.com have the correct credentials corresponding to my fetchmailrc file (which is listed below). When looking at my fetchmail logs, however, it shows the following errors: *fetchmail: Authorization failure on support-comm...@example.com* *fetchmail: Query status=3 (AUTHFAIL)* *fetchmail: Authorization failure on supp...@example.com* *sh: /root/rt-4.0.5/bin/rt-mailgate: Permission denied* *fetchmail: MDA returned nonzero status 126* *fetchmail: Query status=3 (AUTHFAIL)* Any ideas? Thanks in advance. *FETCHMAILRC* * * *set daemon 60* *set invisible* *set no bouncemail* *set no syslog* *set logfile /var/log/fetchmail.log* * * *#supp...@example.com* * * *poll pop.example.com protocol pop3 username support password nottelling mda /root/rt-4.0.5/bin/rt-mailgate --queue support --action correspond --url http://www.example.com; no keep* * * *#support-comm...@example.com* * * *poll pop.example.com protocol pop3 username support-comment password nottelling mda /root/rt-4.0.5/bin/rt-mailgate --queue support --action comment --url http://www.example.com; no keep*
Re: [rt-users] fetchmail errors trying to retrieve from pop3
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 pgpYvHzlGEBLd.pgp Description: PGP signature
Re: [rt-users] fetchmail errors trying to retrieve from pop3
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 falc...@bestpractical.comwrote: 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
Re: [rt-users] fetchmail errors trying to retrieve from pop3
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 l...@pacbell.net 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 falc...@bestpractical.comwrote: 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
Re: [rt-users] fetchmail errors trying to retrieve from pop3
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 supp...@example.com at pop.yourpopserver.com(13002 octets). sh: /root/rt-4.0.5/bin/rt-mailgate: Permission denied fetchmail: reading message supp...@example.com@xx.xxx.xx.xx.static.xx.net:1of 3 (9017 octets) (log message incomplete) fetchmail: error writing message text fetchmail: MDA error while fetching from supp...@example.com@ pop.yourpopserver.com fetchmail: Query status=6 (IOERR) On Fri, Apr 27, 2012 at 2:07 AM, 20/20 Lab l...@pacbell.net 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 l...@pacbell.net 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 falc...@bestpractical.com 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
Re: [rt-users] fetchmail errors trying to retrieve from pop3
[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 scott.sjo...@gmail.comwrote: 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 supp...@example.com at pop.yourpopserver.com(13002 octets). sh: /root/rt-4.0.5/bin/rt-mailgate: Permission denied fetchmail: reading message supp...@example.com@ 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 supp...@example.com@ pop.yourpopserver.com fetchmail: Query status=6 (IOERR) On Fri, Apr 27, 2012 at 2:07 AM, 20/20 Lab l...@pacbell.net 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 l...@pacbell.net 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 falc...@bestpractical.com 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