aboutsummaryrefslogtreecommitdiffstats
path: root/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2021-01-11Reply-To should be an addressList according to the RFC.Vincent Richard1-2/+1
2021-01-08Don't use deprecated gsasl symbols.Simon Josefsson1-2/+0
2020-12-11Avoid force-encoding display names that fit within qcontentJan Engelhardt1-32/+2
When the display name contains an At sign, or anything of the sort, libvmime would forcibly encode this to =?...?=, even if the line is fine ASCII which only needs quoting. rspamd takes excessive quoting as a sign of spam and penalizes such mails by raising the score (rule/match: TO_EXCESS_QP et al.)
2020-09-04Check for DSN extension support before using it.vincent-richard5-0/+99
2020-09-02Fixed missing default argument.vincent-richard1-1/+1
2020-08-21Fix wording of DSN attributes documentationJan Osusky1-2/+2
2020-08-21Try obtaining content disposition for all body parts types0xd34df00d1-5/+5
2020-08-21Text body part can also have a name0xd34df00d1-0/+2
2020-08-21Refactor out getPartName()0xd34df00d1-7/+16
2020-08-21Fix #223Richard Steele1-2/+2
2020-08-21Editorial changes in DSN attributesJan Osusky3-13/+13
2020-08-08Try obtaining content disposition for all body parts types0xd34df00d1-5/+5
2020-08-08Text body part can also have a name0xd34df00d1-0/+2
2020-08-08Refactor out getPartName()0xd34df00d1-7/+16
2020-07-23Create class for DSN attributesJan Osusky10-52/+208
The three attributes needed to request a Delivery Status Notification are now passed as an "dsnAttributes" object to the send methods. Fixed code style at some related palces.
2020-07-22Add basic support for delivery status notifications (DSN)Jan Osusky10-28/+118
Added possibility to send e-mails with explicit request for delivery status notification and its content.
2020-07-16Fix message flag assignment with FLAG_MODE_SETlaurent-richard1-1/+1
2020-06-16#238 Fixed whitespace between encoded wordsvincent-richard1-1/+1
2020-05-10Expose Content-Disposition on net message parts.vincent-richard5-0/+35
2020-04-06Map '*' to '\*' in non-strict mode.vincent-richard1-2/+6
2020-04-05Added support for pipelined and out-of-order replies.vincent-richard4-46/+93
2020-03-26INBOX folder special use.vincent-richard5-0/+13
2019-11-18Use peerName instead of peerAddressRichard Steele2-5/+5
2019-11-18Fix #231 (GnuTLS)Richard Steele1-2/+3
2019-11-18Fix #223Richard Steele1-2/+2
2019-11-18Fix #231Richard Steele2-7/+5
2019-10-13Set SNI name in the gnutls backend as well0xd34df00d1-0/+2
2019-10-05Skip delimiter lines that are not exactly equal to the boundaryJan Engelhardt1-0/+18
There is crap software out there that generates mails violating the prefix ban clause from RFC 2046 §5.1 ¶2. Switch vmime from a prefix match to an equality match, similar to what Alpine and Thunderbird do too.
2019-10-05Disregard whitespace between leading boundary hyphens and markerJan Engelhardt1-27/+8
The way I read the RFC is that whitespace is not allowed before the boundary marker, only afterwards, so the checks for leading WS are removed, and the missing check for trailing WS is added. See RFC 2046 §5.1.1: """The boundary delimiter line is then defined as a line consisting entirely of two hyphen characters ("-", decimal value 45) followed by the boundary parameter value from the Content-Type header field, optional linear whitespace, and a terminating CRLF."""
2019-10-05Reduce indent by 3 levels in findNextBoundaryJan Engelhardt1-37/+39
2019-10-05Modernize RFC reference for boundary line characteristicsJan Engelhardt1-4/+4
2019-10-03Set SNI in the openssl backend0xd34df00d2-0/+8
2019-09-22Avoid extern "C" blocks around ICU includes0xd34df00d1-3/+0
Looks like it's not necessary, and, moreover, I'm getting this with recent ICU (64.2): ``` /usr/include/unicode/localpointer.h:67:1: error: template with C linkage 67 | template<typename T> | ^~~~~~~~ /var/tmp/portage/dev-libs/vmime-9999/work/vmime-9999/src/vmime/charsetConverter_icu.cpp:37:1: note: ‘extern "C"’ linkage started here 37 | extern "C" { | ^~~~~~~~~~ ``` (there's also an issue about that, #218)
2019-07-20Simplified IMAP parser objects.Vincent Richard13-2042/+870
2019-07-07Added support for OpenSSL 1.1.0.Vincent Richard2-49/+58
2019-07-02#217 Fixed memory leakVincent Richard1-2/+3
2019-04-18#213 Add support for invalid empty () in FETCH body structure (non-strict)Vincent Richard1-3/+16
2019-02-06Unbreak own hostname qualification on POSIX systemsJan Engelhardt1-7/+5
Partial revert commit v0.9.2-6-g9a3d6880 (issue #160), because invoking getaddrinfo(NULL, ... AI_CANONNAME) is illegal and never succeeds.
2019-01-25Improve address parser for malformed mailbox specificationsJan Engelhardt1-180/+167
Spammers use "Name <addr> <addr>" to trick some parsers. My expectations as to what the outcome should be is presented in the updated mailboxTest.cpp. The DFA in mailbox::parseImpl is hereby redone so as to pick the rightmost address-looking portion as the address, rather than something in between. While doing so, it will also no longer mangle the name part anymore (it does this by keeping a "as_if_name" variable around until the end).
2018-10-17#206 Initialize and delete pointersVincent Richard1-1/+9
2018-09-15Removed 'stringProxy' since COW std::string is no longer valid in C++11.Vincent Richard9-518/+26
2018-09-06Useless mutex does not make nl_langinfo() thread-safe.Vincent Richard1-44/+9
2018-09-05Fixed bug in implementation of isStringEqualNoCase().Vincent Richard1-1/+1
2018-09-05Moved implementation.Vincent Richard2-8/+59
2018-09-05Fixed possible memory leak.Vincent Richard1-0/+5
2018-09-05Code style and clarity.Vincent Richard445-18803/+22033
2018-08-18Removed useless 'constCast's.Vincent Richard6-30/+16
2018-08-18Avoid copy by passing shared_ptr<> with const reference.Vincent Richard208-606/+608
2018-08-18Fixed delete array.Vincent Richard1-1/+1
2018-08-17Fixed compilation errors with OpenSSL 1.1.0.Vincent Richard1-14/+63