On Monday 24 December 2007, Vikram Goyal wrote: >On Mon, Dec 24, 2007 at 06:13:02PM -0500, Gene Heskett wrote: >> On Monday 24 December 2007, Michael Schwendt wrote: >> >On 24/12/2007, Gene Heskett <gene.heskett@xxxxxxxxxxx> wrote: >> >> On Monday 24 December 2007, John Kodis wrote: >> >> >Hi Gene, >> >> > >> >> >While I'm not Joanne, my first question would be "Have you tried >> >> >'fetchmail --all'?" >> >> >> >> Humm, good Q. Its launched at boot time by this line in rc.local: >> >> su gene -c "fetchmail -d 90 --fetchmailrc /home/gene/.fetchmailrc" >> >> .fetchmailrc looks benign wrt that option. It normally just sucks what >> >> is there and unread. It will all be unread cuz I don't use the webmail >> >> interface. >> > >> >If you poll via POP3, downloaded messages are marked as read until >> >they flushed (=deleted) unless you tell fetchmail to --keep them. In >> >case of an error, they are not flushed, but still marked as read. You >> >need fetchmail --all then. >> > >> >If you know there are thousands of messages on the server and >> >fetchmail is interrupted frequently, set the --fetchlimit parameter to >> >the max.number of messages to download in one run. >> >> You folks are better than the manpages! You write in english. :) >> >> Thanks. And you and yours have a very Merry Christmas. > >Give this a try. > >~/.fetchmailrc > >set logfile /home/vikram/.fetchmail.log >set daemon 900 > >poll pop.gmail.com >#poll imap.gmail.com > proto pop3 > #proto imap > port 995 > #port 993 ># timeout 100 > user "something@xxxxxxxxx" > pass "XXXXXXXXXXXX" > is gene > no keep > fetchall > #expunge 50 > expunge 25 > flush > ssl > And this I assume will grab 25 at a pop and pass them off to procmail? I have this set as the MDA at the top of that file. I have mine set for defaults mda "/usr/bin/procmail -d gene" set no bouncemail set no spambounce set daemon 90 Then the gmail stanza: poll pop.gmail.com with proto pop3 user ZZZZZZZZZZ with password XXXXXXXXXXX is gene options ssl and no port # is spec'd. Is not the default ssl port # 995? I'll fix it up and restart fetchmail for grins, thanks Vikram & Merry Christmas to you and yours. -- Cheers, Gene "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) Intellect annuls Fate. So far as a man thinks, he is free. -- Ralph Waldo Emerson