Welcome to the new Linux Foundation Forum!

Fetchmail problem. Keeps downloading the same mail

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?

Comments

  • You'll probably have to delete the old mail on the server. Removing keep might also help.
  • marcmarc Posts: 647
    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
Sign In or Register to comment.