Commit Graph

1988 Commits

Author SHA1 Message Date
christos 1dbc939feb setuserenv -> setuserenviron 2005-12-20 22:54:44 +00:00
rpaulo c03852f5b9 Merge postfix-2.2.6. 2005-12-01 21:56:55 +00:00
rpaulo dcd561871d Import postfix-2.2.6.
Changelog for 2.2.5 -> 2.2.6:

20050806

Workaround: accept(2) fails with EPROTO when the client
already disconnected (SunOS 5.5.1). File: sane_accept.c.

20050815

Workaround: old Solaris compilers can't link an archive
without globally visible symbols. File: tls/tls_misc.c.

20050922

Bugfix: the *SQL clients did not uniformly choose the
database host from the available pool of servers due to an
off-by-one error, so that the "last" available server was
not selected. Leandro Santi. Files: dict_mysql.c, dict_pgsql.c.

20050929

Paranoia: don't ignore garbage in SMTP or LMTP server replies
when ESMTP command pipelining is turned on. For example,
after sending ".<CR><LF>QUIT<CR><LF>", Postfix could recognize
the server's 2XX QUIT reply as a 2XX END-OF-DATA reply after
garbage, causing mail to be lost. The SMTP and LMTP clients
now report a remote protocol error and defer delivery.
Files: smtp/smtp_chat.c, smtp/smtp_trouble.c, lmtp/lmtp_chat.c,
lmtp/lmtp_trouble.c.

20051011

Bugfix: raise the "policy violation" flag when a client
request exceeds a concurrency or rate limit.  File:
smtpd/smtpd.c.

Bugfix (cut-and-paste error): don't reply with 421 (too
many MAIL FROM or RCPT TO commands) when we aren't closing
the connection.  File: smtpd/smtpd.c.

20051013

Bugfix: don't do smtpd_end_of_data_restrictions after the
transaction failed due to, e.g., a write error.  File:
smtpd/smtpd.c.

Cleanup: the SMTP server now enforces the message_size_limit
even when the client did not send SIZE information with the
MAIL FROM command.  This protects before-queue content
filters against over-size messages.  File: smtpd/smtpd.c.

20051105

Workaround: the next-hop logical destination information
for connection caching was reset only after a good non-TLS
connection, so that cached connections to non-TLS backup
servers could suck away traffic from TLS primary servers
(the Postfix SMTP client cannot cache an open TLS connection).
Found during code review. Fixing this requires more change
than is allowed in a stable release.  File: smtp/smtp_connect.c.

20051108

Bugfix: two messages could get the same message ID due to
a race condition. This time window was increased when queue
file creation was postponed from MAIL FROM until the first
accepted RCPT TO.  The window is closed again. Found by
Victor. Files: global/mail_stream.c, global/mail_queue.c,
cleanup/cleanup_message.c. This code is back-ported from
the Postfix 2.3 snapshot release.

20051119

Bugfix: the queue manager did not write a per-recipient
defer logfile record when the delivery agent crashed after
the initial handshake with the queue manager, and before
reporting the delivery status to the queue manager.  Files:
*qmgr/qmgr_deliver.c.

20051126

Log warning when REDIRECT, FILTER, HOLD and DISCARD are
used in smtpd_etrn_restrictions. File: smtpd/smtpd_check.c.

20051128

Bugfix: moved code around from one place to another to make
REDIRECT, FILTER, HOLD and DISCARD access(5) table actions
work in smtpd_end_of_data_restrictions.  PREPEND will not
be fixed; it must be specified before the message content
is received.  Files: smtpd/smtpd.c, smtpd/smtpd_check.c,
cleanup/cleanup_extracted.c, pickup/pickup.c.
2005-12-01 21:46:55 +00:00
rpaulo bb277950a4 Import postfix-2.2.6.
Changelog for 2.2.5 -> 2.2.6:

20050806

Workaround: accept(2) fails with EPROTO when the client
already disconnected (SunOS 5.5.1). File: sane_accept.c.

20050815

Workaround: old Solaris compilers can't link an archive
without globally visible symbols. File: tls/tls_misc.c.

20050922

Bugfix: the *SQL clients did not uniformly choose the
database host from the available pool of servers due to an
off-by-one error, so that the "last" available server was
not selected. Leandro Santi. Files: dict_mysql.c, dict_pgsql.c.

20050929

Paranoia: don't ignore garbage in SMTP or LMTP server replies
when ESMTP command pipelining is turned on. For example,
after sending ".<CR><LF>QUIT<CR><LF>", Postfix could recognize
the server's 2XX QUIT reply as a 2XX END-OF-DATA reply after
garbage, causing mail to be lost. The SMTP and LMTP clients
now report a remote protocol error and defer delivery.
Files: smtp/smtp_chat.c, smtp/smtp_trouble.c, lmtp/lmtp_chat.c,
lmtp/lmtp_trouble.c.

20051011

Bugfix: raise the "policy violation" flag when a client
request exceeds a concurrency or rate limit.  File:
smtpd/smtpd.c.

Bugfix (cut-and-paste error): don't reply with 421 (too
many MAIL FROM or RCPT TO commands) when we aren't closing
the connection.  File: smtpd/smtpd.c.

20051013

Bugfix: don't do smtpd_end_of_data_restrictions after the
transaction failed due to, e.g., a write error.  File:
smtpd/smtpd.c.

Cleanup: the SMTP server now enforces the message_size_limit
even when the client did not send SIZE information with the
MAIL FROM command.  This protects before-queue content
filters against over-size messages.  File: smtpd/smtpd.c.

20051105

Workaround: the next-hop logical destination information
for connection caching was reset only after a good non-TLS
connection, so that cached connections to non-TLS backup
servers could suck away traffic from TLS primary servers
(the Postfix SMTP client cannot cache an open TLS connection).
Found during code review. Fixing this requires more change
than is allowed in a stable release.  File: smtp/smtp_connect.c.

20051108

Bugfix: two messages could get the same message ID due to
a race condition. This time window was increased when queue
file creation was postponed from MAIL FROM until the first
accepted RCPT TO.  The window is closed again. Found by
Victor. Files: global/mail_stream.c, global/mail_queue.c,
cleanup/cleanup_message.c. This code is back-ported from
the Postfix 2.3 snapshot release.

20051119

Bugfix: the queue manager did not write a per-recipient
defer logfile record when the delivery agent crashed after
the initial handshake with the queue manager, and before
reporting the delivery status to the queue manager.  Files:
*qmgr/qmgr_deliver.c.

20051126

Log warning when REDIRECT, FILTER, HOLD and DISCARD are
used in smtpd_etrn_restrictions. File: smtpd/smtpd_check.c.

20051128

Bugfix: moved code around from one place to another to make
REDIRECT, FILTER, HOLD and DISCARD access(5) table actions
work in smtpd_end_of_data_restrictions.  PREPEND will not
be fixed; it must be specified before the message content
is received.  Files: smtpd/smtpd.c, smtpd/smtpd_check.c,
cleanup/cleanup_extracted.c, pickup/pickup.c.
2005-12-01 21:36:22 +00:00
skrll 77d152992d Really resolve a conflict. 2005-11-29 15:31:41 +00:00
martin eaaec6f3bf As Richard Earnshaw put it: "with_cpu is a property of the target."
Reset it to the default (command line dependend) before each turn
of "config.gcc", so each invocation gets a clean state and only the
changes from the last round persist.

This fixes the build of a sparc toolchain on a sparc64 host.
2005-11-18 08:57:04 +00:00
dsl b9a6294f9c When compiling with -Os put all strings into .rodata.str1.1 (ie byte aligned)
rather than putting those longer than 30 chars into .rodata.str1.32.
Apparantly gcc 3.4.4 has this change...
In spite of everything being compressed, this saves over 13k in the boot
floppies.
2005-11-05 18:29:53 +00:00
martin b09509e102 Switch gcc's default for sparc64 from cpu=v9 to cpu=ultrasparc. 2005-10-29 16:40:24 +00:00
rpaulo 237b18c7d5 Revert back to previous version and wait for the next groff import.
Discussed with Thomas Klausner.
2005-09-05 11:42:40 +00:00
rpaulo 9dd9c0444a Add FreeBSD 4.11 and 5.4. 2005-09-01 18:39:08 +00:00
tron 251c50b7b1 Fix vulnerability reported in SA16553 using the Red Hat patch. 2005-08-25 10:00:01 +00:00
rpaulo 5004b6fbea Added an OpenSSL version number check so that we pass the second argument to
d2i_SSL_SESSION() correctly.
From postfix-2.3-20050726.
Suggested by Wietse Venema in private email.
2005-08-18 22:29:08 +00:00
rpaulo 820935b3e1 Resolve conflicts. 2005-08-18 22:06:28 +00:00
rpaulo b4754a63ed Resolve conflicts. 2005-08-18 21:58:59 +00:00
rpaulo 3aaaf2cd89 Resolve conflicts. 2005-08-18 21:46:19 +00:00
rpaulo a5c1167790 Resolve conflicts. 2005-08-18 21:33:04 +00:00
rpaulo 259d7fd128 Import Postfix-2.2.5. 2005-08-18 21:07:25 +00:00
rpaulo f55b2b19ea Import Postfix-2.2.5. 2005-08-18 21:00:20 +00:00
rpaulo 802682af7a Improved wording and removed double whitespaces. 2005-08-18 12:25:56 +00:00
skrll 784c9344e8 Initial pass at an in-tree ia64 toolchain. From PR 29141 with some fixes
from me.
2005-08-17 07:13:32 +00:00
nathanw 55bd561796 nbsd_thread_resume(): make sure that we've been passed a thread ID in
ptid before invoking the suspend-all-but-this-thread logic. Otherwise,
when passed an LWP (as a result of 1.15 making LWPs the primary
identifier of live execution contexts), we try to suspend everything,
which goes poorly.
2005-08-16 22:07:12 +00:00
peter a9b411c198 Change all .Xr config 8 to .Xr config 1, following the recent move of
config from usr.sbin -> usr.bin.

Reviewed by wiz.
2005-06-20 13:25:23 +00:00
tron e1ec153e47 Backout the last two revisions. These changes should have been applied to
"src/gnu/usr.bin/groff/tmac/mdoc.local". Pointed out by wizd(8) in
private e-mail.
2005-06-02 15:44:20 +00:00
tron 87269b5e72 Add NetBSD 4.0. 2005-06-02 15:26:43 +00:00
thorpej c3fe994ea5 Disable the man subdirs. We don't need them for tree builds, and they
can break the tools builds due to timestamp issues.  Discussed with Luke
Mewburn.
2005-05-30 01:32:44 +00:00
agc b67ff462a3 Now that rl_callback_handler_install's argument has been fixed to conform
to the readline interface, no need to cast it erroneously for libedit.
2005-05-27 15:34:16 +00:00
skrll 313049f061 Allow AS and OBJDUMP to override the detected assembler and objdump. 2005-05-20 07:08:07 +00:00
christos 25a293877a Don't be pedantic about requiring things to be ordinary files. Handle
character special devices specially so that eg. nm /dev/ksyms works.
2005-05-16 03:24:44 +00:00
thorpej a790d15184 Resolve some more conflicts. 2005-05-16 02:11:04 +00:00
christos b290747a50 Fix the second place where the CHAR_MIN test was used. 2005-05-02 03:54:24 +00:00
christos 0534825a44 Simplify the previous patch. 2005-05-02 00:45:08 +00:00
riz e09f32d58e Only test if a char is >= 0x00 when CHAR_MIN is < 0, so gcc doesn't
warn about the comparison always being true.  Fixes build for macppc
target.

Problem noted by me, analysis and fix from Thomas Klausner.

Approved by wiz.
2005-05-01 16:21:07 +00:00
christos 593f2057dc Avoid compiler bug on 64 bit machines. 2005-04-29 16:00:31 +00:00
christos e43cef87fc Merge conflicts. 2005-04-29 15:20:13 +00:00
christos e770a46755 ftp ftp.gnu.org 2005-04-29 15:05:03 +00:00
christos dbabf825dd ftp ftp.gnu.org 2005-04-29 15:04:32 +00:00
christos 7a27fa0d62 ftp ftp.gnu.org 2005-04-29 14:59:33 +00:00
christos 7f4e062672 ftp ftp.gnu.org 2005-04-29 14:59:31 +00:00
christos bc40814d02 ftp ftp.gnu.org 2005-04-29 14:56:20 +00:00
christos 593f5627da Speed this up by doing all the keywords in one pass. Also do all the keywords. 2005-04-29 14:53:35 +00:00
christos fab093cf4d Apply patch from the RedHat CVS tree. Avoids issue with -O3 using the
wrong registers with some opcodes, the error is:
Error: Illegal operands: There are only 32 single precision f registers; [0-31]
And the code to cause this is:
	return (cond) ? x : -x;
where x is double.
2005-04-24 23:53:18 +00:00
christos 8897ef5e14 resolve conflicts. 2005-04-20 01:52:11 +00:00
christos 7d77e6d05c Import 1.11.20 from ccvs.cvshome.org 2005-04-20 01:41:28 +00:00
christos 5f983b5879 Add two new config keywords:
AdminGroup
    AdminOptions
that control who has the right to run cvs admin and cvs init.
For fine control over cvs commands, AdminOptions can be used.
I suggest AdminOptions=kmIqc
2005-04-02 03:03:23 +00:00
christos fa7decee11 - Add a new CVS_ADMIN_LIMITED compile option, that only allows ``safe''
cvs admin commands.
- Add a new history record 'X', to record cvs admin commands.

All this is experimental, but tested.
2005-04-01 22:40:31 +00:00
christos 7174de81d3 PR/29832: J.T. Conklin: libstdc++ missing std::wstring support
This wonderful patch together with yesterdays wcsftime addition, makes
us able to use wide strings in c++
2005-03-30 19:17:45 +00:00
tron 9a46440fea Add NetBSD 2.0.1 and 2.0.2. 2005-03-16 12:33:16 +00:00
tron 20c2561df4 Backout last change to avoid import problems. 2005-03-16 12:32:20 +00:00
tron 28d449bf24 Add NetBSD 2.0.1 and 2.0.2. 2005-03-16 12:27:57 +00:00
atatat bf9c8c87f6 resolve conflicts, pull 8.13.3 to head, make it build 2005-03-15 02:14:15 +00:00