summaryrefslogtreecommitdiff
path: root/mail/postfix-current
AgeCommit message (Collapse)AuthorFilesLines
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-08-23Add DRAGONFLY1 and FREEBSD6 support.reed3-16/+49
TODO: this needs more testing and also needs to be submitted to developer.
2005-08-14Update to postfix-2.3-20050726christos6-20/+45
2005-07-31use ${LDFLAGS} in AUXLIBS so chosen libraries for various options cangrant1-2/+2
be found at runtime.
2005-07-15Drop distinction between PKGSRC_USE_TOOLS and USE_TOOLS by makingjlam1-2/+2
PKGSRC_USE_TOOLS go away. There is now only a single USE_TOOLS variable that specifies all of the tools we need to build/run the package.
2005-05-16Note that tar is required by this package.jlam1-1/+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-11Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used.tv1-2/+1
2005-03-28Remove security/cyrus-sasl and security/cy-login. These packagesjlam1-21/+2
tracked the Cyrus SASL 1.5.x releases, which are no longer maintained. Adjust packages to use security/cyrus-sasl2 instead for SASL support. This closes PR pkg/28218 and PR pkg/29736.
2005-02-24Add RMD160 digests.agc1-1/+2
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-12-03Rename ALL_TARGET to BUILD_TARGET for consistency with other *_TARGETs.wiz1-2/+2
Suggested by Roland Illig, ok'd by various.
2004-11-17Remove obsolete variables POSTFIX_*, use PKG_OPTIONS.postfix.xtraeme1-33/+1
Ok'ed jlam@
2004-10-29Use mk/mysql.buildlink3.mk instead of databases/mysql-client/buildlink3.mk,xtraeme1-3/+3
so that we'd not force dependance on specific MySQL version, and instead pick the currently installed mysql*-client (or install the default if there is no mysql-client package installed yet) this makes package buildable with arbitrary MySQL version, such as 3.23.x, 4.0.x or 4.1.x
2004-08-27Replace RPATH_FLAG with LINKER_RPATH_FLAG and COMPILER_RPATH_FLAG,jlam1-10/+10
which are the full option names used to set rpath directives for the linker and the compiler, respectively. In places were we are invoking the linker, use "${LINKER_RPATH_FLAG} <path>", where the space is inserted in case the flag is a word, e.g. -rpath. The default values of *_RPATH_FLAG are set by the compiler/*.mk files, depending on the compiler that you use. They may be overridden on a ${OPSYS}-specific basis by setting _OPSYS_LINKER_RPATH_FLAG and _OPSYS_COMPILER_RPATH_FLAG, respectively. Garbage-collect _OPSYS_RPATH_NAME and _COMPILER_LD_FLAG.
2004-08-22Change the way that legacy USE_* and FOO_USE_* options are convertedjlam1-38/+21
into the bsd.options.mk framework. Instead of appending to ${PKG_OPTIONS_VAR}, it appends to PKG_DEFAULT_OPTIONS. This causes the default options to be the union of PKG_DEFAULT_OPTIONS and any old USE_* and FOO_USE_* settings. This fixes PR pkg/26590.
2004-08-07Mirror changes to the mail/postfix package: add (commented out) support forjlam3-9/+28
building STARTTLS support without IPv6.
2004-08-07Mirror changes to mail/postfix:jlam8-180/+30
Reduce the number of patches needed by Postfix by using the subst framework and also by explicitly specifying more default values for Postfix parameters. Also pass -I/usr/pkg/include/sasl to the compiler when building using Cyrus SASLv2, which allows me to remove the patches that added an unnecessary USE_SASL2_AUTH check.
2004-08-05Rename Makefile.options to options.mk in the packages that I maintain.jlam2-5/+5
This follows the example of the mail/dovecot package, as suggested by <schmonz>.
2004-07-31Minimize diffs with pkgsrc/mail/postfix to simplify maintenance of thisjlam14-256/+379
package.
2004-07-24Use the new mk/pgsql.buildlink3.mk to select the correct PostgreSQLrecht1-4/+4
version.
2004-07-21Add CONFLICTS with the upcoming mail/fastforward update.schmonz1-2/+2
2004-07-02Updated postfix-current to 2.2-20040628martti19-225/+92
* Sync with pkgsrc/mail/postfix * Get rid of canonical_classes patch * No IPv6 patch
2004-06-06Update postfix-current pacakge to postfix-20040504.taca12-85/+145
pkgsrc changes: - install smtpd-policy script as example. - adapot NetBSD 2.X and later. - make local(8) handle EDQUOT as temporary error. - enable RECEIVED_ENVELOPE_FROM. Postfix changes: 20040324 Portability: ekkoBSD support by Philip Reynolds. Files: makedefs, util/sys_defs.h. 20040325 Cleanup: smtp_skip_4xx_greeting and smtp_skip_5xx_greeting functionality is moved from connection management to SMTP protocol processing, so that Postfix now logs the server response when a server refuses to provide service. Files: smtp/smtp_connect.c, smtp/smtp_proto.c. Cleanup: smtp_skip_4xx_greeting is no longer configurable; it is now permanently turned on. 20040326 Workaround: in the trivial-rewrite server, turn on the code to strip trailing "." while rewriting addresses, and change the address resolver to strip trailing "." in a compatible manner. This does not eliminate the problem that the SMTP server may use a different address for recipient validation than what the cleanup server uses for virtual alias mapping. 20040329 Bugfix: the SMTP server did not log client (and SASL) information with the real-time content filter was enabled. Files: smtpd/smtpd.c, smtpd/smtpd_sasl_proto.c. Compatibility: smtpd_reject_unlisted_sender is turned off by default, to avoid trouble with with in-house software that sends out mail software with an unreplyable address. 20040331 Bugfix: postdrop should not abandon mail submission after receiving a SIGHUP signal when SIGHUP was ignored by the parent process. Victor Duchovni, Morgan Stanley. File: postdrop/postdrop.c. Bugfix: parsing bug in PgSQL dictionaries causing UNIX sockets to be ignored. Liviu Daia. Files: global/dict*sql.c. Performance: allow MySQL and PgSQL database connections to be closed when idle for more than 1 minute; Liviu Daia. Files: global/dict*sql.c. 20040401 Sanity: the SMTP server no longer accepts sender or recipient addresses that end in the "@" null domain, as well as addresses that rewrite into such a form. Specify "resolve_null_domain=yes" to get the old behavior back. File: trivial-rewrite/resolve.c. 20040402 Cleanup: added WARN action support for access maps, for consistency with the WARN action in header and body checks. File: smtpd/smtpd_check.c. 20040407 Bugfix: missing return statement at the end of the FREE_MEMORY_AND_RETURN error handling macro. Adi Prasaja. File: trivial-rewrite/resolve.c. 20040411 Future proofing: client_rate_time_unit is renamed to anvil_rate_time_unit, so that it is no longer limited to clients only. File: src/global/mail_params.h. Cleanup: postalias and postmap now log problems to syslogd. Files: postalias/postalias.c, postmap/postmap.c. 20040413 Feature: "postfix set-permissions" (re)sets ownership and access permissions of Postfix files and directories. Feature: "postfix upgrade-configuration" updates main.cf and master.cf. This is for people who people copy over their old files after installing a newer Postfix version. Feature: HTML files are now optionally installed under control of the html_directory configuration parameter. Files: postfix-install, conf/postfix-files, conf/post-install. Cleanup: README file installation is now optional. Files: postfix-install, conf/postfix-files, conf/post-install. 20040414 Cleanup: references to sample-mumble.cf files removed, conf/mumble_table files removed, new commands added to conf/postfix-script. Cleanups: function declared in but used as void, missing include file, missing const qualifier, unused variable. Matthias Andree. Files: bounce/bounce_notify_util.c, bounce/bounce_service.h, postlog/postlog.c, smtpd/smtpd_check.c, util/attr_scan64.c. Bugfix: more robust version of SIGHUP test of 20040331. Victor Duchovni, Morgan Stanley. File: postdrop/postdrop.c. Safety: added NOCLOBBER qualifiers to local variables that might be clobbered by longjmp(). Files: util/sys_defs.h, smtp/smtp_proto.c, lmtp/lmtp_proto.c, smtpd/smtpd_check.c, smtpstone/smtp-source.c. Bugfix: sub-level Makefiles no longer turned on the extra compiler warnings. Files: Makefile.in.*, makedefs.*. 20040415 Bugfix: the LMTP client attempted to reuse a connection after timeout, causing protocol synchronization errors. Reported by Rob Mueller. File: lmtp/lmtp.c. 20040416 Cleanup: non-delivery reports now include the original recipient information. File: bounce/bounce_notify_util.c. 20040415-18 Typos: many documentation fixes by Rob Foehl. 20040418 Cleanup: "int" versus "const int" prototype mismatch between the DICT sequence method prototype and possible implementations. Files: util/dict_db.c, util/dict_dbm.c. 20040419 Bugfix: the code that rejects client/helo RESTRICTIONS with smtpd_delay_reject=no looked at the wrong evidence and rejected client/helo ACCESS MAP lookups instead. Michael Tokarev. Files: smtpd/smtpd.c, smtpd/smtpd_check.c. Bugfix: missing # in master.cf in optional submission service. 20040420 Bugfix: smtpd logged the client too often. Michael Tokarev. File: smtpd/smtpd.c. Cleanup: client_event_status_update_time renamed to anvil_status_update_time. Files: mantools/postlink, proto/postconf.proto, anvil/anvil.c. 20040421 Workaround: allow pipelined SMTP clients to overshoot the SMTP server recipient limit without triggering the server hard error limit. The SMTP server does not count "too many recipients" towards the hard error limit, as long as the number of excess recipients stays within a configurable overshoot limit (default: smtpd_recipient_overshoot_limit = 1000). Solution in cooperation with Victor Duchovni. Files: smtpd/smtpd.c, smtpd/smtpd_state.c, smtpd/smtpd.h. 20040502 Missing test for a never used flag (the problematic and thus never completed INSPECT feature that doesn't re-inject mail into Postfix). Victor Duchovni, Morgan Stanley. File: virtual/virtual.c. 20040503 Bugfix: missing "sasl enabled" guard in the SMTPD policy client. File: smtpd/smtpd_check.c.
2004-05-04statvfs fix for postfix and postfix-current on NetBSD-current>=2.0D.minskim2-1/+20
Patch provided by John R. Shannon in PR pkg/25430.
2004-04-21Drop localized *_USE_LDAP definitions and consistently use USE_OPENLDAPcube1-3/+3
instead. As announced on tech-pkg. Most notably affected are Postfix, sendmail, Samba and cyrus-saslauthd. Be sure to update your mk.conf accordingly.
2004-04-20Make it compile on NetBSD current and 2.0_BETA.taca2-4/+13
2004-04-14indent a block, minor whitespace tweakgrant1-4/+4
2004-04-14Remove hardcoded "-ldb" from makedefs, because pkgsrc provides aminskim2-6/+14
correct option. This fixes PR pkg/25176.
2004-04-12Update postfix-current to 2.0.19-20040312 and enable POSTFIX_USE_INET6taca2-25/+24
support with tls+ipv6-1.22-pf-2.0.19-20040312.patch.gz, too. 20040302 Bugfix: SMTPD proxy didn't send QUIT as the result of code duplication. Evidence reported by Mark Martinec. File: smtpd/smtpd.c. 20040311 Bugfix: bad address syntax caused map lookup with zero-length keys. Problem reported by Andrei Koulik. Files: util/match_ops.c, src/trivial-rewrite/transport.c.
2004-03-10Convert to use bdb.buildlink3.mk.jlam1-4/+4
2004-03-07Fixed CONFLICTSmartti1-2/+2
2004-03-07add CONFLICT on sendmail, which also installs bin/mailq andgrant1-1/+3
bin/newaliases.
2004-03-07fix typo in #!grant1-2/+2
2004-03-06resolve conflictsgrant12-0/+529
2004-03-06Initial import of postfix-current into The NetBSD Packages Collection.grant11-0/+275
This package is the snapshot from 20040209. Postfix aims to be an alternative to the widely-used sendmail program. Sendmail is responsible for 70% of all e-mail delivered on the Internet. With an estimated 100 million users, that's an estimated 10 billion (10^10) messages daily. A stunning number. Although IBM supported the Postfix development, it abstains from control over its evolution. The goal is to have Postfix installed on as many systems as possible. To this end, the software is given away with no strings attached to it, so that it can evolve with input from and under control by its users.
2001-03-20second attempt to nuke postfix-current (the files were copied to thehubertf9-543/+0
postfix pkg, per PR 12426.
2001-03-18pull postfix-users patch to correct sprious backslash.itojun4-7/+31
update IPv6 patch. fixes src/dst address family mismatch in src/smtp.
2001-03-12use the latest IPv6 patch. it will correct listening socket selectionitojun2-6/+6
on IPv4-only kernel (reported by kim@tac.nyc.ny.us).
2001-03-05Whitespace fix.wiz1-2/+2
2001-03-04Add an option to disable canonicalizing the envelope recipient. Thiskim2-4/+7
allows correct local delivery on multiple hosts while still canonicalizing visible and sender addresses. (This makes it possible to support vanity domains and "permanent address" services like iki.fi and pobox.com.)
2001-03-02use 2/28 official release and IPv6 patch.itojun3-12/+9
(mail/postfix should be overwritten) 20010225 Portability: master sigchld handler based on writing to a pipe, so that the master wakes up from select(). Based on code by Erik Forsberg, Linkoping University, Sweden. File: master/master_sig.c. Disabled until after the major release. Code cleanup: Postfix should now run with no alias database. Code cleanup: local_destination_recipient_limit and local_destination_concurrency_limit have become first-class configuration parameters. Files: global/mail_params.h, *qmgr/qmgr.c, postconf/postconf.c. 20010226 Documentation suggestions by Lars Hecking and Richard Huxton, Matthias Andree and many others. Code cleanup: some queue/transport operations need to be moved, after the code cleanup of the recipient/concurrency limit handling. Patrik Rak. Files: *qmgr/qmgr_message.c.
2001-02-28update IPv6 patch. corrects minor typos.itojun2-4/+4
2001-02-27update to 20010225 (release candiate) with latest IPv6 patch.itojun2-7/+7
--- changes (reverse order) 20010204 Laid the ground work for logging of table accesses. This will give more insight into how Postfix uses its lookup tables. User interface comes later. File: util/dict_debug.c. 20010216 Bugfix: the pipe delivery agent expanded $size as if it were a recipient, instead of expanding it as $nexthop or as $sender. Reported by Michael Tokarev. File: pipe/pipe.c. 20010221 Bugfix: poor LMTP performance for domains that are listed in $mydestination, because Postfix would send one recipient at a time, with multiple deliveries of recipients of the same message in parallel; a similar problem could exist with virus scanning and with firewall relay hosts that forward mail for $mydestination to an inside machine. This behavior is now changed to depend on the transport-specific xxx_destination_recipient_limit parameter. This also means that you can now get qmail behavior for SMTP deliveries by setting smtp_destination_recipient_limit=1. File: {qmgr,nqmgr}/qmgr_message.c. Workaround: Solaris socketpair() can fail with EINTR. Added a sane_socketpair.c module that joins the ranks of the other sane_whatever workarounds. Reported by Andrew McNamara. File: util/sane_socketpair.[hc] 20010222 Documentation: the default main.cf file has a prominent warning that mynetworks should be properly configured in order to reject unauthorized mail relay requests from strangers. Documentation: the INSTALL document, section "mandatory configuration file edits" has a section that explains that mynetworks should be properly configured in order to reject unauthorized mail relay requests from strangers. 20010223 Documentation: the basic.html document has a section that explains that mynetworks should be properly configured in order to reject unauthorized mail relay requests from strangers. Feature: new "mynetworks_style" parameter that controls how mynetworks (trusted networks) is derived from the inet_interfaces (machine interfaces) setting. Specify "class" for entire class A, B, C networks; "subnet" for the local subnets only; or "host" for maximal privacy. Files: util/inet_addr_local.[hc], global/own_inet_addr.[hc], global/mynetworks.[hc], postconf/postconf.c. Portability: MACOSX patches by Gerben Wierda. Portability: Solaris /dev/null is a symlink, which tripped up the code to safely open a file before local delivery. We now grudgingly allow symlinks owned by root. File: util/safe_open.c. 20010224 Bugfix: "postconf mynetworks" ignored the inet_interfaces setting. That was a very old one. File: postconf/postconf.c. INCOMPATIBLE CHANGE: POSTFIX NO LONGER RELAYS MAIL FOR CLIENTS IN THE ENTIRE CLASS A/B/C NETWORK. POSTFIX BY DEFAULT RELAYS MAIL FOR CLIENTS IN THE LOCAL SUBNETWORK. Specify "mynetworks_style = class" to get the old behavior. 20010225 Portability: master sigchld handler based on writing to a pipe, so that the master wakes up from select(). Based on code by Erik Forsberg, Linkoping University, Sweden. File: master/master_sig.c. Disabled until after the major release. Code cleanup: Postfix should now run with no alias database. Code cleanup: local_destination_recipient_limit and local_destination_concurrency_limit are not first-class configuration parameters. Files: global/mail_params.h, *qmgr/qmgr.c, postconf/postconf.c.
2001-02-25Cleanup MKDIR usage => INSTALL_*_DIRhubertf1-3/+3
XXX need to teach pkglint to be more picky about this
2001-02-17Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT.wiz2-2/+2
2001-02-05upgrade to snapshot 20010204. no changelog supplied, seems to be minor bugfix.itojun2-7/+7
2001-02-04upgrade to 20010202 (beta) with latest IPv6 patch.itojun5-23/+57
Major changes with snapshot-20010202 ==================================== The mailbox file size limits for the local and virtual delivery agents can be disabled by setting mailbox_size_limit and/or virtual_mailbox_limit to zero. Incompatible changes with snapshot-20010128 =========================================== If this release does not work for you, you can go back to a previous Postfix version without losing your mail, subject to the "incompatible changes" listed for previous Postfix releases below. REJECT in header/body_checks is now flagged as policy violation rather than bounce, for consistency in postmaster notifications. New mailbox size limit for local delivery (default: 50MBytes). This limit affects all file write access by the local delivery agent or by a process run by the local delivery agent. The purpose of this parameter is to act as a safety for run-away software. It cannot be a substitute for a file quota management system. The default RBL (real-time blackhole lists) domain examples have been updated from *.vix.com to *.mail-abuse.org. Major changes with snapshot-20010128 ==================================== Updated nqmgr (experimental queue manager with clever queueing strategy) by Patrik Rak. This code is still new. Once it stops changing (for a long time!) it will become part of the non-beta release. Virtual mailbox delivery agent by Andrew McNamara. This delivery agent can deliver mail for any number of domains. See the file VIRTUAL_README for detailed examples. This code is still new. Once it stops changing it will become part of the non-beta release. Many "valid_hostname" warnings were eliminated. The warnings that were not eliminated were replaced by something more informative. SASL support (RFC 2554) for the LMTP delivery agent. This is required by recent Cyrus implementations when delivering mail over TCP sockets. The LMTP_README file has been updated but still contains some obsolete information. Workarounds for non-standard RFC 2554 (AUTH command) implementations. Specify "broken_sasl_auth_clients = yes" to enable SMTP server support for old Microsoft client applications. The Postfix SMTP client supports non-standard RFC 2554 servers by default.
2001-01-17use more recent IPv6 patch. now the same binary should work onitojun2-4/+4
IPv4-only, IPv6-only and IPv4/v6 dual stack machines. (need more cleanups)
2001-01-13upgrade to 20001217 snapshot.itojun5-24/+36
Major changes with snapshot-20001217 ==================================== This release involves little change in functionality and a lot of small changes to lots of files. The code is put out as a separate snapshot release so that I have a tested baseline for further work. All time-related configuration parameters now accept a one-letter suffix to indicate the time unit (s: second, m: minute, h: hour, d: day, w: week). The exceptions are the LDAP and MYSQL modules which are maintained separately. The mysql client was partially rewritten in order to elimimate some memory allocation/deallocation problems. The code needs more work, and needs to be tested in a real production environment. The local_transport and default_transport configuration parameters can now be specified in transport:destination notation, just like the mailbox_transport and fallback_transport parameters. The :destination part is optional. However, these parameters take only one destination, unlike relayhost and fallback-relay which take any number of destinations. Incompatible changes with snapshot-20001210 =========================================== If this release does not work for you, you can go back to a previous Postfix version without losing your mail, subject to the "incompatible changes" listed for previous Postfix releases below. When delivering to /file/name (as directed in an alias or .forward file), the local delivery agent now logs a warning when it is unable to create a /file/name.lock file. Mail is still delivered as before. The "sun_mailtool_compatibility" feature is going away (a compatibility mode that turns off kernel locks on mailbox files). It still works, but a warning is logged. Instead of using "sun_mailtool_compatibility", specify the mailbox locking strategy as "mailbox_delivery_lock = dotlock". The Postfix SMTP client now skips SMTP server replies that do not start with "CODE SPACE" or with "CODE HYPHEN" and flags them as protocol errors. Older Postfix SMTP clients silently treated "CODE TEXT" as "CODE SPACE TEXT", i.e. as a valid SMTP reply. This snapshot does not yet change default relay settings. That change alone affects a dozen files, most of which documentation. This may be an incompatibility with some people's expectations, but such are my rules - between code freeze and release no major functionality changes are allowed. Several interfaces of libutil and libglobal routines have changed. This may break third-party code written for Postfix. In particular, the safe_open() routine has changed, the way the preferred locking method is specified in the sys_defs.h file, as well as all routines that perform file locking. When compiling third-party code written for Postfix, the incompatibilities will be detected by the compiler provided that #include file dependencies are properly maintained. Major changes with snapshot-20001210 ==================================== This snapshot includes bugfixes that were already released as patches 12 and 13 for the 19991231 "stable" release: - The queue manager could deadlock for 10 seconds when bouncing mail under extreme load from one-to-one mass mailings. - Local delivery performance was substandard, because the per-user concurrency limit accidentally applied to the entire local domain. The mailbox locking style is now fully configurable at runtime. The new configuration parameter is called "mailbox_delivery_lock". Depending on the operating system type, mailboxes can be locked with one or more of "flock", "fcntl" or "dotlock". The command "postconf -l" shows the available locking styles. The default mailbox locking style is system dependent. This change affects all mailbox and all "/file/name" deliveries by the Postfix local delivery agent. The new "import_environment" and "export_environment" configuration parameters now provide explicit control over what environment variables Postfix will import, and what environment variables Postfix will pass on to a non-Postfix process. This is better than hard-coding my debugging environment into public releases. The "mailbox_transport" and "fallback_transport" parameters now understand the form "transport:nexthop", with suitable defaults when either transport or nexthop are omitted, just like in the Postfix transport map. This allows you to specify for example, "mailbox_transport = lmtp:unix:/file/name". The MYSQL client now supports server connections over UNIX-domain sockets. Code provided by Piotr Klaban. See the file MYSQL_README for examples of "host" syntax.