Commit graph

27 commits

Author SHA1 Message Date
adam
d29c67b2e1 Changes 2004g:
* Bug fix: quoted string handling in the mailbox name parsing routine

Changes 2004f:
* Bug fix: TCP code
* New SSL/TLS routines
2006-01-12 20:53:50 +00:00
joerg
24413d31af Do not "extern int errno;" just in case. 2005-12-03 00:52:54 +00:00
salo
66f44eb00f Security fix for SA17062:
"A vulnerability in UW-imapd can be exploited by malicious users to
 cause a DoS (Denial of Service) or compromise a vulnerable system.

 The vulnerability is caused due to a boundary error in the
 "mail_valid_net_parse_work()" function when copying the user supplied
 mailbox name to a stack buffer. This can be exploited to cause a
 stack-based buffer overflow via a specially crafted mailbox name that
 contains an single opening double-quote character, without the
 corresponding closing double-quote.

 Successful exploitation allows arbitrary code execution, but requires
 valid credentials on the IMAP server."

http://secunia.com/advisories/17062/
www.idefense.com/application/poi/display?id=313&type=vulnerabilities
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-2933

Patch from 2004g.
2005-10-05 15:49:44 +00:00
tv
20c21e31b1 Update to imap-uw-2004e (downwards ABI compatible; shlib teeny version bumped).
Changes (note that relnotes say -2004d, but it is indeed -2004e):

=====
imap-2004d is a maintenance release, released concurrently with Pine
4.63, and consists primarily of bugfixes

There is now a workaround for RedHat breaking flock().  However, since
RedHat has said that they don't support flock(), there is no guarantee
that they won't break it in the future.  So you may want to consider some
other Linux distribution or BSD instead.  See:
        https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=123415
for the gruesome details.

There are no user-visible functional enhancements in this version.
=====

OTHER CHANGE: Multiple newsrc and MSA support needed by Pine 4.63.
2005-08-12 19:47:17 +00:00
tron
47c0862eac Add optional IPv6 support. Bump package revision because of this change. 2005-08-01 20:34:31 +00:00
hira
82643f2d0f Add missing RCS Id tag to patch-ab. 2005-06-17 14:49:47 +00:00
thorpej
0b9ad806b2 Use the SSLKEYS variable to determine the location of the certificate
private key.  Bump package revision to 2.
2005-03-06 17:03:06 +00:00
agc
8758983939 Add RMD160 digests. 2005-02-24 09:59:20 +00:00
abs
e5a897ba41 Update imap-uw to 2004c1
imap-2004c:
    fixes to quoted-printable encoding and CRAM-MD5 authentication.
    NNTP proxy in imapd now supports the LIST and LSUB commands.

imap-2004b:
    There are new ports for Solaris with Blastwave Community Open
    Source Software (gcs) and Mandrake Linux (lmd).

    SET_SNARFINTERVAL now controls how frequently local drivers
    will move new mail from the mail spool as well as from a
    maildrop.  Maildrops are still tied to a minimum interval of
    1 minute, but there is now no minimum for the spool file.

    Character set conversions now map non-breaking space to space
    if the destination character set doesn't have nbsp.  JIS Roman
    yen sign is now mapped to Unicode yen sign.
2005-01-24 09:03:48 +00:00
abs
dd04eda1b7 Add IMAP_UW_USE_WHOSON
No change to default build, so no version bump
2004-10-11 16:56:28 +00:00
adam
325b56a950 Changes imap-2004a:
* maintenance release, consisting primarily of critical bugfixes
* now has a supported NNTP proxy capability
* OSF/1 port (Digital UNIX, Tru64) now uses flocksim instead of flcksafe
* The unix[nt] and mmdf drivers now prevent mail_append() from writing Status:,
  X-Status:, X-UID, X-IMAP[base]:, and X-Keywords: header lines to a
  traditional UNIX or MMDF format mailbox
2004-08-12 12:13:54 +00:00
adam
221af5bbd8 Changes 2004:
* mailutil has three new commands: delete, rename, and prune
* IPv6 support now exists for UNIX and W2K
* The NNTP driver now supports NNTP SASL and TLS
* imapd now supports the LITERAL+ and SASL-IR initial-response extensions
* The IMAP driver has some additional checks to reduce the amount of network
  traffic, including executing "silly searches" (searches of sequence numbers
  only) locally
* The IMAP, POP, SMTP, and NNTP drivers now have diagnostic code to provide
  better information about servers which violate SASL's empty challenge
  requirements (e.g. with the PLAIN mechanism).
* There is a new mail_fetch_overview_sequence() function which is like
  mail_fetch_overview() but takes a sequence number string as an argument.
  There should have been a flags argument and FT_UID bit as in all the other
  mail_fetch_???() functions but compatibility with the past... :-(
* The overview_t callback (from mail_fetch_overview()) now has a fourth
  argument which contains the message sequence number (as opposed to the UID
  which is in the second argument).  It turned out that some applications were
  calling mail_msgno() (which can be moderately expensive) to get the sequence
  number, and c-client already knew it.
* Many declarations which are completely internal to a driver have been removed
  from the driver .h file, and in those cases where there are no external
  declarations left the .h file has been eliminated entirely.  As part of this,
  the mbox driver routines are now incorporated with the unix driver routines
  as opposed to being a separate file.  The mbox driver still needs to be lunk
  in order to get the mbox functionality.
2004-05-13 18:14:34 +00:00
kim
8be25ece96 Add IMAP_UW_MAILSPOOLHOME (analogous to PROCMAIL_MAILSPOOLHOME). To
default user mailboxes to their home directory, specify the name of
the mailbox file.
2003-09-13 18:31:32 +00:00
adam
d87ddfb97f Updated: 27 August 2003
imap-2002e is a minor release, released concurrently with Pine 4.57, and
contains primarily bugfixes.  Programs written for imap-2002d should build
with this version without modification.

The NNTP client code now tries to perform better with legacy NNTP servers
which do not comply with the current NNTP protocol specification draft, most
notably Netscape Collabra.

Delivery notifications now work reliably with SMTP servers that support it.

The following changes are primarily of concern to developers and power users:

There is a "limited advertise" option in env_unix.c which, if set, will only
advertise the user's own namespace and the #shared/ namespace.

It is now possible to build the IMAP toolkit with a separate SSL KEY file
from the certificate file (SSLKEYS vs. SSLCERTS).

A new BODY structure element, sparep, is available for the main program to
use as a pointer for its own purposes; as well as a SET_FREEBODYSPAREP
function, similar to SET_FREEENVELOPESPAREP, SET_FREEELTSPAREP, etc.
2003-09-10 11:54:41 +00:00
adam
6c52e431a3 Kerberos fix (thanks to tron) 2003-07-30 09:29:58 +00:00
adam
243468b0b1 Changes:
imap-2002c is a minor release, released concurrently with Pine 4.55, and
contains primarily bugfixes.  Programs written for imap-2002 will build
with this version without modification

imap-2002d is a minor release, released concurrently with Pine 4.56, and
contains primarily bugfixes.  Programs written for imap-2002 should build
with this version without modification, with one exception.  That exception
is the ngbogus envelope flag, which stopped being used in imap-2002c and is
now gone for good.

See RELNOTES for additional information
2003-07-28 14:38:05 +00:00
fredb
0fbd58035b Add "-ldes" for ${USE_KERBEROS}==YES case, on NetBSD-1.5* only. This
should close PR pkg/19430 and PR pkg/20491.
2003-04-10 14:56:21 +00:00
martti
4cb135fb6b Updated imap-uw to 2002.2
imap-2002b is a maintenace release, released concurrently with Pine 4.52,
and contains only bugfixes.  Programs written for imap-2002 will build with
this version without modification.

Drivers which do not announce new mail are now indicated by the DR_NONEWMAIL
driver flag.  Driver which do not announce new mail when read-only are now
indicated by the DR_NONEWMAILRONLY flag.

There are no user-visible functional enhancements in this version.
2003-01-23 07:37:15 +00:00
dmcmahill
64ee8c09ab obey CFLAGS and CPPFLAGS. Don't unconditionally add -O2. 2003-01-23 01:25:10 +00:00
tron
e0499550ce Update "imap-uw" package to version 2002.1rc1 (0212051126 snapshot of
version 2002a). This version fixes a buffer overflow described
in Cert Vulnerability Note VU#961489.
2002-12-11 12:21:21 +00:00
elric
2850ba98f6 In the previous commit, I broke the non-kerberos setup. This
occurred because gss_import_name() was segfaulting if /etc/krb5.conf
was not found.  To fix it, I swapped the krb5_init_context() and
the gss_import_name() calls, since krb5_init_context() will fail
if krb5 is not configured and I can fail appropriately.

I also changed slightly how the documentation is installed by the
main Makefile, because the ${CP} was relying on the non-existence
of the target directory.
2002-10-30 02:12:44 +00:00
elric
6ed2e8bc91 Adding GSSAPI support to this package. It is turned on by default for
NetBSD and off for everything else.
2002-10-28 22:21:14 +00:00
martti
c730e5e9e0 * Updated to 2001.1 (2001a).
* Updated buildlink.mk as the new version has some new #defines in the .h
  file (and e.g. pine won't build against the old version)


Updated: 2 November 2001

imap-2001a is a maintenance release, consisting primarily of bugfixes
including some critical bugfixes to crash and denial of service problems.
Programs written for imap-2001 will build with this version without
modification.

The following new facilities have also been added:

The new /norsh switch in mailbox names provides a more intuitive way of
disabling rsh-IMAP than the existing :143 or setting the rsh-timeout to 0.

Passwords are no longer returned in mm_dlog() callbacks unless the
application sets the SET_DEBUGSENSITIVE parameter.

The SET_NETFSSTATBUG parameter allows an application to force the
traditional UNIX mailbox driver to close and reopen the mailbox at ping
time.  This is EXTREMELY inefficient, and should only be used to access
files stored on AFS and old NFS systems.

The ISO 8859 and Windows conversion tables have been updated to comply
with Unicode 3.1, and the KOI8-R table has been verified as compliant with
Unicode 3.1.

The SPECIALS mechanism for passing parameters to the lowest level Makefile
has been updated to be more general.  See the next item for why you might
care.

New lrh port to build on Red Hat Linux 7.2, with pre-set definitions for
the places where Red Hat has placed Kerberos and SSL.  It's actually just
the lnp port with SPECIALS defined accordingly.  You may want to use it as
a model if your system needs such definitions.  Note that SPECIALS is
primarily for IMAP toolkit (and Pine) purposes, and that user settings
should use EXTRASPECIALS instead.
2001-12-15 08:30:26 +00:00
martti
7edddb5204 Updated imap-uw to 2001. Changes:
* Bugfixes
* SSL is now fully integrated into the IMAP toolkit
* Full client and server TLS support
* The server certificate must be signed by a trusted certificate authority
* RFC 1730 (IMAP4 as opposed to IMAP4rev1) support is turned off by default
  in imapd
2001-10-11 15:34:50 +00:00
jlam
18d3a2277c Convert to use buildlink.mk files and mark as USE_BUILDLINK_ONLY. 2001-06-22 03:31:51 +00:00
agc
b26a4eb88b Move to sha1 digests, and add distfile sizes. 2001-04-20 13:09:54 +00:00
agc
9e8d6c8b8d + move the distfile digest/checksum value from files/md5 to distinfo
+ move the patch digest/checksum values from files/patch-sum to distinfo
2001-04-17 11:33:31 +00:00