]> git.ipfire.org Git - thirdparty/dovecot/core.git/log
thirdparty/dovecot/core.git
22 years agowas missing #ifdef HAVE_OPENSSL
Timo Sirainen [Fri, 30 May 2003 11:56:25 +0000 (14:56 +0300)] 
was missing #ifdef HAVE_OPENSSL

--HG--
branch : HEAD

22 years agoKeep mailbox indexes cached for a while after they've been closed. Should
Timo Sirainen [Fri, 30 May 2003 02:01:15 +0000 (05:01 +0300)] 
Keep mailbox indexes cached for a while after they've been closed. Should
speed up at least multiple APPENDs.

--HG--
branch : HEAD

22 years agoIf we're asking only custom flags (eg. APPEND), don't do any mailbox syncing.
Timo Sirainen [Fri, 30 May 2003 01:53:07 +0000 (04:53 +0300)] 
If we're asking only custom flags (eg. APPEND), don't do any mailbox syncing.

--HG--
branch : HEAD

22 years agoAgain RTLD_* fixes.
Timo Sirainen [Fri, 30 May 2003 01:07:31 +0000 (04:07 +0300)] 
Again RTLD_* fixes.

--HG--
branch : HEAD

22 years agoAll systems don't define RTLD_GLOBAL and RTLD_NOW. Default them to 0.
Timo Sirainen [Fri, 30 May 2003 01:02:06 +0000 (04:02 +0300)] 
All systems don't define RTLD_GLOBAL and RTLD_NOW. Default them to 0.

--HG--
branch : HEAD

22 years agodlopen wasn't actually checked from libc..
Timo Sirainen [Thu, 29 May 2003 23:03:59 +0000 (02:03 +0300)] 
dlopen wasn't actually checked from libc..

--HG--
branch : HEAD

22 years agocleanup
Timo Sirainen [Thu, 29 May 2003 23:01:47 +0000 (02:01 +0300)] 
cleanup

--HG--
branch : HEAD

22 years agoexpunges were broken
Timo Sirainen [Thu, 29 May 2003 23:00:05 +0000 (02:00 +0300)] 
expunges were broken

--HG--
branch : HEAD

22 years agoSome fixes/cleanups for cases when maildir doesn't exist
Timo Sirainen [Thu, 29 May 2003 22:49:19 +0000 (01:49 +0300)] 
Some fixes/cleanups for cases when maildir doesn't exist

--HG--
branch : HEAD

22 years agocomment update
Timo Sirainen [Thu, 29 May 2003 22:48:15 +0000 (01:48 +0300)] 
comment update

--HG--
branch : HEAD

22 years agoFixes for syncing mails that are kept in new/ dir.
Timo Sirainen [Thu, 29 May 2003 22:48:02 +0000 (01:48 +0300)] 
Fixes for syncing mails that are kept in new/ dir.

--HG--
branch : HEAD

22 years agoRemoved unused variable.
Timo Sirainen [Thu, 29 May 2003 21:51:29 +0000 (00:51 +0300)] 
Removed unused variable.

--HG--
branch : HEAD

22 years agobugfix
Timo Sirainen [Thu, 29 May 2003 21:40:35 +0000 (00:40 +0300)] 
bugfix

--HG--
branch : HEAD

22 years agomail_index_data_get_mmaped() didn't work with in-memory indexes
Timo Sirainen [Thu, 29 May 2003 21:37:53 +0000 (00:37 +0300)] 
mail_index_data_get_mmaped() didn't work with in-memory indexes

--HG--
branch : HEAD

22 years agoUse less memory
Timo Sirainen [Thu, 29 May 2003 21:23:59 +0000 (00:23 +0300)] 
Use less memory

--HG--
branch : HEAD

22 years agowhops, removed debugging code
Timo Sirainen [Thu, 29 May 2003 21:10:08 +0000 (00:10 +0300)] 
whops, removed debugging code

--HG--
branch : HEAD

22 years agouidlist file is read/updated much less often now. did some other
Timo Sirainen [Thu, 29 May 2003 21:08:53 +0000 (00:08 +0300)] 
uidlist file is read/updated much less often now. did some other
improvements for syncing as well.

--HG--
branch : HEAD

22 years agoflag updates and expunge now set the cur/ dirty-synced to avoid extra sync
Timo Sirainen [Thu, 29 May 2003 14:15:57 +0000 (17:15 +0300)] 
flag updates and expunge now set the cur/ dirty-synced to avoid extra sync
after them.

--HG--
branch : HEAD

22 years agoCheck if dlopen is in libc too.
Timo Sirainen [Wed, 28 May 2003 11:28:42 +0000 (14:28 +0300)] 
Check if dlopen is in libc too.

--HG--
branch : HEAD

22 years agobugfix with a temporary kludge
Timo Sirainen [Wed, 28 May 2003 11:15:04 +0000 (14:15 +0300)] 
bugfix with a temporary kludge

--HG--
branch : HEAD

22 years agoFixed memory leak.
Timo Sirainen [Wed, 28 May 2003 11:04:28 +0000 (14:04 +0300)] 
Fixed memory leak.

--HG--
branch : HEAD

22 years agoSTLS was missing from capability list.
Timo Sirainen [Tue, 27 May 2003 21:46:44 +0000 (00:46 +0300)] 
STLS was missing from capability list.

--HG--
branch : HEAD

22 years agoIf mail didn't end with linefeed, we sent it wrong.
Timo Sirainen [Tue, 27 May 2003 07:13:42 +0000 (10:13 +0300)] 
If mail didn't end with linefeed, we sent it wrong.

--HG--
branch : HEAD

22 years agoAllow first_valid_gid to be 0. Drop any supplementary groups not in valid
Timo Sirainen [Mon, 26 May 2003 15:26:29 +0000 (18:26 +0300)] 
Allow first_valid_gid to be 0. Drop any supplementary groups not in valid
gid range.

--HG--
branch : HEAD

22 years agomore verbose error message for "lock timeout"
Timo Sirainen [Mon, 26 May 2003 13:20:25 +0000 (16:20 +0300)] 
more verbose error message for "lock timeout"

--HG--
branch : HEAD

22 years agobugfix
Timo Sirainen [Mon, 26 May 2003 13:07:12 +0000 (16:07 +0300)] 
bugfix

--HG--
branch : HEAD

22 years agofix
Timo Sirainen [Sat, 24 May 2003 15:21:44 +0000 (18:21 +0300)] 
fix

--HG--
branch : HEAD

22 years agobugfixes
Timo Sirainen [Sat, 24 May 2003 15:16:47 +0000 (18:16 +0300)] 
bugfixes

--HG--
branch : HEAD

22 years agowasn't supposed to be committed
Timo Sirainen [Fri, 23 May 2003 14:48:23 +0000 (17:48 +0300)] 
wasn't supposed to be committed

--HG--
branch : HEAD

22 years agoExtra asserts
Timo Sirainen [Fri, 23 May 2003 14:47:25 +0000 (17:47 +0300)] 
Extra asserts

--HG--
branch : HEAD

22 years agoRemoved I/O priorities. They were pretty much useless and were just getting
Timo Sirainen [Fri, 23 May 2003 14:40:49 +0000 (17:40 +0300)] 
Removed I/O priorities. They were pretty much useless and were just getting
in way.

--HG--
branch : HEAD

22 years agoMinor speedup
Timo Sirainen [Fri, 23 May 2003 14:39:45 +0000 (17:39 +0300)] 
Minor speedup

--HG--
branch : HEAD

22 years agominor speedup
Timo Sirainen [Fri, 23 May 2003 14:12:43 +0000 (17:12 +0300)] 
minor speedup

--HG--
branch : HEAD

22 years agoClear old poll revents when removing the IO. Just extra sanity check.
Timo Sirainen [Fri, 23 May 2003 13:54:51 +0000 (16:54 +0300)] 
Clear old poll revents when removing the IO. Just extra sanity check.

--HG--
branch : HEAD

22 years agoReset line->name and full_value* fields at end of headers. Envelope parser
Timo Sirainen [Thu, 22 May 2003 23:04:41 +0000 (02:04 +0300)] 
Reset line->name and full_value* fields at end of headers. Envelope parser
was treating the EOH as duplicate of last header.

--HG--
branch : HEAD

22 years agoFixed index corruption
Timo Sirainen [Wed, 21 May 2003 11:42:47 +0000 (14:42 +0300)] 
Fixed index corruption

--HG--
branch : HEAD

22 years agoCheck that imap/pop3 module directories exist if they're enabled. Give a
Timo Sirainen [Tue, 20 May 2003 18:49:41 +0000 (21:49 +0300)] 
Check that imap/pop3 module directories exist if they're enabled. Give a
warning if module support is enabled in config file but not built into
binary.

--HG--
branch : HEAD

22 years agoGenerate temporary RSA key when requested. Could be slow, should do some
Timo Sirainen [Tue, 20 May 2003 18:22:04 +0000 (21:22 +0300)] 
Generate temporary RSA key when requested. Could be slow, should do some
caching in master process side..

--HG--
branch : HEAD

22 years agoSupport From-lines which contain timezone in timestamp.
Timo Sirainen [Tue, 20 May 2003 18:05:32 +0000 (21:05 +0300)] 
Support From-lines which contain timezone in timestamp.

--HG--
branch : HEAD

22 years agofixes
Timo Sirainen [Mon, 19 May 2003 09:57:02 +0000 (12:57 +0300)] 
fixes

--HG--
branch : HEAD

22 years agoAdded pool_get_name(), for debugging mostly.
Timo Sirainen [Mon, 19 May 2003 09:50:24 +0000 (12:50 +0300)] 
Added pool_get_name(), for debugging mostly.

--HG--
branch : HEAD

22 years agocrahsfix
Timo Sirainen [Mon, 19 May 2003 06:56:46 +0000 (09:56 +0300)] 
crahsfix

--HG--
branch : HEAD

22 years agofixes
Timo Sirainen [Mon, 19 May 2003 06:35:02 +0000 (09:35 +0300)] 
fixes

--HG--
branch : HEAD

22 years agos/host/addr/ in variables
Timo Sirainen [Sun, 18 May 2003 16:37:56 +0000 (19:37 +0300)] 
s/host/addr/ in variables

--HG--
branch : HEAD

22 years agos/host/addr/ in a few network functions
Timo Sirainen [Sun, 18 May 2003 16:37:04 +0000 (19:37 +0300)] 
s/host/addr/ in a few network functions

--HG--
branch : HEAD

22 years agoSend client's IP to mail process.
Timo Sirainen [Sun, 18 May 2003 16:26:26 +0000 (19:26 +0300)] 
Send client's IP to mail process.

--HG--
branch : HEAD

22 years agoMore robust error handling for mbox.
Timo Sirainen [Sun, 18 May 2003 16:02:46 +0000 (19:02 +0300)] 
More robust error handling for mbox.

--HG--
branch : HEAD

22 years agoSome fixes to handling read-only maildirs.
Timo Sirainen [Sun, 18 May 2003 12:56:14 +0000 (15:56 +0300)] 
Some fixes to handling read-only maildirs.

--HG--
branch : HEAD

22 years agoMaildir syncing updates: it's now faster, it handles read-only folders, it
Timo Sirainen [Sun, 18 May 2003 12:26:06 +0000 (15:26 +0300)] 
Maildir syncing updates: it's now faster, it handles read-only folders, it
handles many out of disk space conditions (uidlist doesn't) and all commands
finally handle the condition when maildir filename was renamed after
our syncing but before we had the chance to open it.

--HG--
branch : HEAD

22 years agoMisc. fixes.
Timo Sirainen [Sun, 18 May 2003 12:23:03 +0000 (15:23 +0300)] 
Misc. fixes.

--HG--
branch : HEAD

22 years agoMaildir: CONTROL=<dir> in MAIL environment now specifies where to save
Timo Sirainen [Sat, 17 May 2003 13:09:54 +0000 (16:09 +0300)] 
Maildir: CONTROL=<dir> in MAIL environment now specifies where to save
.customflags and dovecot-uidlist files. This can be useful if the main
mail directory is under hard quota.

--HG--
branch : HEAD

22 years agoAutomatically set file streams to blocking and don't try to io_add() them.
Timo Sirainen [Sat, 17 May 2003 09:28:49 +0000 (12:28 +0300)] 
Automatically set file streams to blocking and don't try to io_add() them.

--HG--
branch : HEAD

22 years agoIf there's no limit in stream, don't fail with "unexpected EOF".
Timo Sirainen [Sat, 17 May 2003 09:16:16 +0000 (12:16 +0300)] 
If there's no limit in stream, don't fail with "unexpected EOF".

--HG--
branch : HEAD

22 years agoDon't try to cork files.
Timo Sirainen [Sat, 17 May 2003 09:08:10 +0000 (12:08 +0300)] 
Don't try to cork files.

--HG--
branch : HEAD

22 years agoIf there were no timeouts, struct timeval wasn't initialized and select()
Timo Sirainen [Fri, 16 May 2003 17:14:54 +0000 (20:14 +0300)] 
If there were no timeouts, struct timeval wasn't initialized and select()
might have failed because of it. Patch by Mark E. Mallett.

--HG--
branch : HEAD

22 years agoIf client tries to do LOGIN even if it's disabled, send [ALERT] to user.
Timo Sirainen [Fri, 16 May 2003 17:09:42 +0000 (20:09 +0300)] 
If client tries to do LOGIN even if it's disabled, send [ALERT] to user.

--HG--
branch : HEAD

22 years agoDon't advertise AUTH=PLAIN in capability if disable_plaintext_auth = yes and
Timo Sirainen [Fri, 16 May 2003 17:05:42 +0000 (20:05 +0300)] 
Don't advertise AUTH=PLAIN in capability if disable_plaintext_auth = yes and
SSL/TLS is not yet negotiated.

--HG--
branch : HEAD

22 years agoReset the header using mmaped memory + msync, instead of lseek() + write()
Timo Sirainen [Thu, 15 May 2003 19:42:12 +0000 (22:42 +0300)] 
Reset the header using mmaped memory + msync, instead of lseek() + write()
which was buggy with OpenBSD (didn't update the mmap).

--HG--
branch : HEAD

22 years agoRenamed buffer_*_space() to buffer_*_space_unsafe() and added several
Timo Sirainen [Thu, 15 May 2003 19:22:21 +0000 (22:22 +0300)] 
Renamed buffer_*_space() to buffer_*_space_unsafe() and added several
warnings about using them. Fixed their usage in a few places in sources
where they could have produced invalid results (no buffer overflows,
luckily).

--HG--
branch : HEAD

22 years agomboxes were always selected read-only
Timo Sirainen [Wed, 14 May 2003 18:37:07 +0000 (21:37 +0300)] 
mboxes were always selected read-only

--HG--
branch : HEAD

22 years agoAUTH_MODULES -> HAVE_MODULES
Timo Sirainen [Wed, 14 May 2003 18:31:02 +0000 (21:31 +0300)] 
AUTH_MODULES -> HAVE_MODULES

--HG--
branch : HEAD

22 years agofix
Timo Sirainen [Wed, 14 May 2003 18:29:53 +0000 (21:29 +0300)] 
fix

--HG--
branch : HEAD

22 years agoNo, still no oracle here..
Timo Sirainen [Wed, 14 May 2003 18:25:52 +0000 (21:25 +0300)] 
No, still no oracle here..

--HG--
branch : HEAD

22 years agomissing
Timo Sirainen [Wed, 14 May 2003 18:23:40 +0000 (21:23 +0300)] 
missing

--HG--
branch : HEAD

22 years agoAdded support for dynamically loadable imap/pop3 modules.
Timo Sirainen [Wed, 14 May 2003 18:23:04 +0000 (21:23 +0300)] 
Added support for dynamically loadable imap/pop3 modules.

--HG--
branch : HEAD

22 years agoAdded command_register() and related functions so we can dynamically
Timo Sirainen [Wed, 14 May 2003 17:23:11 +0000 (20:23 +0300)] 
Added command_register() and related functions so we can dynamically
register new commands.

--HG--
branch : HEAD

22 years agofix
Timo Sirainen [Mon, 12 May 2003 06:15:25 +0000 (09:15 +0300)] 
fix

--HG--
branch : HEAD

22 years agolibstorage_index_* -> libindex_*
Timo Sirainen [Mon, 12 May 2003 06:14:49 +0000 (09:14 +0300)] 
libstorage_index_* -> libindex_*

--HG--
branch : HEAD

22 years agoDependency fixes
Timo Sirainen [Mon, 12 May 2003 06:13:38 +0000 (09:13 +0300)] 
Dependency fixes

--HG--
branch : HEAD

22 years agoDon't check errno of getpwnam() and getspnam() functions. They don't seem to
Timo Sirainen [Mon, 12 May 2003 06:04:04 +0000 (09:04 +0300)] 
Don't check errno of getpwnam() and getspnam() functions. They don't seem to
be set correctly in all systems and it's unlikely the error is anything else
than "user doesn't exist".

--HG--
branch : HEAD

22 years agoDon't give internal errors when trying to select, delete or rename
Timo Sirainen [Mon, 12 May 2003 05:44:05 +0000 (08:44 +0300)] 
Don't give internal errors when trying to select, delete or rename
(non-existing) mailboxes under mbox.

--HG--
branch : HEAD

22 years agoUnexpected SSL connection errors sometimes crashed
Timo Sirainen [Sun, 11 May 2003 14:43:16 +0000 (17:43 +0300)] 
Unexpected SSL connection errors sometimes crashed

--HG--
branch : HEAD

22 years agocleanups
Timo Sirainen [Sun, 11 May 2003 14:27:28 +0000 (17:27 +0300)] 
cleanups

--HG--
branch : HEAD

22 years agoIf we don't have access to write subscriptions file, say "permission denied"
Timo Sirainen [Sun, 11 May 2003 11:33:43 +0000 (14:33 +0300)] 
If we don't have access to write subscriptions file, say "permission denied"
to user rather than internal error

--HG--
branch : HEAD

22 years agoDELETE should report success to client even if it can't actually delete the
Timo Sirainen [Fri, 9 May 2003 05:34:36 +0000 (08:34 +0300)] 
DELETE should report success to client even if it can't actually delete the
folder, as long as it can rename it to "..dir".

--HG--
branch : HEAD

22 years agoWe have to sync dovecot-uidlist before indexing mails in new/ dir or we'll
Timo Sirainen [Thu, 8 May 2003 18:59:38 +0000 (21:59 +0300)] 
We have to sync dovecot-uidlist before indexing mails in new/ dir or we'll
get UID conflicts.

--HG--
branch : HEAD

22 years agocheck lstat() error too
Timo Sirainen [Thu, 8 May 2003 15:53:07 +0000 (18:53 +0300)] 
check lstat() error too

--HG--
branch : HEAD

22 years agoReturned errno was often wrong.
Timo Sirainen [Thu, 8 May 2003 13:56:32 +0000 (16:56 +0300)] 
Returned errno was often wrong.

--HG--
branch : HEAD

22 years agoNo, actually it's valid for server to just ignore any non-permanent flag
Timo Sirainen [Thu, 8 May 2003 11:35:28 +0000 (14:35 +0300)] 
No, actually it's valid for server to just ignore any non-permanent flag
updates.

--HG--
branch : HEAD

22 years agoEXPUNGE should reply OK even if mailbox is read-only. STORE should use
Timo Sirainen [Thu, 8 May 2003 11:30:32 +0000 (14:30 +0300)] 
EXPUNGE should reply OK even if mailbox is read-only. STORE should use
per-session flags, but we'll leave it as FIXME for now..

--HG--
branch : HEAD

22 years agoIn-memory indexes didn't set index->opened.
Timo Sirainen [Thu, 8 May 2003 08:59:48 +0000 (11:59 +0300)] 
In-memory indexes didn't set index->opened.

--HG--
branch : HEAD

22 years agoUpdates by Farkas Levente
Timo Sirainen [Thu, 8 May 2003 06:59:17 +0000 (09:59 +0300)] 
Updates by Farkas Levente

--HG--
branch : HEAD

22 years agoGive "Permission denied" error instead of internal error if some call fails
Timo Sirainen [Thu, 8 May 2003 05:44:37 +0000 (08:44 +0300)] 
Give "Permission denied" error instead of internal error if some call fails
with EACCES.

--HG--
branch : HEAD

22 years agoDon't try to rewrite mbox file if it's read-only.
Timo Sirainen [Thu, 8 May 2003 05:08:29 +0000 (08:08 +0300)] 
Don't try to rewrite mbox file if it's read-only.

--HG--
branch : HEAD

22 years agoSome fixes to get read-only mboxes working.
Timo Sirainen [Thu, 8 May 2003 04:53:47 +0000 (07:53 +0300)] 
Some fixes to get read-only mboxes working.

--HG--
branch : HEAD

22 years agobugfix
Timo Sirainen [Thu, 8 May 2003 04:34:30 +0000 (07:34 +0300)] 
bugfix

--HG--
branch : HEAD

22 years agoChrooting changes. Now all userdbs will support "<chroot>/./<homedir>" style
Timo Sirainen [Thu, 8 May 2003 04:28:30 +0000 (07:28 +0300)] 
Chrooting changes. Now all userdbs will support "<chroot>/./<homedir>" style
home directories.

--HG--
branch : HEAD

22 years agoCrashfix
Timo Sirainen [Thu, 8 May 2003 04:06:59 +0000 (07:06 +0300)] 
Crashfix

--HG--
branch : HEAD

22 years agoIf exec() fails, show the full path rather than argv[0]
Timo Sirainen [Thu, 8 May 2003 04:01:51 +0000 (07:01 +0300)] 
If exec() fails, show the full path rather than argv[0]

--HG--
branch : HEAD

22 years agoUpdated for ANONYMOUS
Timo Sirainen [Thu, 8 May 2003 03:47:01 +0000 (06:47 +0300)] 
Updated for ANONYMOUS

--HG--
branch : HEAD

22 years agoSupport wu-ftpd-like chrooting in /etc/passwd. If home directory ends with
Timo Sirainen [Thu, 8 May 2003 03:36:21 +0000 (06:36 +0300)] 
Support wu-ftpd-like chrooting in /etc/passwd. If home directory ends with
"/./", it's chrooted to.

--HG--
branch : HEAD

22 years agoWe didn't log if chroot directory was invalid.
Timo Sirainen [Thu, 8 May 2003 03:35:48 +0000 (06:35 +0300)] 
We didn't log if chroot directory was invalid.

--HG--
branch : HEAD

22 years agoAdded support for ANONYMOUS SASL mechanism.
Timo Sirainen [Thu, 8 May 2003 03:24:57 +0000 (06:24 +0300)] 
Added support for ANONYMOUS SASL mechanism.

--HG--
branch : HEAD

22 years agohash.h not needed
Timo Sirainen [Thu, 8 May 2003 03:18:43 +0000 (06:18 +0300)] 
hash.h not needed

--HG--
branch : HEAD

22 years agoContent-Type wasn't actually set, which caused us to search non-text attachments...
Timo Sirainen [Thu, 8 May 2003 02:29:13 +0000 (05:29 +0300)] 
Content-Type wasn't actually set, which caused us to search non-text attachments which unnecessarily slows down things.

--HG--
branch : HEAD

22 years agoDon't crash with invalid first_unseen_uid_lowwater
Timo Sirainen [Thu, 8 May 2003 02:09:45 +0000 (05:09 +0300)] 
Don't crash with invalid first_unseen_uid_lowwater

--HG--
branch : HEAD

22 years agoFETCH BODY[HEADER.FIELDS ...] now doesn't crash to assert if header line
Timo Sirainen [Thu, 8 May 2003 00:49:02 +0000 (03:49 +0300)] 
FETCH BODY[HEADER.FIELDS ...] now doesn't crash to assert if header line
contains NULs. IMAP spec actually forbids sending NULs to client, uw-imapd
changes them to ascii 128. Currently we send them though, that requires some
more fixing.

--HG--
branch : HEAD

22 years agoUse ENOSYS rather than EINVAL for fd_send/fd_recv.
Timo Sirainen [Wed, 7 May 2003 12:23:42 +0000 (15:23 +0300)] 
Use ENOSYS rather than EINVAL for fd_send/fd_recv.

--HG--
branch : HEAD

22 years agostruct timeval requires sys/time.h
Timo Sirainen [Wed, 7 May 2003 12:21:02 +0000 (15:21 +0300)] 
struct timeval requires sys/time.h

--HG--
branch : HEAD

22 years agoremove compiler warnings if we declare madvise() as empty function
Timo Sirainen [Wed, 7 May 2003 12:14:30 +0000 (15:14 +0300)] 
remove compiler warnings if we declare madvise() as empty function

--HG--
branch : HEAD