Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:cschweingruber:branches:server:mail
courier-imap-no-utf8-warning
courier-imap-no-utf8warnings.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File courier-imap-no-utf8warnings.patch of Package courier-imap-no-utf8-warning
Index: libs/imap/fetch.c =================================================================== --- libs/imap/fetch.c.orig +++ libs/imap/fetch.c @@ -322,13 +322,13 @@ int do_fetch(unsigned long n, int byuid, if (report_unicode_err) { - writes("* OK [ALERT] Message "); - writen(n); - writes(" appears to be a Unicode message and your" - " E-mail reader did not enable Unicode support." - " Please use an E-mail reader that supports" - " IMAP with UTF-8 (see" - " https://tools.ietf.org/html/rfc6855.html)\r\n"); + //writes("* OK [ALERT] Message "); + //writen(n); + //writes(" appears to be a Unicode message and your" + // " E-mail reader did not enable Unicode support." + // " Please use an E-mail reader that supports" + // " IMAP with UTF-8 (see" + // " https://tools.ietf.org/html/rfc6855.html)\r\n"); } if (current_maildir_info.msgs[n-1].changedflags) Index: libs/imap/imapd.c =================================================================== --- libs/imap/imapd.c.orig +++ libs/imap/imapd.c @@ -793,7 +793,7 @@ static int store_mailbox(const char *tag curtoken->tokentype != IT_LITERAL8_STRING_START) { /* in order to [ALERT] the client */ - *utf8_error=1; + *utf8_error=0; } rfc2045_free(rfc2045_parser); @@ -4028,9 +4028,9 @@ static int append(const char *tag, const dirsync(path); if (utf8_error) { - writes("* OK [ALERT] Your IMAP client does not appear to " - "correctly implement Unicode messages, " - "see https://tools.ietf.org/html/rfc6855.html\r\n"); + // writes("* OK [ALERT] Your IMAP client does not appear to " + // "correctly implement Unicode messages, " + // "see https://tools.ietf.org/html/rfc6855.html\r\n"); } writes(tag); writes(" OK [APPENDUID "); Index: libs/imap/pop3dserver.c =================================================================== --- libs/imap/pop3dserver.c.orig +++ libs/imap/pop3dserver.c @@ -735,11 +735,11 @@ static void do_retr(unsigned i, unsigned if (msglist_a[i]->isutf8 && !utf8_enabled) { - sprintf(boundary, "=_%d-%d", (int)getpid(), (int)RUNTIME_CUR); + // sprintf(boundary, "=_%d-%d", (int)getpid(), (int)RUNTIME_CUR); - sprintf(wrapheader, MIMEWRAPTXT, boundary, boundary, boundary, - mime_message_type); - sprintf(wrapfooter, "\n--%s--\n", boundary); + // sprintf(wrapheader, MIMEWRAPTXT, boundary, boundary, boundary, + // mime_message_type); + // sprintf(wrapfooter, "\n--%s--\n", boundary); } f=fopen(msglist_a[i]->filename, "r");
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor