summaryrefslogtreecommitdiff
path: root/mail/gld
AgeCommit message (Collapse)AuthorFilesLines
2007-07-04Make it easier to build and install packages "unprivileged", wherejlam1-2/+3
the owner of all installed files is a non-root user. This change affects most packages that require special users or groups by making them use the specified unprivileged user and group instead. (1) Add two new variables PKG_GROUPS_VARS and PKG_USERS_VARS to unprivileged.mk. These two variables are lists of other bmake variables that define package-specific users and groups. Packages that have user-settable variables for users and groups, e.g. apache and APACHE_{USER,GROUP}, courier-mta and COURIER_{USER,GROUP}, etc., should list these variables in PKG_USERS_VARS and PKG_GROUPS_VARS so that unprivileged.mk can know to set them to ${UNPRIVILEGED_USER} and ${UNPRIVILEGED_GROUP}. (2) Modify packages to use PKG_GROUPS_VARS and PKG_USERS_VARS.
2007-04-18Update to gld-1.7. Only one change over 1.6:ghen3-15/+14
Removed the KEEPDBOPEN option as it could lead to multiple instance of gld running when mail traffic is low and thus father process MYSQL connection timeout. Furthermore, after tests, efficency is the same. KEEPDBOPEN option is now silently ignored to forced to NO.
2007-02-22Whitespace cleanup, courtesy of pkglint.wiz1-3/+3
Patch provided by Sergey Svishchev in private mail.
2007-01-02Replace rc.d dependency on "mysqld" by "pgsql" if pgsql option is selected.ghen1-1/+6
2006-11-10Grammar fixes + list postgresql as a possible data backend.ghen1-5/+4
2006-07-10Solaris fixes:sketch3-2/+22
- Link against socket libraries. - Don't try to return a value from a void function (SunPro).
2006-06-06Change permissions of the config file to 640 (ok with xtraeme). Bumpghen1-3/+3
PKGREVISION again.
2006-06-06- Advertize GLD_USER and GLD_GROUP as being configurable (add to BUILD_DEFS).ghen1-3/+5
- Fix the default USER and GROUP substitution in the config file. - Bump PKGREVISION for this.
2006-04-23Modify packages that set PKG_USERS and PKG_GROUPS to follow the newjlam1-2/+3
syntax as specified in pkgsrc/mk/install/bsd.pkginstall.mk:1.47.
2006-03-04Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where nojlam1-2/+2
developer is officially maintaining the package. The rationale for changing this from "tech-pkg" to "pkgsrc-users" is that it implies that any user can try to maintain the package (by submitting patches to the mailing list). Since the folks most likely to care about the package are the folks that want to use it or are already using it, this would leverage the energy of users who aren't developers.
2006-03-02Update to 1.6:wiz8-83/+61
16/09/2005 : V 1.6 - Removed the algorithm lightgreydomain as the new mxgrey does better and simpler - Removed the UPDATE option, now gld always update triplets. - Fixed a minor flaw in the MXGREY algorithm. - Now you can configure MXGREY to consider an ip as a safe MX after X succesful greylists instead of only 1 . (read gld.conf for details) - Now gld updates the counters only when mail is not greylisted - Added Training mode, read gld.conf for details - Now gld verify that if you supply a custom smtp code, it's a 4XX code otherwise gld discard it and use 450 . - If gld cannot connect to MySQL server on startup it will not refuse to run anymore, but will set keepdbopen to 0 and accept to run . - The sample config file provided now only listen to loopback only accept connection from localhost and runs as nobody/ nobody. WARNING: if you were using lightgreydomain algorithm, it has been discontinued use MXGREY in place, please read gld.conf for details.
2006-03-02Make MESSAGE mysql-specific, since it is.wiz2-4/+5
Final part of PR 32969 by Greg Oster.
2006-03-02Fix build both for mysql and pgsql backends.wiz3-5/+9
Addresses second part of PR 32969 by Greg Oster.
2006-03-02pkglint cleanup.wiz1-3/+3
2006-03-02Convert to make better use of the options framework. Addresses partwiz1-8/+5
of PR 32969 by Greg Oster.
2006-02-12ENOTIME to mantain these packages, feel free to pick it up if you arextraeme1-2/+2
insterested.
2006-02-06The previous postfix configuration wasn't valid syntax, and broke relayingsketch1-4/+3
from $mynetworks. Supply an example which works.
2006-02-05Recursive revision bump / recommended bump for gettext ABI change.joerg1-2/+2
2006-01-08Bump PKGREVISION due to mysql.buildlink3.mk changes (default mysqlxtraeme1-1/+2
pkg has been changed to 5.x). Reminded by wiz... thanks.
2005-12-29Remove USE_PKGINSTALL from pkgsrc now that mk/install/pkginstall.mkjlam1-2/+1
automatically detects whether we want the pkginstall machinery to be used by the package Makefile.
2005-08-23The real user name in PKG_USERS does not need to be escaped with doublerillig1-2/+2
backslashes anymore. A single backslash is enough. Changed the definition in all affected packages. For those that are not caught, an additional check is placed into bsd.pkginstall.mk.
2005-05-31Packages have no business modifying PKG_DEFAULT_OPTIONS -- it's adillo1-2/+2
user settable variable. Set PKG_SUGGESTED_OPTIONS instead. Also, make use of PKG_OPTIONS_LEGACY_VARS. Reviewed by wiz.
2005-05-24Cannot use mysql and pgsql options together, use one of them.xtraeme1-1/+5
2005-05-23Removed trailing white-space.rillig1-2/+2
2005-05-02RCD_SCRIPTS_EXAMPLEDIR is no longer customizable.reed1-1/+2
And always is defined as share/examples/rc.d which was the default before. This rc.d scripts are not automatically added to PLISTs now also. So add to each corresponding PLIST as required. This was discussed on tech-pkg in late January and late April. Todo: remove the RCD_SCRIPTS_EXAMPLEDIR uses in MESSAGES and elsewhere and remove the RCD_SCRIPTS_EXAMPLEDIR itself.
2005-04-21Update to 1.5.2xtraeme2-6/+6
o Fixed a bug in MXGREY algorithm
2005-04-14Update to 1.5.1, which fixes PR pkg/29975 by Robert Elz.xtraeme3-9/+24
Some changes were done: enabling the LOOPBACK option by default, fix some snprintf() calls, etc. While I'm here convert this pkg to use bsd.options.mk, now that it supports MySQL and PostgreSQL (MySQL by default as before).
2005-04-13Point to the correct sql script.salo1-6/+5
XXX: this should be reworked when pgsql support is added Style.
2005-04-13Add rcsid.salo2-2/+4
2005-04-13Install all the correct files..salo2-8/+7
2005-04-13Fix installation of sql scripts.salo3-6/+8
This package needs more work.. (e.g., pgsql support)
2005-04-13Put the correct content into patch-ab.. *sigh*salo2-16/+51
2005-04-13Remove PKGREVISION.salo1-2/+1
2005-04-13Split patch-ab to one patch per file.salo6-290/+267
2005-04-13Update to 1.5 to fix security vulnerability issues.christos4-12/+319
- Add more patches to totally eliminate strcpy(); this code is horrible.
2005-04-11Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used.tv1-2/+1
2005-02-24Add RMD160 digests.agc1-1/+2
2005-01-19This needs mysqld in REQUIRE as well.xtraeme1-2/+2
2005-01-19Add another changeable option via rc.conf "gld_waitmysql_seconds",xtraeme1-1/+12
with a default value of "5" seconds to wait for mysql. This is necessary because the gld process needs mysqld available when it's loaded, and sometimes when booting mysqld, it needs more than 2 seconds to be available.
2004-12-28The default location of the pkgsrc-installed rc.d scripts is nowreed1-1/+2
under share/examples/rc.d. The variable name already was named RCD_SCRIPTS_EXAMPLEDIR. This is from ideas from Greg Woods and others. Also bumped PKGREVISION for all packages using RCD_SCRIPTS mechanism (as requested by wiz).
2004-11-29Don't overwrite $pidfile if the command is "status" or "stop".xtraeme1-2/+2
2004-11-29Fix typo, it's BEFORE mail not postfix.xtraeme1-2/+2
2004-11-25Add permit_mynetworks to smtpd_recipient_restrictions.xtraeme1-2/+3
2004-11-25The gld.conf file contains important data, use CONF_FILES_PERMS 0740xtraeme1-2/+3
${BINWON}:${GLD_GROUP}.
2004-11-25English language tweaks, from Gendalia@.xtraeme1-2/+2
2004-11-25Initial import of gld-1.4 into the NetBSD packages collection.xtraeme7-0/+141
Gld is a standalone greylisting server for Postfix SMTP, it listens on a TCP port and use MySQL for storing data. The server supports whitelists based on sender,sender_domain and client_ip, it supports also light greylisting and DNS white lists.