Hi,
I'm trying to configure mu4e with isync and msmtp in which the email account is GMail.
The combination works and I can sync my email as well as send email through google smtp.
However when I send email this way I always end up having a copy in both the send emails as well as in my "All Mail" folder on GMail.
As I use the "All Mail" folder to archive message that are important enough to keep I consider this unwanted behavior.
Having searched for a solution I have failed to find a clear pointer that tells me what I am doing wrong.
Can someone here explain how can prevent my own send email from appearing under "All Mail" (and as a result in the local archive folder)?
The software versions I'm using are isync(1.2.1); mu (0.9.15); msmtp (1.6.3) and the relevant bits of my config files are below:
Thanks in advance for looking,
Cheers,
Henkjan
======== mu4e ==========
(setq mu4e-maildir "~/.mail/family"
mu4e-trash-folder "/trash"
mu4e-refile-folder "/archive"
mu4e-get-mail-command "mbsync -a"
user-mail-address "..
snip..@gmail.com"
mu4e-sent-messages-behavior 'delete
)
;; use msmtp for mail delivery
(setq message-send-mail-function 'message-send-mail-with-sendmail
sendmail-program "/usr/bin/msmtp"
user-full-name "..snip..")
====== mbsyncrc =======
# Default settingS
Create Slave
Expunge Both
SyncState *
IMAPStore family-remote
Host
imap.gmail.comUser ...
snip....@gmail.comPassCmd "/usr/bin/pass Email/Family"
SSLType IMAPS
SSLVersions TLSv1.2
CertificateFile /etc/ssl/certs/ca-certificates.crt
MaildirStore family-local
Path ~/.mail/family/
Inbox ~/.mail/family/INBOX
Channel family-inbox
Master ":family-remote:INBOX"
Slave ":family-local:INBOX"
Channel family-archive
Master ":family-remote:[Gmail]/All Mail"
Slave ":family-local:archive"
Channel family-drafts
Master ":family-remote:[Gmail]/Drafts"
Slave ":family-local:drafts"
Channel family-sent
Master ":family-remote:[Gmail]/Sent Mail"
Slave ":family-local:sent"
Channel family-trash
Master ":family-remote:[Gmail]/Bin"
Slave ":family-local:trash"
Channel family-spam
Master ":family-remote:[Gmail]/Spam"
Slave ":family-local:spam"
Group gmail-family
Channel family-trash
Channel family-inbox
Channel family-drafts
Channel family-sent
Channel family-archive
Channel family-spam
====== msmtp =======
# Set default values for all following accounts.
defaults
auth on
tls on
# Set a list of trusted CAs for TLS; using a system-wide default file,
tls_trust_file /etc/ssl/certs/ca-certificates.crt
# GMail Family Account
account gmail-family
host
smtp.gmail.comport 587
from ..
snip..@gmail.comuser ..snip
passwordeval pass Email/Family
# Set a default account
account default : gmail-family