Commit Graph

636 Commits

Author SHA1 Message Date
Oswald Buddenhagen
5a44a33ffc regen 2003-12-07 15:39:22 +00:00
Oswald Buddenhagen
267355b3b6 add sample CertificateFile 2003-12-07 15:37:40 +00:00
Oswald Buddenhagen
52fb7c085d add trailing space to password prompt 2003-12-07 15:36:38 +00:00
Oswald Buddenhagen
424db34ff2 make imaps: on the command line adjust the port and ssl options as well 2003-12-07 15:34:54 +00:00
Oswald Buddenhagen
6ed39d01d2 regen 2003-12-07 15:18:54 +00:00
Oswald Buddenhagen
c34a2191ec new release 2003-12-07 15:15:11 +00:00
Oswald Buddenhagen
8859fd45a8 bump version 2003-12-07 15:09:53 +00:00
Oswald Buddenhagen
228ba6b48b echo the mailbox the password is for 2003-12-02 02:53:14 +00:00
Oswald Buddenhagen
4fba9c8b74 item morphed 2003-12-02 02:52:47 +00:00
Oswald Buddenhagen
b823fb3dbc be more explicit about maintainership, as people don't seem to get it. 2003-11-11 03:02:23 +00:00
Oswald Buddenhagen
6b580ac0ad minor additions 2003-09-02 12:06:26 +00:00
Oswald Buddenhagen
dae086c92f fix crash when syncing multiple mailboxes over a Tunnel 2003-07-02 17:18:48 +00:00
Oswald Buddenhagen
5ace6fc45e minor 2003-05-14 13:42:49 +00:00
Oswald Buddenhagen
4390613859 regen 2003-05-07 00:07:36 +00:00
Oswald Buddenhagen
b535af4fc4 - make it work without SSL
- switch from -Ds in Makefile to config.h
- small header cleaup
2003-05-07 00:06:37 +00:00
Oswald Buddenhagen
ff8991fd00 make it actually work 2003-05-07 00:04:57 +00:00
Oswald Buddenhagen
2c472c3999 regen 2003-05-06 02:18:20 +00:00
Oswald Buddenhagen
2cde99958b minors 2003-05-06 02:17:10 +00:00
Oswald Buddenhagen
b66e3c370e update 2003-05-06 02:16:05 +00:00
Oswald Buddenhagen
c59a017c62 i'm bored :) 2003-05-06 02:15:41 +00:00
Oswald Buddenhagen
28e240a36b don't free any config strings - who cares for a few bytes?
this fixes some crashes at exit.
2003-05-05 17:58:28 +00:00
Oswald Buddenhagen
d2b39d2c89 switch ChangeLog generation to cvs2cl 2003-05-05 17:17:44 +00:00
Oswald Buddenhagen
a1594ea19d minor fixes 2003-05-05 13:43:49 +00:00
Oswald Buddenhagen
958e74dfc8 cleanup 2003-05-05 13:41:04 +00:00
Oswald Buddenhagen
38d46cc03e accumulate status over multiple mailboxes, i.e., don't abort after first
failure
2003-05-05 13:24:03 +00:00
Oswald Buddenhagen
feee93c26d fix imaps: 2003-05-05 12:54:38 +00:00
Oswald Buddenhagen
b3838ade09 debian packaging update 2003-03-26 03:33:15 +00:00
Oswald Buddenhagen
8fa6cd3346 ignore \Recent, as it is voided by the syncronization run itself. 2003-02-27 18:43:16 +00:00
Oswald Buddenhagen
e68fc4b463 more to do ... 2003-02-27 18:41:54 +00:00
Oswald Buddenhagen
6f2550117a - update copyrights. 2003 didn't begin yet, but who cares? :) 2002-12-28 15:31:20 +00:00
Oswald Buddenhagen
f37f4c29f6 - fixed typo
- updated maintainer and location
2002-12-28 04:14:35 +00:00
Oswald Buddenhagen
4146c05c87 - ssh tunnels are supported for ages ... 2002-12-28 04:12:53 +00:00
Oswald Buddenhagen
a4f2725bad - update isyncmaxuid properly 2002-12-28 04:12:07 +00:00
Oswald Buddenhagen
2012aadc5b - fixed two crashes 2002-12-28 04:04:54 +00:00
Oswald Buddenhagen
3327572fd2 - handle bogus search responses more gracefully 2002-12-28 04:02:23 +00:00
Oswald Buddenhagen
39446bbef9 - workaround imap server bug: lock files are no mailboxes 2002-12-28 04:00:23 +00:00
Oswald Buddenhagen
095e3ec92c - improve console output 2002-12-28 03:58:01 +00:00
Oswald Buddenhagen
d850150719 - ssht! 2002-12-28 03:11:55 +00:00
Oswald Buddenhagen
b10718cf20 - took over maintenance
- moved to sourceforge
- reorganized cvs structure
2002-12-28 03:05:43 +00:00
Michael Elkins
d228fae394 Updated the copyright notice to allow an exception for linking with OpenSSL,
which has a non-GPL compatible license.
2002-10-30 02:31:20 +00:00
Michael Elkins
7cd74a1179 Bunch 'o patches from Oswald Buddenhagen:
i implemented some cool stuff (tm).
first, the long missing "create server-side missing mailboxes". -C now
creates both local and remote boxes; -L and -R create only local/remote.
second, i implemented a 1:1 remote:local folder mapping (-1) with an
optional INBOX exception (inbox/-I). the remote folder is specified with
the folder keyword (or -F switch) and takes precedence over the
namespace setting. the local directory with the mailboxes can now be
specified on the command line, too (-M).

another patch:
- made the -1 switch settable permanently (OneToOne). after all, you
  usually define your mailbox layout once forever. removed -A, as it is
  semantically -a modified by -1.
- cleaned up message output a bit. still, the quiet variable should be
  used throughout the program. at best, create some generic output
  function, which obeys a global verbosity level variable.
- optimized + cleaned up configuration parser slightly
- minor cleanups

add an (almost) unique id to every uploaded message and search for it
right after. i thought about using the message-id, but a) it is not
guaranteed to be unique in a mailbox (imagine you edit a mail and store
the dupe in the same box) and b) some mails (e.g., postponed) don't even
have one. a downside of the current implementation is, that this
id-header remains in the mailbox, but given that it wastes only 27 bytes
per mail and removing it would mean several roundtrips more, this seems
acceptable.
i changed the line-counting loop to use a mmapped file instead of
reading it in chunks, as it makes things simpler and is probably even
faster for big mails.
the amount of goto statements in my code may be scary, but c is simply
lacking a multi-level break statement. :)

this is the "shut up" patch. :) it makes the -q option consequent, so to
say.
additionally it adds an -l option which gathers all defined/found
mailboxes and just outputs the list. don't ask what i need it for. ;)
2002-10-30 02:23:05 +00:00
Michael Elkins
0bd3709a9d fixed missing closedir() call (Joey Hess) 2002-10-30 02:01:32 +00:00
Michael Elkins
52a721187f explicitly set global.pass to NULL when getpass() returns an empty string. 2002-06-27 03:55:01 +00:00
Michael Elkins
0162c9f5b8 Oswald Buddenhagen <ossi@kde.org>
* fix imap_open() brokeness with PREAUTH (missed hunk from previous patch)
2002-06-27 03:51:51 +00:00
Michael Elkins
d6fd1939ba fixed errors introduced by ME when hand-applying Oswald Nuddenhagen's
patch.
2002-06-22 17:06:24 +00:00
Michael Elkins
eb5f92821c Patch from Oswald Buddenhagen <ossi@kde.org>
- move prompt for password to imap_open()
	- don't ask for global password in PREAUTH state
	- use socketpair() to create one full-duplex fd in tunnel mode
	  instead of two half-duplex pipes
	- don't set lck.l_pid in fcntl() call (its read-only)
	- use F_SETLK instead of F_SETLKW to avoid infinite waiting
	- use "$@" in autogen.sh to get proper word expansion
2002-06-22 01:21:43 +00:00
Michael Elkins
1a1d2af012 Fixed to compile under FreeBSD 4.6-RELEASE. Must include ndbm.h rather than
db.h.
2002-06-21 00:26:26 +00:00
Michael Elkins
85b5c5b8c9 remove debian/files
move dotlocking code to dotlock.c.

dotlocking code fixed to ignore whether or not the lockfile exists on
open().  we only care about whether fcntl() was able to lock it.
2002-06-20 23:33:13 +00:00
Michael Elkins
dd1b19a99a Don't bother uploaded messages marked deleted when we are going to expunge. 2002-06-19 02:31:07 +00:00
Michael Elkins
54d8140f6e fixed unused var warning in imap_open()
locking cleanups from Oswald Buddenhagen <ossi@kde.org>
	* don't need to stat the lockfile since it will always be size 0
	* only remove lockfile when we actually succeeded in locking
2002-06-19 01:11:36 +00:00