Generating MIME boundaries within cyrus

Дилян Палаузов dilyan.palauzov at aegee.org
Fri Jan 25 08:32:34 EST 2019


Hello,

sending a MIME message implies generating multipart boundary (random) string.  Cyrus does this in:

imap/cyrdump.c:g
enerate_boundary()
imap/httpd.c:write_multipart_body()
imap/http_caldav_sched.c:imip_send_sendmail()
imap/jmap_mail.c:_mime
_make_boundary()
imap/lmtp_siele.c:send_rejection()

Isn’t it feasible to avoid on this occassion code duplication?

Regards
 
Дилян



More information about the Cyrus-devel mailing list