On Fri, Mar 10, 2017 at 07:04:31PM +0100, Florian Lombard wrote:
> Le 10/03/2017 à 18:53, Oswald Buddenhagen a écrit :
> > i guess pre-examining the messages and marking them as skipped is an
> > option (taking inspiration from the wip/placeholders branch would be
> > probably advisable).
>
> Actually, I've done that
> 
well, it's the wrong place. you need to do it in/around
copy_msg_convert(). after all, the point is filtering messages before
they are uploaded, irrespective of their source.

> Then I will make it configurable
> And hopefully I'll manage to cut too long lines with a regex like 
> s,(.{9900}),$1\r\n,g (configurable option, too) (this part is going to 
> be "funny" for me)
> 
that seems like major overkill to me.

> Or do you think it's a better approach to use a new tuid, like -3 ?
> 
no, leave that alone. the existing -2 for "failed" is just fine.

> As for digital signatures, as the messages are already not respecting 
> the RFC (1000 chars max per line) ... I guess it's not a big deal
> 
"be conservative in what you send, be liberal in what you receive".

another option: mime-encapsulate the complete message. that will
preserve the original message.

------------------------------------------------------------------------------
Announcing the Oxford Dictionaries API! The API offers world-renowned
dictionary content that is easy and intuitive to access. Sign up for an
account today to start using our lexical data to power your apps and
projects. Get started today and enter our developer competition.
http://sdm.link/oxford
_______________________________________________
isync-devel mailing list
isync-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/isync-devel

Reply via email to