Internally, use quilt for patch management.
Add two Makefile knobs for the locations of the Courier IMAP server's
imaplogin and imapd binaries, just in case anyone would want to test
the new authvchkpw utility :)
- add the WITH_SPAMFOLDER knob from Alex Dupre's PR;
- fix lots of bugs in the new vlist code;
- fix a couple of bugs in MySQL's "valias -n" implementation;
- actually implement "valias -n" for PostgreSQL;
- fix a couple of directory descriptor leaks and other buglets.
PR: 117321 (the WITH_SPAMFOLDER knob)
Submitted by: ale
how to handle the database upgrade and the SpamAssassin patch partial
integration.
There are several important changes that may affect your vpopmail
installation and may need you to handle manually:
- THE MYSQL CONNECTION INFORMATION IS NO LONGER DEFINED AT COMPILE-TIME!
The WITH_MYSQL_{USER,PASSWD,SERVER,DB} variables should NOT be defined
when you build the port; place that information in the vpopmail.mysql
file after vpopmail has been installed!
- the default domain is also no longer defined at compile time - you need
to place it in the defaultdomain file after the installation.
- the defaultdomain and vpopmail.mysql files are no longer blindly removed
on deinstallation, they are only removed if they have not been modified
- in vpopmail 5.4.18, the database schema was changed - some fields were
extended from 64 to 96 characters. If you do not apply those changes
to your database, as explained in the vpopmail/doc/UPGRADE file, your
vpopmail installation may silently fail or lose the trailing portions
of domain names and usernames.
- in vpopmail 5.4.19, the upstream authors integrated large parts of
Alex Dupre's SpamAssassin support, without the SPAM_THRESHOLD part.
If you use vpopmail along with the SpamAssassin FreeBSD port support,
take extra care to ensure that your installation still processes
e-mail messages in the same way.
- vpopmail 5.4.19 added support for maildrop as a mail delivery agent.
This is available in the FreeBSD port if WITH_MAILDROP is defined.
There is also a new user-limit flag for maildrop delivery.
- vpopmail 5.4.19 added support for MySQL connections via Unix sockets
instead of TCP sockets to the server. To do that, change the second
value (the port number) in vpopmail.mysql to the full pathname of
the MySQL socket (e.g. /tmp/mysql.sock).
- vpopmail 5.4.20 extended the LDAP support; please see README.ldap for
more information, and specify the LDAP connection information in
the vpopmail/etc/vpopmail.ldap file after the installation.
- add a new knob, WITH_SQL_REMOVE_DELETED, for explicitly activating
the new code for removing entries from the SQL log file when a user or
domain is deleted;
- add real NOPORTDOCS support and install the README.* files in addition
to the doc_html/ and man_html/ directories if NOPORTDOCS is not set;
- fix a couple of spelling and grammar errors in the new README.vpopmaild;
- add several sanity checks;
- remove the last traces of the ActiveDirectory backend;
- various other minor changes.
- temporarily disable the SpamAssassin patch, since vdelivermail was
reorganized a bit;
- fix a couple of potential buffer bound problems;
- remove the unconditional -fPIC; we handle this ourselves for amd64.
Revamp a bit the creation of the MySQL credentials file.
PR: 59605
Submitted by: Alex Dupre <sysadmin@alexdupre.com> (mostly)
Approved by: portmgr (will)
and other assorted fixes, mostly from Alex's PR.
PR: 56462
Submitted by: Alex Dupre <sysadmin@alexdupre.com>
Ob-woohoo: run-time configuration of default-domain and MySQL info;
at last it is possible to build a single package for
deploying on multiple servers!
Add the WITH_VPOPMAIL_SQWEBMAIL_CREATION knob to make vadduser
(well, make_user_dir(), actually) create an sqwebmail-config file
specifying the outgoing messages' sender address.
- WITH_MYSQL_LIMITS works now, move it where users can actually see it
and remove the BROKEN mark;
- remove the vmysql.h patch that defined the 'limits' table creation -
it was fixed in the meantime;
- remove the annoying configure script check for id == 0.
Submitted by: gerald <gerald@hannibal.symicon.com> - the original
notification about the vpopmail distfile checksum change
Fix a possible buffer underflow bug in the changed code.
Add a new ENABLE_MYSQL_LIMITS knob for .qmailadmin-limits processing, and
DISABLE the new MySQL limits code - it does not even compile as shipped :(
Use the correct configure script option for specifying the path to
the tcprules program, so vpopmail works even with LOCALBASE != /usr/local.
Submitted by: Mike Meyer <mwm@mired.org> - the tcprules patch
There are two new configuration knobs:
- WITHOUT_USERS_BIG_DIR disables the use of 'big' directories for users,
thereby saving a little on disk space and inode usage; IMO, the
savings are negligible;
- WITHOUT_SEEKABLE disables the newly introduced ability of vdelivermail
to examine its input stream for seekability, and read it all into a
file to make it seekable. This works quite fine in the tests that I
have done, so there seems to be no need to enable it on FreeBSD;
however, if things should go wrong (in particular, if delivering mail
to your virtual domains seems to fail), try rebuilding vpopmail with
this knob.
Prompted by: David Phillips <david@acz.org>
support (spelled WITH_CLEARTEXT_PASSWD now), along with a couple of
other tweakable knobs. There is UNTESTED support for Sybase and Oracle
database backends; please report any successes or failures to me.
APOP support discontinuation reported by: "A. Postle" <apostle@kolbas.it>
Introduce two new build knobs:
- WITH_CLEAR_PASSWD actually enable the clear passwords management
that was turned on by default in 5.2 (hello, POLA!)
- WITH_MD5_PASSWORDS for the encrypted passwords, use MD5 hashes.
Prompted by: Claus Rasmussen <claus@webclaus.com>
ports to work once again.
NB: The vpopmail documentation says that the special support for
sqwebmail authorization is no longer needed for sqwebmail 3.0 and above.
If your sqwebmail installation does not work after this vpopmail update,
make sure to try vpopmail built both with and without the WITH_SQWEBMAIL
knob enabled.
Requested and patiently awaited by: much too many to list..
Tested by: NERvOus <nervous@nervous.it>,
Valentin Zahariev <curly@e-card.bg>