From owner-freebsd-questions Wed Apr 26 19:16: 5 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail1.noc0.hsacorp.net (mail1.noc0.hsacorp.net [208.247.171.140]) by hub.freebsd.org (Postfix) with ESMTP id 9799437B653 for ; Wed, 26 Apr 2000 19:16:02 -0700 (PDT) (envelope-from jconner@enterit.com) Received: from [24.216.177.146] (HELO default.enterit.com) by mail1.noc0.hsacorp.net (CommuniGate Pro SMTP 3.2.4) with ESMTP id 11159502; Wed, 26 Apr 2000 22:16:00 -0400 Message-Id: <4.3.1.2.20000426221708.01dc4830@pseudonet.org> X-Sender: jconner@mail.enterit.com X-Mailer: QUALCOMM Windows Eudora Version 4.3.1 Date: Wed, 26 Apr 2000 22:21:44 -0400 To: big-sky@altavista.net, freebsd-questions@FreeBSD.ORG From: Jim Conner Subject: Re: fetchmail question In-Reply-To: <39079EA7.3E57A535@cs-dsl-130.datawest.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Put this in your /usr/local/etc/rc.d/ dir (I called mine fetchmail.sh. Make sure its chmod'ed executable (I think I made mine 700) (hist 501)# cat /usr/local/etc/rc.d/fetchmail.sh #!/bin/ksh if [ -x /usr/local/bin/fetchmail ] then /usr/local/bin/fetchmail -d 300 echo " fetchmail (daemon mode)" else echo "Couldn't find fetchmail...or its not executable." fi And then put this in your $HOME/.fetchmailrc bash$ cat .fetchmailrc poll mail proto pop3 user YOUR_POP3_USERNAME pass YOUR_POP3_PASSWORD Thats it...at boot time it will start the fetchmail as a daemon and retrieve your email. Change the above value of 300 to 3600 to poll ever hour. - Jim At 07:57 PM 4/26/00 -0600, Mark wrote: >Could someone explain the dizzying array of options outlined in the man >pages? > >Situation: >I run my on mail server on my dsl connection. >My isp email account gets occasional email that I would like to get and >bring it to my local user account. I thought fetchmail would do the job. > >In a nutshell, I want to run fetchmail from my rc.conf file so it runs >all the time, checks for mail every hour, and delivers it to my mailbox >so all my mail is in one mailbox. > >Help? Other options? > >p.s. ISP has been very flexible in accomidating me so far but I believe >if I ask for one more thing, i.e. to forward the mail, it will >completely wipe away my welcome. > > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-questions" in the body of the message ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Today's errors, in contrast: Windows - "Invalid page fault in module kernel32.dll at 0032:A16F2935" UNIX - "segmentation fault - core dumped" Humanous Beingsus - "OOPS, I've fallen and I can't get up" ------------------------------- Jim Conner NOTJames jconner@enterit.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message