I have a POP3 mailbox from my webhost. I have gmail check the mailbox
and leave the messages on the server. Twice a day I have my home
computer (Fedora - please don't hold that against me) use fetchmail to
download and remove the messages from the POP3 mailbox.
The problem is that there is a short period where if a message is
received by the POP3 mailbox it will only end up on my Fedora computer
and not make it to gmail.
Is there some way to have fetchmail only flush messages that have been
previously downloaded and leave any that are newly downloaded on this
run? This way gmail will have time to get the messages.
Is there a better solution to this? I get enough email that i can't
leave it on the server for more than 24hrs without exceeding my
mailbox size limit.
Thanks in advance.
> The problem is that there is a short period where if a message is
> received by the POP3 mailbox it will only end up on my Fedora computer
> and not make it to gmail.
Have you considered having Gmail clean out the mailbox and then having
Fetchmail download the messages from Gmail?
--
John Hasler
jo...@dhh.gt.org
Dancing Horse Hill
Elmwood, WI USA
Thanks. I didn't realize I could download from gmail.
> --
> John Hasler
> j...@dhh.gt.org
Oh wait no. It seems that fetchmail will only download the message I
haven't read in gmail :( If I give it the -a option then it downloads
everything including stuff it downloaded previously.
Any other ideas?
Thanks in advance.
I'm not sure what you are saying here, but in any case perhaps getmail4
<http://pyropus.ca/software/getmail/> would be more useful to you.
--
John Hasler
jo...@dhh.gt.org
Does this:
fetchmail fetches all new, doesn't delete
Gmail fetches all new, then deletes
do what you want? I'm not quite sure of the behavior you're after.
--
-eben QebWe...@vTerYizUonI.nOetP royalty.mine.nu:81
Two atoms are discussing whether or not to go into a bar. The first atom
says, "I don't know about this place. Last time I went in there, I lost
an electron." The second atom says, "Don't worry, I'll keep my ion you."
I want gmail to be the place I usually read my email. So it needs to
be up to the minute.
My box at home just needs to be more of a backup/archive. Something I
can ssh to if I'm at a client's site and they block gmail or if I
decide I no longer want to use gmail I'd don't want to figure out how
to export years worth of email.
With your proposed solution, I think there's still the potential for
email to end up in only one place instead of both. i.e. fetchmail
fetches. New mail arrives. Gmail fetches and deleted. That new mail
is only on gmail and will never get on my home box.
Am i making any sense?
I'm not sure there's a general way you can _guarantee_ both A and B each
get a copy of all mail. Possibly in your case:
You turn home into a POP server.
Home is also a POP client (fetchmail).
It fetches and deletes all mail from $ISP.
GMail fetches and leaves mail from home. (Get a free dynamic host
name.)
--
-eben QebWe...@vTerYizUonI.nOetP royalty.mine.nu:81
If you need someone to blame
Throw a rock in the air
You'll hit someone guilty -- U2, _Zooropa_, "Dirty Day"