2

Using mu4e, I am using SMTP to send emails through my Office 365 server (I don't like it either). When a message is created by mu4e, a file is created in my "Sent" folder, but then the email server creates another email in the same folder leading to duplicate messages on both my local maildir and the remote server when I eventually synchronize.

I resolved the issue somewhat by creating a separate folder for mu4e, "mu4e-Sent", where local messages are moved to once they are sent. This folder is then not synced with the server and I don't have any duplicates there. But I still have duplicates in my local maildir that appear when searching for emails.

Is there a better way to resolve this? Is there perhaps a way to tell mu4e to ignore the local "mu4e-Sent" folder?

Thanks

1 Answer 1

3

Set the variable mu4e-sent-messages-behavior. It has three possible values and the docstring says:

Note, when using GMail/IMAP, you should set this to either trash or delete, since GMail already takes care of keeping copies in the sent folder.

So, `(setq mu4e-sent-messages-behavior 'delete) does the trick.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.