Make Sent folder pull-only in mbsync config
Split mbsync channel into two: proton-main for bidirectional sync (excluding Sent) and proton-sent for pull-only sync. This avoids "far side refuses to store" errors from Proton Bridge rejecting uploaded sent messages.
This commit is contained in:
@@ -43,14 +43,28 @@ in
|
||||
Inbox ~/Mail/INBOX
|
||||
SubFolders Verbatim
|
||||
|
||||
# Channel Configuration - Sync All
|
||||
Channel proton
|
||||
# Channel Configuration - Main (excludes Sent)
|
||||
Channel proton-main
|
||||
Far :proton-remote:
|
||||
Near :proton-local:
|
||||
Patterns *
|
||||
Patterns * !Sent
|
||||
Create Both
|
||||
Expunge Both
|
||||
SyncState *
|
||||
|
||||
# Channel Configuration - Sent (pull only)
|
||||
Channel proton-sent
|
||||
Far :proton-remote:Sent
|
||||
Near :proton-local:Sent
|
||||
Create Near
|
||||
Expunge Near
|
||||
Sync Pull
|
||||
SyncState *
|
||||
|
||||
# Group both channels
|
||||
Group proton
|
||||
Channel proton-main
|
||||
Channel proton-sent
|
||||
'';
|
||||
|
||||
# msmtp configuration
|
||||
|
||||
Reference in New Issue
Block a user