On Thu, 21 Aug 1997, Bogdan Taru wrote:

-
-       Hi all,
- I know that there has been a lot of talk lately about fetchmail in this
-mailing list recently. I am sorry I didn't paid much attention then... 
- Anyway, this is my problem: I have a ethernet connection with a mail
-server (POP3) and I would like to retreive mail every now and then. My
-problems are:
- 
-- should I run fetchmail as a daemon from a boot script and have a
-.fetchmailrc in my home directory or should I put a fetchmail command in
-my .profile?
-
-- How can I skip authentification? My account name on the server is 'bgd'
-and the passwd is 'my_pass' (can you believe that??? I DO trust you,
-guys...). The server name is 'deltanet.ro'. I'm currently using:
-
-   fetchmail -p POP3 -d 120 -u bgd deltanet.ro 
-                |       |      |       |
-          mail server   |      |       |
-                        |      |       |
-               run as a daemon |       |
-                               |       |
-                           user name   |
-                                   mail server
- Please corect me if I'm wrong...                                      
-
-What options should I use to skip giving the password every time fetchmail
-checks for new mail???

have a .fetchmailrc in your home dir like this:

        poll deltanet.ro protocol pop3
                user "bgd" pass "my_pass"

make it chmod 0600.

then in a boot script (rc.local) have a line:

/path/to/fetchmail -d 120

and it'll fetch your mail every 120 whatevers (is it seconds?).

and you don't even need to reboot (unlike certain other O/Ss) just type:

fetchmail -d 120

from the command prompt.
-- 
[EMAIL PROTECTED]                http://x-map.home.ml.org

Reply via email to