Post AWgOjKjI2vrSBdzXJw by phill@mastodon.notsobig.co
 (DIR) More posts by phill@mastodon.notsobig.co
 (DIR) Post #AWgLsAIvsOHEb7BOHA by phill@mastodon.notsobig.co
       2023-06-14T09:39:06Z
       
       0 likes, 0 repeats
       
       Posting incase any IMAP/SMTP buffs follow me:Gmail copies whatever is sent via SMTP into IMAP. If you try to APPEND the same message to Sent, you get a dupe. If you APPEND to All Mail though, then immediately store a \Sent label, it doesn't duplicate…90% of the time. So why does this work most of the time, but sometimes fail?When it's working the server seems to return both EXPUNGE and EXISTS simultaneously. If it fails, you only get an EXISTS.
       
 (DIR) Post #AWgLsBRpcmzQ90M0mm by phill@mastodon.notsobig.co
       2023-06-14T09:46:16Z
       
       0 likes, 0 repeats
       
       I could detect if I'm connected to Gmail and just not append of course, but I'd like to understand what's happening.Inspecting Apple Mail's traffic, I can see it's appending to All Mail as well, but it doesn't seem to ever duplicate. Perplexing.If anyone knows anything I'd be very interested!
       
 (DIR) Post #AWgLsC815wjYFq5hXU by noim@noc.social
       2023-06-14T12:32:56Z
       
       0 likes, 0 repeats
       
       @phill lol maybe gmail has a special rule for the apple mail client
       
 (DIR) Post #AWgOjKjI2vrSBdzXJw by phill@mastodon.notsobig.co
       2023-06-14T13:04:54Z
       
       0 likes, 0 repeats
       
       @noim yeah I thought that too, but spoofing the agent name doesn’t make a difference.