LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Fetchmail - Permission error (https://www.linuxquestions.org/questions/linux-newbie-8/fetchmail-permission-error-293405/)

jacquedp 02-22-2005 10:13 AM

Fetchmail - Permission error
 
Hi,

I am trying to setup fetchmail to retrieve my mail on an ODMR server at my ISP.

I have created a fetchmailrc file containing the following text under the /etc folder :

set daemon 60
set syslog
poll mail.myisp.co.za with protocol ODMR via 196.(isp ODMR ip)
timeout 900
username "USERNAME" with password "PASSWORD
fetchdomains MYDOMAIN
stphost 127.0.0.2

I then launch the following command from /usr/bin "fetchmail -f /etc/fetchmailrc"

I get the following error message " file /etc/fetchmailr must have no more than -rwx--x--- (0710) permissions

Can anyone please point me in the right direction ?

Thanks

vls 02-23-2005 02:06 PM

Re: Fetchmail - Permission error
 
Quote:

Originally posted by jacquedp
I get the following error message " file /etc/fetchmailr must have no more than -rwx--x--- (0710) permissions
Fetchmail is telling you what exactly what the problem is: Your file
permissions are too open.

Set the permissions: chmod 0600 fetchmailrc

It looks like this is just for you so I can't see any reason to have
the file in /etc. You should have it in your home directory as
".fetchmailrc" and do away with calling the file directly from the
command line. But if you have a reason to put it in /etc, do as you
will.


All times are GMT -5. The time now is 01:00 AM.