[Users] Messages being expunged before retrieval

Peter Richards peter777 at users.sourceforge.net
Mon May 22 02:43:42 CEST 2017


Claws is giving the message "expunged" in the logs on a POP3
account. This has been happening for a while now, but I
assumed it was some sort of timeout problem, and the next time I did a
POP3 on that account, it will retrive the messages.

Today I checked the logs, matching the messages retrived to what was on
the server. Seems Claws is deleting messages from the server before they are retrieved.

Here are the logs today ...

########################################################
* Account '*********': Connecting to POP3 server:
mail.example.com:995... [10:03:56] POP3< +OK Dovecot ready.
[10:03:56] POP3> USER ***********@example.com
[10:03:57] POP3< +OK
[10:03:57] POP3> PASS ********
[10:03:57] POP3< +OK Logged in.
[10:03:57] POP3> STAT
[10:03:57] POP3< +OK 2 11869
[10:03:57] POP3> UIDL
[10:03:57] POP3< +OK
[10:03:57] POP3> LIST
[10:03:58] POP3< +OK 2 messages:
[10:03:58] POP3> RETR 1
[10:03:58] POP3< -ERR Message 1 expunged.
*** error occurred on POP3 session
*** Error occurred while processing mail.
################################################


Then when I tried a POP3 on that account again ..


##########################################
* Account '**********': Connecting to POP3 server:
mail.example.com:995... [10:04:08] POP3< +OK Dovecot ready.
[10:04:08] POP3> USER ***********@example.com
[10:04:08] POP3< +OK
[10:04:08] POP3> PASS ********
[10:04:08] POP3< +OK Logged in.
[10:04:08] POP3> STAT
[10:04:08] POP3< +OK 1 5077
[10:04:08] POP3> UIDL
[10:04:08] POP3< +OK
[10:04:08] POP3> LIST
[10:04:08] POP3< +OK 1 messages:
[10:04:08] POP3> RETR 1
[10:04:09] POP3< +OK 5077 octets
[10:04:09] POP3> DELE 1
[10:04:09] POP3< +OK Marked to be deleted.
[10:04:09] POP3> QUIT
[10:04:10] POP3< +OK Logging out, messages deleted.
########################################

and then I checked in Claws - only 1 msg appears.

Logged onto the account where the mail server is, and there are no
messages in .Trash or /cur or/new or /tmp

So, it does appear that Claws has been deleting messages from the mail
server, before they have been successfully downloaded.

Had a quick look through the file claws.log.bak and the first 'set'
regards that account were 26 msgs, then the 'expunged' error, then only
19 retrieved.

Regards,

Peter




More information about the Users mailing list