Commit graph

16 commits

Author SHA1 Message Date
jlam
fd154a9588 Modify the Courier services rc.d scripts so that:
(1) they are more likely to do the right thing if the user sets
       rc_fast_and_loose; and

   (2) they pre-create any necessary directories prior to start the
       respective services.

Also, fix the path to the courierwebadmin binary in SPECIAL_PERMS for the
courier-mta package.

Bump the PKGREVISION.
2006-06-17 19:26:48 +00:00
reed
fa7b0636a6 Add missing end-quote in rc scripts. Patches from
Mark Cullen via pkgsrc-users list.

Fixes "Syntax error: Unterminated quoted string".

Also bump PKGREVISION.
2006-06-09 16:35:04 +00:00
jlam
62c264453a Update mail/courier-imap to 4.1.0. Changes from version 4.0.6 include:
+ Install some more of the HTML documentation in the location expected
    by courier-mta.

  + Moved the default locations for the imapd and pop3d SSL certificates
    into ${PKG_SYSCONFDIR}.  These paths may be changed directly in the
    imapd-ssl and pop3d-ssl configuration files by modifying TLS_CERTFILE.

  * New capability to control announcements of IMAP ACL support when
    starting imapd.

  * Optimization: Skip going through the motions of outputting the results
    of a SORT if the number of sorted messages is 0.

  * Have CREATE and RENAME also create courierimapuidlist.

  * Log total bytes sent/received in IMAP and POP3 sessions.
2006-04-28 18:15:20 +00:00
jlam
2d5cc83cff Don't require the SSL certificates before starting the Courier IMAPS
or POPS daemons -- we just rely on the Courier control scripts to fail
if the SSL certificate specified in the config file isn't readable.
Bump the PKGREVISION to 1.
2005-03-01 01:42:36 +00:00
jlam
77eebb3972 Update mail/courier-imap to courier-imap-4.0.1. Changes from version
3.0.5 include:

    * Implemented IMAP and POP3 proxy aggregator.  With a proxy
      aggregator, the mail accounts are split between multiple,
      independent servers, with an IMAP/POP3 server running on each
      individual server.  A separate, proxy server sits in front and
      accepts ordinary IMAP and POP3 connections.  It reads the login
      ID, determines which server the account is located on, connects
      to the server, and logs in.  Then, for the lifetime on the login
      session the front-end server takes itself out of the loop, and
      forwards all session traffic between the IMAP/POP3 client, and
      the back-end server.

    * Use courier-authlib for user authentication.

    * IPv6 support.

    * Minor bug fixes.

Please note when updating that the locations of the userdb files has
changed to be within the courier-authlib config directory, e.g.
/usr/pkg/etc/authlib/userdb*.
2005-02-18 22:12:46 +00:00
jlam
41d5c31921 Print warnings to stderr, not stdout. This matches rc.subr behaviour. 2004-07-15 08:29:05 +00:00
jlam
bfa796133d Update mail/courier-imap to 3.0.5 (based on the courier-0.45.6
distribution).  Changes from version 2.2.1 include:

  * Honor ${VARBASE}.
  * courierlogger(1) has been moved to mail/courier-auth.
  * Use the sysconftool from courier-auth to merge config files.
  * The courier* rc.d scripts now check that authdaemond is also set to
    "YES" to ensure that authdaemond is running before the courier-imap
    daemons are started.
  * Support for the ACL IMAP extension (RFC 2086 as well as the 2nd draft
    revision of the ACL specification) via shared maildirs.
  * Bug fixes and improvements to MIME encoding.
  * Fixes buffer overflow vulnerability (PR 25774):
	http://www.securityfocus.com/bid/9845
	http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0224
2004-07-14 20:07:16 +00:00
jlam
ba8bd65c9c Check that the required_files do exist before starting the process. If
start_cmd is defined, then rc.subr skips the required_files check, so do it
ourselves within the start_cmd.
2004-02-24 01:18:52 +00:00
jlam
5d5e3577ac Update mail/courier-imap to 2.2.1. Changes from version 1.4.2 include
addition of keywords on Maildir messages, use of FAM if it exists to
allow simultaneous access to the same Maildir from multiple clients,
and fixed handling of DELETEd messages and the Trash folder.
2004-02-22 03:13:02 +00:00
grant
0c5bb6abcc Make these scripts more portable by taking advantage of automatic rc.d
script handling and using @RCD_SCRIPTS_SHELL@.

as discussed with jlam.
2002-09-20 02:01:54 +00:00
jlam
e0d358778b Solaris' test binary (test/[) doesn't grok "-e". Replace with "-f".
Noted by Stoned Elipot <seb@netbsd.org> in private email.
2002-02-05 06:04:36 +00:00
jlam
cad0d080bd Update mail/courier-imap to 1.4.2. Changes from version 1.4.0 include minor
bug fixes, plus the major change of moving the authentication modules into
a separate package (courier-auth).  The authentication modules are to be
shared with a forthcoming sqwebmail package.
2002-01-22 22:08:48 +00:00
jlam
d1168c8aae Update mail/courier-imap to 1.4.0. Pkgsrc changes include splitting the
Makefile into package and common parts to facilitate creating sub-packages
for the separate authentication modules, and using the general INSTALL
scripts.  Changes from version 1.3.8.2 include:

	* bug fixes
	* move authentication modules into a separate daemon process
	* partial support of the IMAP QUOTA extension.
	* added experimental PostgreSQL authentication module.
	* added experimental LDAP_TLS option to LDAP authentication.
	* workarounds for Outlook
	* Disable MSIE 6.0 smart tags in all html files
2002-01-02 22:19:37 +00:00
jlam
40fac4c9bb * Install maildirmake as imapd.maildirmake and depend on
mail/courier-maildirmake.
* There was an inverted test in the rc.d scripts that was causing them to
  fail on newer NetBSD systems.
* Install the rc.d scripts under ${PREFIX}/etc/rc.d, not in ${PREFIX}/etc.
2001-08-16 06:23:21 +00:00
jlam
04b5c4360c Remove useless courier-imap.sh that was a work-in-progress, and add
four scripts (courier-{imap,imaps,pop,pops}) that are rc.d-style scripts
to start/stop the various Courier IMAP and POP3 services.  They were
modelled after the samba scripts which may be invoked on systems without
rc.d.
2001-08-14 21:42:14 +00:00
jlam
75654a3cd2 courier-imap: IMAP server for access to Maildir-style mailboxes
Courier-IMAP is a server that provides IMAP access to Maildirs. This IMAP
server does NOT handle traditional mailbox files (/var/spool/mail, and
derivatives), it was written for the specific purpose of providing IMAP
access to Maildirs.

"Maildir" is a directory-based mail storage format originally introduced
in the Qmail mail server, and adopted as an alternative mail storage
format by both Exim and Postfix. Courier-IMAP is popular on
Qmail/Exim/Postfix sites that are configured to use maildirs. The primary
advantage of maildirs is that multiple applications can access the same
Maildir simultaneously without requiring any kind of locking whatsoever.
It is a faster and more efficient way to store mail. It works particularly
well over NFS, which has a long history of locking-related woes.
2001-07-31 22:48:50 +00:00