LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   dovecot & fetchmail ... fetching all mail (https://www.linuxquestions.org/questions/linux-networking-3/dovecot-and-fetchmail-fetching-all-mail-660262/)

xrado 08-04-2008 01:47 AM

dovecot & fetchmail ... fetching all mail
 
hello

it is happening that imap clients fetcing all mail again form imap (also already read). i dont know why is this happening. maybe form a server crash or logrotate.

do you have any idea?

billymayday 08-05-2008 02:33 PM

I don't follow your post. Are you saying that if you connect a mail client to your imap server that you see all messages? Isn't this what you'd expect? What do you want to see happen?

xrado 08-05-2008 04:05 PM

damn what am i writing .. :/

i was trying to say that fetchmail starts fetching all mail again also the one already fetched

billymayday 08-05-2008 04:08 PM

I assume you are using POP?

Are you sure you haven't specified the -keep option either at the command level or in fetchmailrc?

xrado 08-05-2008 04:27 PM

yes it fatching from pop

this is how my fetchmailrc looks:
Code:

set daemon 150
set no syslog
set logfile /var/log/fetchmail.log
poll "server" protocol pop3
    username "mail" with password "pass" is "user" here keep
    username "mail2" with password "pass2" is "user2" here keep
mimedecode

# SOME USEFUL OPTIONS
# keep - Don't delete seen messages from server
# no keep - Delete seen messages from server (default)
# fetchall - Fetch all messages whether seen or not
# no fetchall - Retrieve only new messages (default)

i know "no" keep would solve the problem but user wants to keep mail also on pop account


All times are GMT -5. The time now is 10:28 PM.