Date: Wed, 26 Apr 2000 22:21:44 -0400 From: Jim Conner <jconner@enterit.com> To: big-sky@altavista.net, freebsd-questions@FreeBSD.ORG Subject: Re: fetchmail question Message-ID: <4.3.1.2.20000426221708.01dc4830@pseudonet.org> In-Reply-To: <39079EA7.3E57A535@cs-dsl-130.datawest.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4.3.1.2.20000426221708.01dc4830>