LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-14-2004, 01:25 PM   #1
sanjiv
Member
 
Registered: Sep 2003
Distribution: Fedora 7
Posts: 34

Rep: Reputation: 15
fetchmail retrieving old messages


Hi,
My .fetchmailrc file does not have the `fetchall' option. Still, evertime I run fetchmail, it retrieves both old and new messages. As a result, I am getting multiple copies of the old messages. FYI, I am also using the `keep' option in my .fetchmailrc file, just to play it safe.

If somebody can help me, I really appreciate it.

Sanjiv
 
Old 09-14-2004, 01:30 PM   #2
Hammett
Senior Member
 
Registered: Aug 2003
Location: Barcelona, Catalunya
Distribution: Gentoo
Posts: 1,074

Rep: Reputation: 59
The problem is that you're not deleting your messages on the server, so, everytime they will download, cause fetchmail retrieves all messages. The only solution is to delete them (on the server) once you got them in your mailbox.
Remove the "keep" option on your config file.
 
Old 09-14-2004, 01:36 PM   #3
sanjiv
Member
 
Registered: Sep 2003
Distribution: Fedora 7
Posts: 34

Original Poster
Rep: Reputation: 15
Thanks for your reply.
I am not sure if `keep' is causing this problem. Then what is the point of the `fetchall' command ? I mean, keeping old messages on the server and retrieving them should be two different things, right ? Or am I missing something ?

Sanjiv
 
Old 09-15-2004, 04:51 AM   #4
Hammett
Senior Member
 
Registered: Aug 2003
Location: Barcelona, Catalunya
Distribution: Gentoo
Posts: 1,074

Rep: Reputation: 59
Taking a look to fetchmail's help, the keep option says to not delete the messages from the server. But, how do you tell the fetchmail which are the new messages and old ones?? You should make some rules for fetchmail that i don't know if they're available for getting the new mail.

Maybe there's an option to put a mark on the old mails, but this would mean to write on the server, something I don't think you're able to do directly, but you can tell the server to put a mark on them. You should take a look to your ISP services to see if that option is available. If so, fetchmail will retrieve only the new messages (default action). fetchall will retrieve them all.

My advise is that you talk to your ISP to see wether it's possible to mark already seen messages or not.

Hope it helps
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
fetchmail doesn't want to fetch my messages jogurt666 Linux - Software 1 09-07-2005 03:13 PM
using fetchmail to fetch messages for Citadel system trancephorm Linux - Software 2 07-24-2005 04:18 AM
Fetchmail messages into the void goldenratiophi Linux - General 0 05-01-2005 04:47 PM
Retrieving boot messages ministre Linux - Software 3 01-14-2005 01:09 AM
Where does fetchmail save the messages gubak Linux - Networking 1 08-04-2004 06:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:58 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration