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
23 years ago
Michael Elkins
1a1d2af012
Fixed to compile under FreeBSD 4.6-RELEASE. Must include ndbm.h rather than
...
db.h.
23 years ago
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.
23 years ago
Michael Elkins
dd1b19a99a
Don't bother uploaded messages marked deleted when we are going to expunge.
23 years ago
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
23 years ago
Michael Elkins
418b5e9a7a
Debian package cleanups from Oswald Buddenhagen <ossi@kde.org>
23 years ago
Michael Elkins
f6c037c854
updated URL for project
...
fixed segmentation fault caused by double free() when an error occurred
during the IMAP transmission.
fixed bug where isync could not handle a 0 value UIDVALIDITY
23 years ago
Michael Elkins
7741548ff8
changed debian/rules to set DESTDIR instead of `prefix' when doing a make
...
install.
23 years ago
Michael Elkins
fe438026b0
PREAUTH support from Oswald Buddenhagen <ossi@kde.org>
...
Added Tunnel directive to allow the user to specify a shell command to run
to set up an IMAP connection in place of a TCP socket (eg., to run over
an SSH session).
23 years ago
Michael Elkins
6267139b71
post 0.8 release commit
23 years ago
Michael Elkins
44d360d184
check for dbm_open() in libc and libdb
23 years ago
Michael Elkins
d00a65bebd
don't bother renaming the message file if we are about to unlink() it
23 years ago
Michael Elkins
dd22bd3f22
remove tilde backup files for distclean
...
fixed indentation
added full name to AUTHORS
reformated NEWS blurb for 0.8
23 years ago
Michael Elkins
2f2b123d71
sync_mailbox() did not update the msg struct when flags were changed,
...
causing the expunge command to fail
remove bogus strfcpy() line
23 years ago
Michael Elkins
8c8f6916c6
added debian build files dist target so that people can use them to build
...
their own .deb packages without having to use CVS
23 years ago
Michael Elkins
d6fe5a92bd
added debian build files
...
fixed indentation
added bug note to manpage about db file format not being architecture
independent
23 years ago
Michael Elkins
cb0d4b54b3
remove the uid from the db when a message is deleted from the maildir
...
optimize db fetch/store to not copy the base filename
23 years ago
Michael Elkins
c121ec912f
updated year in copyright notice
...
the uid for each message in the maildir is now stored in a dbm database
rather than the filename. this change was necessary because isync became
confused if you copied a message to another folder, in which case the uid
was invalid.
as a result of the above change, isync now acquires a mutex on the mailbox
to protect the dbm database from concurrent access.
main() was reworked to continue gracefully when an error is encountered, and
to always call maildir_close() so that the lock can be disabled, and the
database closed.
23 years ago
Michael Elkins
2c648da5cf
post 0.7-release commit
23 years ago
Michael Elkins
3fe6f3f086
added --create/-C command line option to force creation of the local
...
maildir-style mailbox if nonexistent
debug.h was not included in isync_SOURCES in Makefile.am
23 years ago
Michael Elkins
f0c7fdf008
added memory debugging code
...
fixed memory leak in free_list()
free memory associated with global settings on exit
23 years ago
Michael Elkins
de1f9e1941
remove c++ style comments
...
use %lu and cast off_t to unsigned long in printf()
23 years ago
Michael Elkins
e02975e888
Added MaxMessages patch from Eivind Eklund <eivind@FreeBSD.org>.
...
config_defaults() can just use memcpy() instead of assigning each struct
member individually.
config_defaults() can be declared static
23 years ago
Michael Elkins
06a5edb452
move strndup() code into config.c for less complexity
...
change AC_REPLACE_FUNC(strndup) to AC_CHECK_FUNCS(strndup)
sed expression checking for gcc-3.0 should be quoted beccause it
fails under Solaris 2.7
23 years ago
Michael Elkins
2881d173b5
strndup() could return a non-NULL terminated string
...
size_t should be printed with %lu
when expending tildes (~), an extra slash was inserted after the user's home
directory
23 years ago
Michael Elkins
bb62e2c18d
merge maildir_sync() and maildir_close(). the maxuid in a maildir still
...
needs to be updated in --fast mode, and the sync code already checks to see
if any changes were made to the mailbox.
23 years ago
Michael Elkins
49b36e7869
add FreeBSD to the list of tested platforms
23 years ago
Michael Elkins
087fb470e7
update version to 0.7
...
detect short write in write_strip()
fix compilation warnings with gcc-2.95.4
23 years ago
Michael Elkins
c84a888a7d
set compiler warnings for gcc-3.0 as well
...
display message with count of uploaded messages
--quiet now supresses warnings in sync_mailbox()
fixed compiler warnings with -Wshadow
24 years ago
Michael Elkins
9647c79504
post 0.6 commit
24 years ago
Michael Elkins
e3797d65da
add strndup replacement function for systems which lack it
24 years ago
Michael Elkins
8ca8c2b289
fixed broken code in maildir_clean_tmp()
24 years ago
Michael Elkins
c4050700c0
added code to clean the tmp directory in a maildir to comply with
...
maildir(5)
24 years ago
Michael Elkins
608386f918
forgot to add code to parse the `Delete' option
24 years ago
Michael Elkins
cb2f6e3ee6
forgot conditional #if HAVE_LIBSSL around setting of .use_imaps in main()
...
from command line arguments
24 years ago
Michael Elkins
bfffeffff6
update Copyright printed by --help
...
add compile time option list to --help output
24 years ago
Michael Elkins
e015398ff2
added `Delete' configuration option to force -d option
...
sync_mailbox() didn't consider MaxSize == 0 to mean "unlimited".
load_config() needs to print a newline in its error messages since
next_arg() kills the newline of the line that was read out of the config
file.
24 years ago
Michael Elkins
1efcad03f8
update TODO list with action items
24 years ago
Michael Elkins
6f647ae37b
fixed maildir message filenames to comply with the maildir(5) specification.
...
fixed write_strip() and imap_fetch_message() to check the return code of
write() and fsync() to comply with maildir(5) spec.
24 years ago
Michael Elkins
4b102ee6ec
the `Expunge' config directive didn't work since only the -e command line
...
argument was consulted.
24 years ago
Michael Elkins
e2f1cd779b
we should issue a CAPABILITY even if we aren't going to use ssl/tls so that
...
cram-md5 auth still works.
24 years ago
Michael Elkins
891fab1a7d
find_box() should attempt to expand all filenames if none of the other
...
methods found a match.
24 years ago
Michael Elkins
0f7823a4bf
fixed to not expand filenames until they are used inside of maildir_open(),
...
so that aliases are not required for simple filenames.
[re: http://bugs.debian.org/102255 ]
24 years ago
Michael Elkins
5eaa4e5512
--host option didn't check for imaps: prefix
24 years ago
Michael Elkins
ea361ad116
fixed core when specifying multiple mailboxes on the command line
24 years ago
Michael Elkins
8af21c5604
handle untagged responses in imap_fetch_message() so that it doesn't bomb
...
out if new mail arrives while in the process of downloading
noted in BUGS section of man page that if new mail arrives after the initial
message list has been retrieved from the IMAP server, that new mail will not
be fetched until the next invocation of isync.
24 years ago
Michael Elkins
9a5b57eb7d
isync should continue to process additional mailboxes even if there is an
...
error with a previous mailbox.
added -a (--all) flag to synchronize all mailboxes defined in ~/.isyncrc
24 years ago
Michael Elkins
af941779f4
post 0.5-release commit
24 years ago
Michael Elkins
f843ffcdd4
updated ChangeLog. removed smtppush binary.
24 years ago
Michael Elkins
216c26cceb
fixed compiler warnings under Solaris 2.7
24 years ago