Re: [Imap-protocol] Is there some way to detect servers which automatically add sent messages to the Sent mailbox?
Bron Gondwana <[email protected]>
| Newsgroups | gmane.mail.imap.general |
|---|---|
| Message-ID | <1358205474.23679.140661177584041.36A2913A@webmail.messagingengine.com> |
How often do you re-test to make sure the server is still working the same way? If the Id response changes? Bron (more likely to be a user or admin changing server config... it does happen) On Tue, Jan 15, 2013, at 12:58 AM, Arnt Gulbrandsen wrote: > There isn't a good way, but there's always head-on brute force. > > When you store a message in Sent, store the message-id into a little > database on the side. You don't have to take very good care if it, any > sort of crap db will do, even an ascii file in a cache directory. When > you look at Sent for other reasons, see if the message-ids in that db > are all duplicated in Sent, and if most of them are, stop writing to > Sent from then on. See? The solution isn't difficult at all, merely a > little nauseating ;) > > Have a nice day. > > Arnt > _______________________________________________ > Imap-protocol mailing list > [email protected] > http://mailman2.u.washington.edu/mailman/listinfo/imap-protocol -- Bron Gondwana [email protected] _______________________________________________ Imap-protocol mailing list [email protected] http://mailman2.u.washington.edu/mailman/listinfo/imap-protocol