fetchmail exis status 1 - Only few emails are getting retrieved.
Dilip M
dilip.mahadevappa at gmail.com
Mon Sep 17 10:27:48 UTC 2007
Hi,
===
I installed ubutu over internet using net image
fetchmail version: 6.3.8. A default that comes with ubuntu.
===
Thank you for Andrew to make this setup easy for beginners :)
http://people.aapt.net.au/~adjlstrong/mutt.html#fetchmail
** I'm getting a EXIT STATUS 1, using fetchmail to POP gmails! **
1. First logged into gmail webmail and activated "Enable POP for all
mail (even mail that's already been downloaded)". + "Keep a copy..."
There are ~ 3000 emails in my gmail inbox!
2. My "~/.fetcmailrc", is
====
poll pop.gmail.com # Tell fetchmail about server
with proto POP3 # Use the POP-protocol
user 'username at gmail.com ' # Your Gmail Username
there with password '****' # Your Gmail Password
is 'dilipm' here # Local Username
mda "/usr/bin/procmail -d %T" # Tell fetchmail which MDA to use
options # Options duh
keep # Keep the mail on server = safe
ssl
sslcertck
sslcertpath /etc/ssl/certs
====
3. Did 'fetchmail -vv' for the first time, and emails are getting
fetched. Since gmail makes them available in batches. I executed
fetchmail -vv, several times..
[http://mail.google.com/support/bin/answer.py?answer=13291&useful=1&show_useful=1]
4. What I noticed, is the logfile says...
...snip...
712 messages (712 seen) for ........at gmail.com at pop.gmail.com
...snip....
fetchmail: POP3> QUIT
fetchmail: POP3< +OK Farewell.
fetchmail: 6.3.8 querying pop.gmail.com (protocol POP3) at Sun Sep 16
16:22:45 2007: poll completed
fetchmail: Query status=1 (NOMAIL)
fetchmail: normal termination, status 1
Exit code 1 means, There was no mail awaiting retrieval. (There may
have been old mail still on the server but not selected for
retrieval.)
But there are still many emails! Don't know, why they are not selected for
retrieval!
I also did, rm ~/fetchids and moved the mailbox + again set the "Enable
POP for all mail (even mail that's already been downloaded)"..and
repeated the 4 steps again...I get the *same* emails...but not
remaining.
Has anyone faced a same problem?
--
Dilip
More information about the ubuntu-users
mailing list