aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/upas/nfs/imap.c
AgeCommit message (Collapse)AuthorFilesLines
2019-09-19upas/nfs: fix null date when message is sent to plumber (#263)telephil1-1/+1
When fetching, messages are sent to plumber as soon as the ENVELOPE part is read. The date field of the message is sent when the INTERNALDATE part is read and there is no guarantee that this will be read before the ENVELOPE. This bug can be observed when using faces(1) which will retrieve messages with a null date and then always display a 'Jan 1' date instead of the correct one. The fix is to simply send the message to plumber after having read all parts, thus ensuring the message is complete.
2018-10-05upas/nfs: correctly quote IMAP LOGIN argumentsCharles Collicutt1-1/+1
According to RFC 3501 the arguments to the LOGIN command should be quoted strings (or length prefixed string literals). Without quoting, authentication to some IMAP servers (e.g. Dovecot) will fail.
2017-10-13upas/nfs: fix warningsDavid du Colombier1-2/+1
decode.c:146:8: warning: variable ‘argv’ set but not used fs.c:953:47: warning: variable ‘reset’ set but not used imap.c:348:6: warning: variable ‘prefix’ set but not used Updates #114.
2015-06-29upas/nfs: search for stunnele3 in $PATHGleydson Soares1-4/+7
Do not hardcode stunnel directory path, just make sure that is installed in user '$PATH'. it is required for 'mailfs -t' TLS support, so printout an error string if it was not found. Tested with latest stunnel version 5.17 on OpenBSD and macosx. % mailfs -t imap.gmail.com ; echo $? 0 Change-Id: Icbd507c7efa81ef2aa7aed37bec5f639b37526cb Reviewed-on: https://plan9port-review.googlesource.com/1280 Reviewed-by: Russ Cox <rsc@swtch.com>
2013-09-06mailfs: support for UTF-8 searchesAkshat Kumar1-10/+45
UTF-8 searches with the SEARCH command must be conducted in two steps: the first sends the SEARCH command with the length of the UTF-8 encoded string and the second sends the literal search term. The searches need to not be quoted. R=rsc, david.ducolombier, rsc, 0intro CC=plan9port.codebot https://codereview.appspot.com/13244043
2011-11-28mailfs: add -u user argumentDavid du Colombier1-2/+8
R=rsc CC=plan9port.codebot http://codereview.appspot.com/5435052
2011-11-22mailfs: small fixes and plan 9 supportDavid du Colombier1-2/+19
R=rsc CC=plan9port.codebot http://codereview.appspot.com/5429044
2011-08-16mailfs: try to use the right version of stunnelFazlul Shahriar1-0/+2
R=rsc http://codereview.appspot.com/4876044
2010-05-11mailfs: try tlsclient program before stunnelRuss Cox1-1/+2
R=rsc http://codereview.appspot.com/1169043
2008-12-06mailfs: plumb messages correctly even if body comes before headerRuss Cox1-1/+1
2007-11-27mergeRuss Cox1-2/+8
2007-11-05mailfs: add -r flag to specify mail root (Richard Bilson)Russ Cox1-9/+30
2007-11-05mailfs: handle NIL bodyRuss Cox1-0/+2
2007-08-22mailfs: fix handling of FLAGS response (Robert Vollmert)Russ Cox1-2/+6
2007-06-23silencersc1-0/+2
2007-06-23bug fixes:rsc1-1/+11
list message 1. give correct contents for raw, rawheader, rawbody. provide filename and charset in mime attachments. only rename mailboxes named mbox* not mbox*.
2006-06-30use file names for attachmentsrsc1-1/+2
2006-05-21useless warningrsc1-2/+0
2006-04-01Use gcc -ansi -pedantic in 9c. Fix many non-C89-isms.rsc1-10/+10
2006-03-03+ is not a valid tag (Lou Kamenov)rsc1-1/+1
2006-02-23add recentrsc1-0/+1
2006-02-18handle 09rsc1-5/+7
2006-02-15imap-based new upas/fsrsc1-0/+1715