Hi Derek, Thanks ever so much for your speedy reply, Your suggestions are great, If I understand you correctly, your suggestion / solution implies that the dial-up / ppp connection is running on the same machine that fetchmail is. Therefore the dial up( if-up.local ) script calls fetchmail when it has brought the modem link up.......!
I am not sure if I made my self clear, my apoligies....... My dial-up connection is on another box ( a smoothwall / firewall ) and it is this box that has a modem attached to act as my gateway device. ( dial on demand. ) I run fetchmail on my mandrake 9.0 work station, and it times out with a dns error I think this is due to the amout of time that the smoothwall box takes to dial up my isp........? I have looked into my "Reply To" setting in my LookOut Express Once again many thanks. Paul ----- Original Message ----- From: "Derek Jennings" <[EMAIL PROTECTED]> To: "newbie" <[EMAIL PROTECTED]> Sent: Saturday, November 15, 2003 5:35 PM Subject: Re: [newbie] help with fetchmail..... > On Saturday 15 Nov 2003 4:31 pm, [EMAIL PROTECTED] wrote: > > Hello, > > > > I would be greatfull if some one could plz suggest a possible solution to a > > fetchmail problem I am having.. > > I am currently using smoothwall to connect to my ISP to send/ receive mail > > / browse the web, via a dial on demand ppp modem connection. > > > > On my Mandrake 9.0 Workstation, I have set up a cron job to run fetchmail > > several times a day to collect mail..... > > The problem I am having is that when cron run's fetchmail at the designated > > time, fetchmail times out with the following error.. > > couldn't find canonical DNS name of pop.myisp.com > > I am running bind as a caching name server and it seems to be working ok. > > > > The average connect times on my dial up modem connection is 30-45sec... > > > > I run fetchmail with the following syntax /usr/bin/fetchmail -v -t 200 -D > > mydomain.co.uk -F > > > > > > Is there a way I can get fetchmail to wait for about 30 seconds before it > > tries to fetchmail.....? > > I thought that the -t switch would be the answer, but this doesn't seem to > > help..... > > > > Any suggestions welcome......? > > > > Regards > > Paul Downey > > > > Linux Newbie > > Instead of using a cron job you could put your fetchmail command in > /etc/ppp/if-up.local It will be executed after the dial up is established. > > Alternatively run fetchmail as a daemon. Install the fetchmail-daemon RPM and > it will run continuously using /etc/fetchmailrc as its config file. It does > not matter if you are on line or not. By default it will poll for mail every > 180 secs as defined in /etc/init.d/fetchmail > > Also to get bind out of the equation you could reference your ISP's mail > server by IP address instead of canonical name > > > HTH > > derek > > > BTW: You do not need that "Reply To" setting in your LookOut Express > configuration. Deleting it will make lots of people happy. > > -- > ---------------------------------- > www.jennings.homelinux.net > http://twiki.mdklinuxfaq.org > > > ---------------------------------------------------------------------------- ---- Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com