COPY vs APPEND for imapsieve?

Stephan Bosch stephan at
Mon Dec 5 14:16:48 UTC 2016

Op 5-12-2016 om 14:36 schreef MRob:
> The examples on the imapsieve documentation page use COPY but not 
> APPEND to watch messages coming into a folder. Are there not 
> circumstances that a client would APPEND a message to a folder instead 
> of COPY? Is APPEND only used by most clients for adding a sent message 
> to the sent folder? I'm not familiar enough with IMAP clients to know 
> if by leaving off APPEND I am safe or I am at risk to miss some 
> actions I shouldn't.

Depends on the application. E.g., if you're trying to detect messages 
being moved into the Junk folder, COPY is usually involved. Instead, if 
you're trying to detect messages being put in the Sent folder, APPEND is 
usually involved.



More information about the dovecot mailing list