I was messing around with Fetchmail on a Test Email account. Here's what my fetchmailrc file looks like:
When I ran this, it removed all the test emails from my Google Account. There were a few emails that I needed, however, I can still access them from my Linux machine, but would like to know if there was a way that I can move the email from my linux machine back to Google. Is there such a way I can do this, or am I screwed, and have to just read those emails I "lost" from my Linux box?
I believe for this not to happen again, I need to put "keep" in my fetchmail config file. But for now ... can I push those emails back to the server by any chance?
There are tools for moving stuff between IMAP boxes; the simplest to set up is probably something like Thunderbird. Just set it up with a local mbox account and a remote Gmail IMAP account, and you should be able to drag messages back and forth. (Message orders, dates, etc might end up different from what they originally were, of course.)
There are tools for moving stuff between IMAP boxes; the simplest to set up is probably something like Thunderbird. Just set it up with a local mbox account and a remote Gmail IMAP account, and you should be able to drag messages back and forth. (Message orders, dates, etc might end up different from what they originally were, of course.)
Thanks for the reply. Do you have any idea what "tools" that I could use that pertain to the command line? This is a base install of CentOS 5.2. X is not installed. There is no GUI.
If you are familiar with Perl or Python, they come with IMAP libraries which let you do something like this, although you would have to write a wrapper script around those libraries.
I don't know the feature set of Mutt because I don't use it; perhaps it has support for moving between folders on different servers, too. My experience with Gnus IMAP support is that this particular functionality used to be a bit lacking.
Last edited by era; 09-08-2008 at 03:37 AM..
Reason: Add Mutt and Gnus comments
hi,
some of my email are going into the junk box. so i have stopped the email junk filtering as per the below link
Outlook 2013 Junk Email Filter - Litmus
but now the mails are going into delete box instead of my inbox.
so any idea how can i stop the junk emails going into delete box and... (2 Replies)
Discussion started by: mallikarjun7777
2 Replies
2. Post Here to Contact Site Administrators and Moderators
I'm looking forward to learn something via this unix.com. You call me Non-Sense doesn't make any sense. Some people doesn't quote properly in english but they are all just looking for to take some sense out of this forum.
If you're good in shell / perl scripting and you can't expect everyone... (3 Replies)
Hi
Can anyone please help me out in the below requirement,
Need to access the mailbox of any Email server like gmail, yahoo etc.. and access the Inbox and check Emails.
If i have to access gmail Inbox of any user, My Input parameter will be the domain name, Email ID and Password. example... (3 Replies)
Hello all,
Is there a way I can invoke a shell script when ever a new mail is delivered to my account in solaris? Something like .forward file, instead of forwarding it to another email id, I want the email to be passed onto some shell script.
Basically I want to extract the envelop... (3 Replies)
Hi All,
I have an inbox , which recieves mails every second. I need to copy the contents of the mails in the inbox to a file , say once every minute. Then clear the content of the inbox. There is a possibility that a new mail might come in before I delete the content.
Please let me know if... (1 Reply)
Hi peeps,
We are having around 60 users.
The time set to retrieve the mail is 300 sec.
But it's taking around 1 hour to deliver mails.
I am using debian sarge 3.1.
any clues?
And how it will affect if I decrease the time?
My machine has got 1 p4 3.0 GHZ processor and 1 GB ram.
The home... (2 Replies)
i want to extract the field from, subject and email body part from an inbox into a csv file under redhat 7.x. prefer perl script or any unix utilities. please help. :confused: (2 Replies)
I want to programatically delete a mail from my inbox(preferrably through perl).
Is there any unix command for the same or do we have some perl modules which can do this job. (3 Replies)