Linux.com

Home Linux Community Forums Software Command Line Fetchmail problem. Keeps downloading the same mail

Fetchmail problem. Keeps downloading the same mail

Link to this post 24 Jun 11

Im having a problem with my Fetchmail.

When i run the program it keeps fetching the same mail everytime.

My fetchmailrc looks like this:
------------------------------------------------------------------
#set daemon 600
#set logfile /home/username/fetchmail.log

poll "mail.server.com" protocol POP3
user "NAME" pass "PASSWORD" is "USERNAME" here
# ssl
# fetchall
keep
# no rewrite
mda "/usr/bin/procmail -f %F -d %T"
------------------------------------------------------------------

I know if im not using keep it will work but i want to use it, it must be a way so fetchmail knows which mail it already has been fetching?

Link to this post 29 Jun 11

You'll probably have to delete the old mail on the server. Removing keep might also help.

Link to this post 29 Jun 11

Theatre wrote:

Im having a problem with my Fetchmail.

When i run the program it keeps fetching the same mail everytime.

My fetchmailrc looks like this:
------------------------------------------------------------------
#set daemon 600
#set logfile /home/username/fetchmail.log

poll "mail.server.com" protocol POP3
user "NAME" pass "PASSWORD" is "USERNAME" here
# ssl
# fetchall
keep
# no rewrite
mda "/usr/bin/procmail -f %F -d %T"
------------------------------------------------------------------

I know if im not using keep it will work but i want to use it, it must be a way so fetchmail knows which mail it already has been fetching?

There must be an option to mark the messages you download as read so you won't download them again the next time you check your email.

Regards

Who we are ?

The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.

More About the foundation...

Frequent Questions

Join / Linux Training / Board