Commit graph

94 commits

Author SHA1 Message Date
taca
3de0ba1c05 Depends on cyrus-sasl with its version.
(Postfix's document claims it works with cyrus-sasl 1.5.5 at least.)
2002-09-11 15:50:58 +00:00
martti
4afdc0d176 Added support for TLS. To use this, set POSTFIX_USE_TLS=YES
in /etc/mk.conf. To verify the TLS support, type

# /usr/pkg/sbin/postconf | grep tls

Submitted by Dawid Szymanski in pkg/17570.
2002-07-22 10:39:26 +00:00
itojun
45e69da140 parse T_AAAA responses. patch sent to wietse. 2002-07-17 22:34:45 +00:00
hubertf
578ea8aab6 Make fils recognize compile options (POSTFIX_USE_MYSQL, ...)
Fixes PR 17465 by Dawid Szymanski <dawszy@tgr.lubin.edu.pl>
2002-07-03 11:11:12 +00:00
itojun
f9f8952717 accept emails with domains with AAAA only.
the patch was sent to wietse already.
2002-06-27 04:47:54 +00:00
seb
db84442a67 Substitute a couple of mkdir' by ${MKDIR}'.
Remove `-p' from mkdir arguments, it is already part of ${MKDIR}.
While here substitute a couple of ${PREFIX} by `%D' in
`@exec ${MKDIR} ...' lines and add a couple of missing `%D' in such lines too!
2002-06-26 10:29:33 +00:00
tron
c04594fb0b Honor "${CC}" and "${CFLAGS}" during build. This fixes PR pkg/17052
by Mipam.
2002-06-17 19:42:08 +00:00
martti
3c131edb26 Updated postfix to 1.1.11
* Cleanup: Mailbox-Line: message header labels should be X-Mailbox-Line: labels
* The SMTP server now disallows RCPT TO:<"">, just like it disallows RCPT TO:<>
* Replace domain.name by domain.tld in the example config files
* The Postfix sendmail command did not export the MAIL_CONFIG environment
  setting to the postdrop command
2002-06-06 13:48:32 +00:00
martti
4357c2d59a Updated postfix to 1.1.10 (released 2002-05-14)
- Bugfix: the new code for header address quoting sometimes did
  not null terminate strings so that arbitrary garbage could appear
  at the end of message headers.

- Safety: user@domain@domain is no longer accepted by the
  permit_mx_backup UCE restriction (unless Postfix is configured
  with "resolve_dequoted_address = no").
2002-05-15 07:09:23 +00:00
martti
73ac093dba Updated postfix to 1.1.9
* add a MESSAGE file to describe how to activate postfix (pkg/13335)

Changes:
* Close user@domain@postfix-style.virtual.domain source routing relaying
  loophole involving postfix-style virtual domains with @virtual.domain
  catch-all patterns
* mail_addr_map() used the "wrong" @ character in addresses with multiple @.
* For address localpart quoting, now quote @ as a special character
  everywhere, except when resolving addresses. Previously, the @ was nowhere
  quoted as a special character, not even in SMTP commands.
* Don't allow an OK access rule lookup result for
  user@domain@postfix-style.virtual.domain.
* Quote unquoted address localparts that need quoting.
* The SMTP client logged and bounced the CNAME expanded recipient address,
  and thereby complicated trouble shooting.
* The SMTP and LMTP clients bounced the quoted recipient address, resulting
  in too much quoting in bounce reports.
* The LDAP client used the "wrong" @ character in addresses with multiple @.
* Forwards "postqueue -r" compatibility with the additional queue file
  records that are stored by snapshot 20050512.
* Specify "resolve_dequoted_address = no" to prevent Postfix from looking
  inside quotes for extra @ etc. characters when resolving an address.
  This behavior is technically more correct, but it opens a mail relay
  loophole with "user @domain"@domain when relaying mail to a Sendmail system.
2002-05-14 06:57:23 +00:00
martti
03aec83642 Updated postfix to 1.1.8
- Postfix no longer attempts to build with GDBM support
- The Postfix SMTP client forgot to quote whitespace etc. in a
  sender or recipient address when DNS lookup was turned off
- Better error reporting in the postqueue command
2002-05-05 14:46:27 +00:00
martti
3d2834ee0a Updated postfix to 1.1.7
- Violation of the defer_transports setting: the flush server could
  trigger mail delivery (as if ETRN was sent) while doing some internal
  housekeeping of per-destination logfiles.

- Virtual mapping was broken for addresses with embedded whitespace
  in the recipient local part.

- When the super-user runs "mailq" or "postqueue -p" (list mail
  queue) while the mail system is down, the postqueue command runs
  the showq command directly.  However, postqueue did not pass on
  non-default configuration directory settings to the showq command,
  so that showq would report the default mail queue instead.
2002-04-02 09:34:40 +00:00
martti
8f6f9401cb Use maildrop as the default gid. PR#16034 2002-03-27 13:10:18 +00:00
martti
9c7d8f8a77 Updated postfix to 1.1.6
- The new code avoids problems with SMTP servers that will not
  receive mail with lines longer than the 1000 characters that are
  allowed by the SMTP standard.

- The new code is more graceful in the handling of abnormally long
  message headers. It will no longer switch from "message header"
  to "message body" mode in the middle of an abnormally long message
  header line.
2002-03-27 07:17:09 +00:00
deberg
9e7d558594 solaris install can only create one directory at a time 2002-03-24 22:17:22 +00:00
martti
c84a306e21 Added optional support for MySQL. To use this, set POSTFIX_USE_MYSQL=YES
in /etc/mk.conf. To verify the MySQL support, type

# /usr/pkg/sbin/postconf -m
mysql

Submitted by Dawid Szymañski in a private mail.
2002-03-22 09:01:10 +00:00
martti
e3eb9491e5 Fixed path to the postfix's sendmail program. Noted by mipam in
a private mail.
2002-03-19 08:24:01 +00:00
martti
1fee5de5ba * Install main.cf and master.cf to /etc/postfix if they don't exist
* Fixed some hardcoded paths (should fix pkg/13987)
2002-03-16 18:06:39 +00:00
martti
5bdb9e242c Updated postfix to 1.1.5
- With patch 04, automatic change detection of DBM files was slightly
  broken (incremental updates would no longer be detected).  The
  fix is to use separate file handles for locking and for change
  detection.

- The trivial-rewrite server could dereference a dangling pointer
  after stripping a source route (@domain,domain:) from an address
  while append_at_myorigin=no. Although this setting is unsupported,
  Postfix should not SIGSEGV anyway.

- The SMTP server replied with 552 (too much mail) when rejecting
  mail content. The SMTP standard defines no reply code for this
  situation, but one could argue that 550 is more appropriate. And
  so it shall be.
2002-03-13 08:10:09 +00:00
martti
b8eca9d37d Updated postfix to 1.1.4
Major changes with release-20010228
===================================

Postfix produces DSN formatted bounced/delayed mail notifications.
The human-readable text still exists, so that users will not have
to be unnecessarily confused by all the ugliness of RFC 1894.  Full
DSN support will be later.

This release introduces full content filtering through an external
process. This involves an incompatible change in queue file format.
Mail is delivered to content filtering software via an existing
mail delivery agent, and is re-injected into Postfix via an existing
mail submission agent.  See examples in the FILTER_README file.
Depending on how the filter is implemented, you can expect to lose
a factor of 2 to 4 in delivery performance of SMTP transit mail,
more if the content filtering software needs lots of CPU or memory.

Specify "body_checks = regexp:/etc/postfix/body_checks" for a quick
and dirty emergency content filter that looks at non-header lines
one line at a time (including MIME headers inside the message body).
Details in conf/sample-filter.cf.

The header_checks and body_checks features can be used to strip
out unwanted data. Specify IGNORE on the right-hand side and the
data will disappear from the mail.

Support for SASL (RFC 2554) authentication in the SMTP server and
in the SMTP and LMTP clients. See the SASL_README file for more
details. This file still needs better examples.

Postfix now ships with an LMTP delivery agent that can deliver over
local/remote TCP sockets and over local UNIX-domain sockets.  The
LMTP_README file gives example, but still needs to be revised.

Fast "ETRN" and "sendmail -qR".  Postfix maintains per-destination
logfiles with information about what mail is queued for selected
destinations.  See the file ETRN_README for details.

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.
2002-03-06 15:07:54 +00:00
skrll
08bdd44549 mkdir -> ${MKDIR}
rmdir -> ${RMDIR}
rm -> ${RM} (${RM} added to PLIST_SUBST)
chmod -> ${CHMOD}
chown -> ${CHOWN}
2002-02-15 10:12:28 +00:00
jlam
2b3975b2e8 Deprecate POSTFIX_USE_SASL_AUTH in favor of more generic USE_SASL. 2002-01-31 21:18:37 +00:00
agc
57aa4707d7 s/root/${ROOT_USER}/g, now that the definition appears in the
defs.${OPSYS}.mk files.
2001-12-05 15:00:44 +00:00
kent
b36ecf2fc7 Remove definitions of POSTFIX_USE_PCRE and POSTFIX_USE_SASL_AUTH, which
I forgot to remove them before the previous committing ;-)
2001-12-03 05:36:47 +00:00
kent
63107079bc Add optional SMTP authentication support with cyrus-sasl.
It is enabled by POSTFIX_USE_SASL_AUTH.
2001-12-03 04:47:41 +00:00
martti
fcb4e25c34 Added the checksum for the IPv6 patch (POSTFIX_USE_INET6=YES) 2001-12-01 12:40:51 +00:00
martti
c9e60cc5f5 Enable IPv6 support again, this time as an optional feature. Set
POSTFIX_USE_INET6=YES in /etc/mk.conf to activate the IPv6 support.

Please note that this IPv6 patch is NOT fully tested and has some known
security issues!
2001-12-01 12:30:31 +00:00
martti
e93f2066fb * Use ${MAKE_ENV} in do-configure. Without this small fix I wasn't able to
use PCRE with postfix.

* Move BUILD_DEFS+=POSTFIX_USE_PCRE inside ".if defined(POSTFIX_USE_PCRE)"
2001-12-01 12:24:23 +00:00
martti
a7475b2fb0 Changed POSTFIX_PCRE to POSTFIX_USE_PCRE 2001-11-30 10:26:55 +00:00
kent
489857ae2c Correct configuration for pcre. 2001-11-26 05:35:38 +00:00
martti
8438c32fbc Updated to 20010228pl8. Changes since 20010228pl4nb1:
20010917

        Bugfix: an address extension could be appended multiple
        times to the result of a canonical or virtual map lookup.
        File: global/mail_addr_map.c.  Fix by Victor Duchovni,
        Morgan Stanley.

        Bugfix: because split_addr() would split an address even
        when there was no data before the recipient delimiter, the
        above bug could cause an address to grow exponentially in
        size.  Problem reported by Victor Duchovni, Morgan Stanley.
        File:  global/split_addr.c.

20010918

        Bugfix: the mail_addr_map() fix was almost but not quite
        right. It took two clever people and several iterations of
        email to really fix the mail_addr_map() problem.  Thanks
        to Victor Duchovni and Liviu Daia.

20011016

        Bugfix: As of 20000625, Errors-To: was broken, because the
        code to extract the address was not moved from recipient
        address rewriting to sender address rewriting. Problem
        reported by Roelof Osinga @ nisser.com. File:
        cleanup/cleanup_message.c.

20011023

        Bugfix: the FILTER_README content filtering example had
        not been updated to include the sendmail "-i" command line
        option.

20011029

        Bugfix: virtual map expansion terminated early because the
        detection of self-referential entries was flawed.  File:
        cleanup/cleanup_map1n.c.

20011031

        Bugfix: mail_date() mis-formatted negative time zone offsets
        with fractional hours (-03-30 instead of -0330). Fix by
        Chad House, greyfirst.ca. File: global/mail_date.c.

20011103

        Bugfix: Postfix would log the wrong error text when locally
        submitted mail was deferred due to "soft_bounce = yes".

        Bugfix: The LDAP client dropped any entries that don't have
        the result_attribute, but errored out when a DN didn't
        exist.  The behavior is now consistent: treat non-existant
        DN's in a special result attribute expansion the same as
        DN's with no attribute.  LaMont Jones, HP.

20011114

        Bugfix: reset the smtpd command transaction log between
        deliveries. File: smtpd/smtpd.c.

20011115

        Bugfix: reset the smtpd command transaction log between
        non-deliveries. File: smtpd/smtpd.c.
2001-11-22 11:43:07 +00:00
itojun
67551d5f58 remove IPv6 patch for safety.
it seems that IPv6 patch has bad sideeffect on relaying determination.
2001-11-12 05:07:19 +00:00
zuntum
c72c1cf5f9 Move pkg/ files into package's toplevel directory 2001-11-01 00:57:41 +00:00
wiz
98969743f7 Wildcard dependency on pcre. Addresses pkg/13754. 2001-08-19 17:59:28 +00:00
itojun
b4d2adac5f upgrade to 20010228-pl04. changes can be found below:
ftp://ftp.yoyo.org/pub/mirrors/postfix/official/postfix-20010228-pl04.RELEASE_NOTES
2001-08-09 08:14:12 +00:00
itojun
f9c8a68888 upgrade to postfix-20010228-pl03.
changes since pl02:

20010501

	Bugfix: The SMTP server's 550 in reply to DATA should be
	a 554 response.  And it wasn't Sendmail. Claus Assman.

	Bugfix: the INSTALL.sh test for non-interactive upgrade
	broke rooted installations that specify settings via the
	environment.  Simon Mudd.

	Bugfix: mailq output is now really flushed one message at
	a time. File: sendmail/sendmail.c.

20010507

	Bugfix: with soft_bounce=yes, the SMTP server would log
	5xx replies even though it would send 4xx replies to the
	client (Phil Howard, ipal.net). File: smtpd/smtpd_check.c.

20010523

	Bugfix: postsuper's temporary file detection logic needed
	fixing.

	Bugfix: memory leak in the LDAP client module. Alain
	Thivillon, France Teaser - Groupe Firstream.

20010525

	Bugfix: the SMTP and LMTP clients claimed that a queue file
	needed to be delivered again (even when all recipients were
	erased from the queue file) when no QUIT or RSET reply was
	received (by default, this does not happen with SMTP mail
	because the SMTP client does not wait for QUIT replies and
	does not send RSET to deliver mail).  As a result of the
	same bug the LMTP client followed a dangling pointer when
	sending QUIT after process idle timeout while the LMTP
	server had disconnected.  Files:  smtp/smtp_proto.c,
	lmtp/lmtp_proto.c.
2001-06-07 09:23:20 +00:00
itojun
24faa299bf upgrade ipv6 patch. more fix for reverse lookup (!INET6 case) 2001-05-15 01:33:35 +00:00
itojun
cc91ef8bac use latest IPv6 patch. corrects !INET6 behavior (NetBSD PR 12876). 2001-05-14 17:38:02 +00:00
itojun
f4c99f578c use postfix 20010228-pl02 from wietse.
20010403

	Workaround: the mysql library can return null pointers
	rather than zero-length strings.

20010404

	Ergonomics: log additional information about the reason
	why "mail for XXX loops back to myself", when the local
	machine is the best MX host. File: smtp/smtp_addr.c.

20010406

	Changed some noisy LDAP client warnings into optional
	logging. LaMont Jones, util/dict_ldap.c.

20010411

	Bugfix: the SMTP server now replies with 550 instead of
	503 when it receives the DATA command without having received
	a valid recipient address. This is needed for the Sendmail
	client-side pipelining implementation. Problem reported by
	Lutz Jaenicke. File: smtpd/smtpd.c.

	Cleanup: shut up if chattr fails on Reiserfs and other file
	systems that do not support the respective attributes.
	Files: conf/postfix-script-{no,}sgid.

20010413

	Ergonomics: Postfix applications now warn when a DB or DBM
	file is out of date, and recommend to rebuild the table.
	Files: util/dict_db.c, util/dict_dbm.c.

20010414

	Bugfix: with a non-default inet_interfaces setting, the
	master ignored host information in master.cf host:port
	settings.  Fix by Jun-ichiro itojun Hagino @ iijlab.net.
	Files: master/master.h, master/master_ent.c.

20010426

	Bugfix: the SMTP server did not parse invalid MAIL FROM or
	RCPT TO addresses such as <first last <user@domain>> the
	way it was supposed to do.  I thought this was taken care
	of years ago. File:  smtpd/smtpd.c.

20010427

	Bugfix: smtpd would reject mail instead of replying with
	a 4xx temporary error code when, for example, an LDAP or
	mysql server was unavailable. Remotely based on a fix by
	Robert Kiessling @ de.easynet.net. File: smtpd/smtpd_check.c.
2001-05-03 00:24:12 +00:00
itojun
a5a021b36d upgrade IPv6 patch (not really IPv6 problem, but a problem in patch to
fix bug in original that is tickled by IPv6).  avoid SEGV on reload.
2001-04-24 00:52:13 +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
itojun
e1745c8081 upgrade IPv6 patch. correct kame stack determination. from hubert 2001-04-14 15:20:29 +00:00
hubertf
5e4c0577ba fix pkgname to be legal - postfix-20010228-pl1 is *not*
Remember: NO '-' IN PKG VERSION!
2001-04-11 21:15:47 +00:00
wiz
18097323ee Remove unneeded '-' before ${MKDIR} or ${INSTALL_DATA_DIR} 2001-04-09 11:45:33 +00:00
itojun
3a7f9f5237 use latest IPv6 patch. (1) issue with host:port syntax in master.cf
(original bug, tickled by IPv6 support)  (2) use RBL check only for IPv4 addrs
2001-04-08 10:53:25 +00:00
itojun
b45a74e171 upgrade to 20010228-pl01.
20010313

	Bugfix: the RFC 822 untokenizer quoted newlines inside
	comments. File: global/tok822_parse.c.

20010316

	Cleanup: removed an extraneous warning when a queue file
	write error happened.

20010321

	Workaround: LMTP connection caching never worked for
	destinations starting with unix: or inet:. File:
	lmtp/lmtp_connect.c.

20010322

	Portability: Solaris <2.6 does not have srandom() and
	random() in libc. File: util/rand_sleep.c. It does not have
	to be cryptographically strong.

	Bugfix: the fast ETRN flush server could not handle [ipaddr]
	or domain names with one-character hostname part.  This
	fix changes the destination to logfile name mapping, so
	that you need to populate the new files with "sendmail -q".
	The old files go away automatically. File:  flush/flush.c.

20010327

	Speed up mailq (sendmail -bp) display by flushing output
	after each file.  File: showq/showq.c.

	Portability: missing string.h includes, %p wants (void *),
	Lamont Jones, HP.

20010328

	Bugfix: swapped logic caused cleanup to stall when the
	queue file size exceeded the file size limit by less than
	one the VSTREAM buffer size, so that the "file too big"
	was detected after flushing the last queue file record.
	File: cleanup/cleanup.c.

20010329

	Portability: workaround for missing prototype problem in
	dict_ldap.c. This module should move to the global directory,
	because it depends on Postfix main.cf parameter information.
2001-04-02 10:48:58 +00:00
itojun
6face28a65 pull latest IPv6 patch. corrects source address selection on outgoing,
if config has "inet_interfaces=127.0.0.1".  reported by thorpej.
2001-03-23 06:46:09 +00:00
hubertf
b480c377a2 resurrect, after nuking the right files in the wrong dir. 2001-03-20 13:02:04 +00:00
hubertf
a333ea118a replaced by postfix pkg 2001-03-20 12:54:29 +00:00