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
|
Inbox ~/Mail/INBOX
|
||||||
SubFolders Verbatim
|
SubFolders Verbatim
|
||||||
|
|
||||||
# Channel Configuration - Sync All
|
# Channel Configuration - Main (excludes Sent)
|
||||||
Channel proton
|
Channel proton-main
|
||||||
Far :proton-remote:
|
Far :proton-remote:
|
||||||
Near :proton-local:
|
Near :proton-local:
|
||||||
Patterns *
|
Patterns * !Sent
|
||||||
Create Both
|
Create Both
|
||||||
Expunge Both
|
Expunge Both
|
||||||
SyncState *
|
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
|
# msmtp configuration
|
||||||
|
|||||||
Reference in New Issue
Block a user