mirror of
https://github.com/vdukhovni/postfix
synced 2025-08-30 13:48:06 +00:00
postfix-2.4-20070201
This commit is contained in:
committed by
Viktor Dukhovni
parent
adb3660497
commit
1e4c726e72
@@ -13166,6 +13166,19 @@ Apologies for any names omitted.
|
|||||||
minor updates: global/dict_ldap.c, mantools/postlink,
|
minor updates: global/dict_ldap.c, mantools/postlink,
|
||||||
tlsmgs/tlsmgr.c, conf/master.cf. LaMont Jones.
|
tlsmgs/tlsmgr.c, conf/master.cf. LaMont Jones.
|
||||||
|
|
||||||
|
20070101
|
||||||
|
|
||||||
|
Portability: GNU Hurd support for multiple kernel environments.
|
||||||
|
LaMont Jones. Files: util/sys_defs.h, makedefs.
|
||||||
|
|
||||||
|
Cleanup: some default settings were adjusted to better fit
|
||||||
|
today's environment: queue_run_delay and minimal_backoff_time
|
||||||
|
were reduced from 1000s to 300s, so that deliveries are
|
||||||
|
retried earlier after the first failure; ipc_idle was reduced
|
||||||
|
from 100s to 5s, so that tlsmgr and scache clients will
|
||||||
|
more quickly release unused file handles. Files:
|
||||||
|
global/mail_params.h, proto/postconf.5.html
|
||||||
|
|
||||||
Wish list:
|
Wish list:
|
||||||
|
|
||||||
Update message content length when adding/removing headers.
|
Update message content length when adding/removing headers.
|
||||||
@@ -13186,8 +13199,9 @@ Wish list:
|
|||||||
Make postmap header/body aware so people can test multi-line
|
Make postmap header/body aware so people can test multi-line
|
||||||
header checks.
|
header checks.
|
||||||
|
|
||||||
Investigate if clients of single-instance servers such as
|
Eliminate Linux 1024 select() file handle bottleneck and
|
||||||
tlsmgr, verify, can close sockets earlier.
|
eliminate select()/poll() scaling problems by implementing
|
||||||
|
kqueue(2) and epoll(2) support.
|
||||||
|
|
||||||
REDIRECT should override original recipient info, and
|
REDIRECT should override original recipient info, and
|
||||||
probably override DSN as well.
|
probably override DSN as well.
|
||||||
|
@@ -17,6 +17,19 @@ Incompatibility with Postfix 2.2 and earlier
|
|||||||
If you upgrade from Postfix 2.2 or earlier, read RELEASE_NOTES-2.3
|
If you upgrade from Postfix 2.2 or earlier, read RELEASE_NOTES-2.3
|
||||||
before proceeding.
|
before proceeding.
|
||||||
|
|
||||||
|
Incompatibility with Postfix snapshot 20070201
|
||||||
|
==============================================
|
||||||
|
|
||||||
|
Some default settings have been adjusted to better match contemporary
|
||||||
|
requirements:
|
||||||
|
|
||||||
|
- queue_run_delay and minimal_backoff_time were reduced from 1000s
|
||||||
|
to 300s so that deliveries are retried earlier after the first
|
||||||
|
failure.
|
||||||
|
|
||||||
|
- ipc_idle was reduced from 100s to 5s, so that tlsmgr and scache
|
||||||
|
clients will more quickly release unused file handles.
|
||||||
|
|
||||||
Major changes with Postfix snapshot 20070121
|
Major changes with Postfix snapshot 20070121
|
||||||
============================================
|
============================================
|
||||||
|
|
||||||
|
@@ -232,7 +232,7 @@ OQMGR(8) OQMGR(8)
|
|||||||
Idem, for delivery via the named message <i>transport</i>.
|
Idem, for delivery via the named message <i>transport</i>.
|
||||||
|
|
||||||
<b>OTHER RESOURCE AND RATE CONTROLS</b>
|
<b>OTHER RESOURCE AND RATE CONTROLS</b>
|
||||||
<b><a href="postconf.5.html#minimal_backoff_time">minimal_backoff_time</a> (1000s)</b>
|
<b><a href="postconf.5.html#minimal_backoff_time">minimal_backoff_time</a> (version dependent)</b>
|
||||||
The minimal time between attempts to deliver a
|
The minimal time between attempts to deliver a
|
||||||
deferred message.
|
deferred message.
|
||||||
|
|
||||||
@@ -244,7 +244,7 @@ OQMGR(8) OQMGR(8)
|
|||||||
The maximal time a message is queued before it is
|
The maximal time a message is queued before it is
|
||||||
sent back as undeliverable.
|
sent back as undeliverable.
|
||||||
|
|
||||||
<b><a href="postconf.5.html#queue_run_delay">queue_run_delay</a> (1000s)</b>
|
<b><a href="postconf.5.html#queue_run_delay">queue_run_delay</a> (version dependent)</b>
|
||||||
The time between <a href="QSHAPE_README.html#deferred_queue">deferred queue</a> scans by the queue
|
The time between <a href="QSHAPE_README.html#deferred_queue">deferred queue</a> scans by the queue
|
||||||
manager.
|
manager.
|
||||||
|
|
||||||
|
@@ -3032,7 +3032,7 @@ Do not change this unless you have a complete understanding of <a href="http://w
|
|||||||
</DD>
|
</DD>
|
||||||
|
|
||||||
<DT><b><a name="ipc_idle">ipc_idle</a>
|
<DT><b><a name="ipc_idle">ipc_idle</a>
|
||||||
(default: 100s)</b></DT><DD>
|
(default: version dependent)</b></DT><DD>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
The time after which a client closes an idle internal communication
|
The time after which a client closes an idle internal communication
|
||||||
@@ -3041,6 +3041,8 @@ after they become idle. This is used, for example, by the address
|
|||||||
resolving and rewriting clients.
|
resolving and rewriting clients.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
<p> With Postfix 2.4 the default value was reduced from 100s to 5s. </p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
Time units: s (seconds), m (minutes), h (hours), d (days), w (weeks).
|
Time units: s (seconds), m (minutes), h (hours), d (days), w (weeks).
|
||||||
The default time unit is s (seconds).
|
The default time unit is s (seconds).
|
||||||
@@ -5250,7 +5252,7 @@ This feature is available in Postfix 2.0 and later.
|
|||||||
</DD>
|
</DD>
|
||||||
|
|
||||||
<DT><b><a name="minimal_backoff_time">minimal_backoff_time</a>
|
<DT><b><a name="minimal_backoff_time">minimal_backoff_time</a>
|
||||||
(default: 1000s)</b></DT><DD>
|
(default: version dependent)</b></DT><DD>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
The minimal time between attempts to deliver a deferred message.
|
The minimal time between attempts to deliver a deferred message.
|
||||||
@@ -5258,6 +5260,9 @@ This parameter also limits the time an unreachable destination is
|
|||||||
kept in the short-term, in-memory, destination status cache.
|
kept in the short-term, in-memory, destination status cache.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
<p> With Postfix 2.4 the default value was reduced from 1000s to
|
||||||
|
300s. </p>
|
||||||
|
|
||||||
<p> This parameter should be set greater than or equal to
|
<p> This parameter should be set greater than or equal to
|
||||||
$<a href="postconf.5.html#queue_run_delay">queue_run_delay</a>. See also $<a href="postconf.5.html#maximal_backoff_time">maximal_backoff_time</a>. </p>
|
$<a href="postconf.5.html#queue_run_delay">queue_run_delay</a>. See also $<a href="postconf.5.html#maximal_backoff_time">maximal_backoff_time</a>. </p>
|
||||||
|
|
||||||
@@ -6050,12 +6055,16 @@ zero means there is no minimum required amount of free space.
|
|||||||
</DD>
|
</DD>
|
||||||
|
|
||||||
<DT><b><a name="queue_run_delay">queue_run_delay</a>
|
<DT><b><a name="queue_run_delay">queue_run_delay</a>
|
||||||
(default: 1000s)</b></DT><DD>
|
(default: version dependent)</b></DT><DD>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
The time between <a href="QSHAPE_README.html#deferred_queue">deferred queue</a> scans by the queue manager.
|
The time between <a href="QSHAPE_README.html#deferred_queue">deferred queue</a> scans by the queue manager.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
With Postfix 2.4 the default value was reduced from 1000s to 300s.
|
||||||
|
</p>
|
||||||
|
|
||||||
<p> This parameter should be set less than or equal to
|
<p> This parameter should be set less than or equal to
|
||||||
$<a href="postconf.5.html#minimal_backoff_time">minimal_backoff_time</a>. See also $<a href="postconf.5.html#maximal_backoff_time">maximal_backoff_time</a>. </p>
|
$<a href="postconf.5.html#minimal_backoff_time">minimal_backoff_time</a>. See also $<a href="postconf.5.html#maximal_backoff_time">maximal_backoff_time</a>. </p>
|
||||||
|
|
||||||
|
@@ -305,7 +305,7 @@ QMGR(8) QMGR(8)
|
|||||||
Idem, for delivery via the named message <i>transport</i>.
|
Idem, for delivery via the named message <i>transport</i>.
|
||||||
|
|
||||||
<b>OTHER RESOURCE AND RATE CONTROLS</b>
|
<b>OTHER RESOURCE AND RATE CONTROLS</b>
|
||||||
<b><a href="postconf.5.html#minimal_backoff_time">minimal_backoff_time</a> (1000s)</b>
|
<b><a href="postconf.5.html#minimal_backoff_time">minimal_backoff_time</a> (version dependent)</b>
|
||||||
The minimal time between attempts to deliver a
|
The minimal time between attempts to deliver a
|
||||||
deferred message.
|
deferred message.
|
||||||
|
|
||||||
@@ -317,7 +317,7 @@ QMGR(8) QMGR(8)
|
|||||||
The maximal time a message is queued before it is
|
The maximal time a message is queued before it is
|
||||||
sent back as undeliverable.
|
sent back as undeliverable.
|
||||||
|
|
||||||
<b><a href="postconf.5.html#queue_run_delay">queue_run_delay</a> (1000s)</b>
|
<b><a href="postconf.5.html#queue_run_delay">queue_run_delay</a> (version dependent)</b>
|
||||||
The time between <a href="QSHAPE_README.html#deferred_queue">deferred queue</a> scans by the queue
|
The time between <a href="QSHAPE_README.html#deferred_queue">deferred queue</a> scans by the queue
|
||||||
manager.
|
manager.
|
||||||
|
|
||||||
|
@@ -266,6 +266,42 @@ case "$SYSTEM.$RELEASE" in
|
|||||||
2.[0-3].*) CCARGS="$CCARGS -DNO_IPV6";;
|
2.[0-3].*) CCARGS="$CCARGS -DNO_IPV6";;
|
||||||
esac
|
esac
|
||||||
;;
|
;;
|
||||||
|
GNU.0.*)
|
||||||
|
SYSTYPE=GNU0
|
||||||
|
# Postfix no longer needs DB 1.85 compatibility
|
||||||
|
if [ -f /usr/include/db.h ]
|
||||||
|
then
|
||||||
|
: we are all set
|
||||||
|
elif [ -f /usr/include/db/db.h ]
|
||||||
|
then
|
||||||
|
CCARGS="$CCARGS -I/usr/include/db"
|
||||||
|
else
|
||||||
|
# No, we're not going to try db1 db2 db3 etc.
|
||||||
|
# On a properly installed system, Postfix builds
|
||||||
|
# by including <db.h> and by linking with -ldb
|
||||||
|
echo "No <db.h> include file found." 1>&2
|
||||||
|
echo "Install the appropriate db*-devel package first." 1>&2
|
||||||
|
echo "See the RELEASE_NOTES file for more information." 1>&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
SYSLIBS="-ldb"
|
||||||
|
for name in nsl resolv
|
||||||
|
do
|
||||||
|
for lib in /usr/lib64 /lib64 /usr/lib /lib
|
||||||
|
do
|
||||||
|
test -e $lib/lib$name.a -o -e $lib/lib$name.so && {
|
||||||
|
SYSLIBS="$SYSLIBS -l$name"
|
||||||
|
break
|
||||||
|
}
|
||||||
|
done
|
||||||
|
done
|
||||||
|
case "`uname -s`" in
|
||||||
|
GNU)
|
||||||
|
# currently no IPv6 support on Hurd
|
||||||
|
CCARGS="$CCARGS -DNO_IPV6"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
;;
|
||||||
IRIX*.5.*) SYSTYPE=IRIX5
|
IRIX*.5.*) SYSTYPE=IRIX5
|
||||||
# Use the native compiler by default
|
# Use the native compiler by default
|
||||||
: ${CC=cc} ${DEBUG="-g3"}
|
: ${CC=cc} ${DEBUG="-g3"}
|
||||||
|
@@ -1644,12 +1644,14 @@ HELO or EHLO command parameter is rejected by the reject_invalid_helo_hostname
|
|||||||
restriction.
|
restriction.
|
||||||
.PP
|
.PP
|
||||||
Do not change this unless you have a complete understanding of RFC 821.
|
Do not change this unless you have a complete understanding of RFC 821.
|
||||||
.SH ipc_idle (default: 100s)
|
.SH ipc_idle (default: version dependent)
|
||||||
The time after which a client closes an idle internal communication
|
The time after which a client closes an idle internal communication
|
||||||
channel. The purpose is to allow servers to terminate voluntarily
|
channel. The purpose is to allow servers to terminate voluntarily
|
||||||
after they become idle. This is used, for example, by the address
|
after they become idle. This is used, for example, by the address
|
||||||
resolving and rewriting clients.
|
resolving and rewriting clients.
|
||||||
.PP
|
.PP
|
||||||
|
With Postfix 2.4 the default value was reduced from 100s to 5s.
|
||||||
|
.PP
|
||||||
Time units: s (seconds), m (minutes), h (hours), d (days), w (weeks).
|
Time units: s (seconds), m (minutes), h (hours), d (days), w (weeks).
|
||||||
The default time unit is s (seconds).
|
The default time unit is s (seconds).
|
||||||
.SH ipc_timeout (default: 3600s)
|
.SH ipc_timeout (default: 3600s)
|
||||||
@@ -2846,11 +2848,14 @@ The maximal recursion level that the MIME processor will handle.
|
|||||||
Postfix refuses mail that is nested deeper than the specified limit.
|
Postfix refuses mail that is nested deeper than the specified limit.
|
||||||
.PP
|
.PP
|
||||||
This feature is available in Postfix 2.0 and later.
|
This feature is available in Postfix 2.0 and later.
|
||||||
.SH minimal_backoff_time (default: 1000s)
|
.SH minimal_backoff_time (default: version dependent)
|
||||||
The minimal time between attempts to deliver a deferred message.
|
The minimal time between attempts to deliver a deferred message.
|
||||||
This parameter also limits the time an unreachable destination is
|
This parameter also limits the time an unreachable destination is
|
||||||
kept in the short-term, in-memory, destination status cache.
|
kept in the short-term, in-memory, destination status cache.
|
||||||
.PP
|
.PP
|
||||||
|
With Postfix 2.4 the default value was reduced from 1000s to
|
||||||
|
300s.
|
||||||
|
.PP
|
||||||
This parameter should be set greater than or equal to
|
This parameter should be set greater than or equal to
|
||||||
$queue_run_delay. See also $maximal_backoff_time.
|
$queue_run_delay. See also $maximal_backoff_time.
|
||||||
.PP
|
.PP
|
||||||
@@ -3299,9 +3304,11 @@ value that is at least 1.5*$message_size_limit.
|
|||||||
.PP
|
.PP
|
||||||
With Postfix versions 2.0 and earlier, a queue_minfree value of
|
With Postfix versions 2.0 and earlier, a queue_minfree value of
|
||||||
zero means there is no minimum required amount of free space.
|
zero means there is no minimum required amount of free space.
|
||||||
.SH queue_run_delay (default: 1000s)
|
.SH queue_run_delay (default: version dependent)
|
||||||
The time between deferred queue scans by the queue manager.
|
The time between deferred queue scans by the queue manager.
|
||||||
.PP
|
.PP
|
||||||
|
With Postfix 2.4 the default value was reduced from 1000s to 300s.
|
||||||
|
.PP
|
||||||
This parameter should be set less than or equal to
|
This parameter should be set less than or equal to
|
||||||
$minimal_backoff_time. See also $maximal_backoff_time.
|
$minimal_backoff_time. See also $maximal_backoff_time.
|
||||||
.PP
|
.PP
|
||||||
|
@@ -226,14 +226,14 @@ Idem, for delivery via the named message \fItransport\fR.
|
|||||||
.nf
|
.nf
|
||||||
.ad
|
.ad
|
||||||
.fi
|
.fi
|
||||||
.IP "\fBminimal_backoff_time (1000s)\fR"
|
.IP "\fBminimal_backoff_time (version dependent)\fR"
|
||||||
The minimal time between attempts to deliver a deferred message.
|
The minimal time between attempts to deliver a deferred message.
|
||||||
.IP "\fBmaximal_backoff_time (4000s)\fR"
|
.IP "\fBmaximal_backoff_time (4000s)\fR"
|
||||||
The maximal time between attempts to deliver a deferred message.
|
The maximal time between attempts to deliver a deferred message.
|
||||||
.IP "\fBmaximal_queue_lifetime (5d)\fR"
|
.IP "\fBmaximal_queue_lifetime (5d)\fR"
|
||||||
The maximal time a message is queued before it is sent back as
|
The maximal time a message is queued before it is sent back as
|
||||||
undeliverable.
|
undeliverable.
|
||||||
.IP "\fBqueue_run_delay (1000s)\fR"
|
.IP "\fBqueue_run_delay (version dependent)\fR"
|
||||||
The time between deferred queue scans by the queue manager.
|
The time between deferred queue scans by the queue manager.
|
||||||
.IP "\fBtransport_retry_time (60s)\fR"
|
.IP "\fBtransport_retry_time (60s)\fR"
|
||||||
The time between attempts by the Postfix queue manager to contact
|
The time between attempts by the Postfix queue manager to contact
|
||||||
|
@@ -274,14 +274,14 @@ Idem, for delivery via the named message \fItransport\fR.
|
|||||||
.nf
|
.nf
|
||||||
.ad
|
.ad
|
||||||
.fi
|
.fi
|
||||||
.IP "\fBminimal_backoff_time (1000s)\fR"
|
.IP "\fBminimal_backoff_time (version dependent)\fR"
|
||||||
The minimal time between attempts to deliver a deferred message.
|
The minimal time between attempts to deliver a deferred message.
|
||||||
.IP "\fBmaximal_backoff_time (4000s)\fR"
|
.IP "\fBmaximal_backoff_time (4000s)\fR"
|
||||||
The maximal time between attempts to deliver a deferred message.
|
The maximal time between attempts to deliver a deferred message.
|
||||||
.IP "\fBmaximal_queue_lifetime (5d)\fR"
|
.IP "\fBmaximal_queue_lifetime (5d)\fR"
|
||||||
The maximal time a message is queued before it is sent back as
|
The maximal time a message is queued before it is sent back as
|
||||||
undeliverable.
|
undeliverable.
|
||||||
.IP "\fBqueue_run_delay (1000s)\fR"
|
.IP "\fBqueue_run_delay (version dependent)\fR"
|
||||||
The time between deferred queue scans by the queue manager.
|
The time between deferred queue scans by the queue manager.
|
||||||
.IP "\fBtransport_retry_time (60s)\fR"
|
.IP "\fBtransport_retry_time (60s)\fR"
|
||||||
The time between attempts by the Postfix queue manager to contact
|
The time between attempts by the Postfix queue manager to contact
|
||||||
|
@@ -1819,7 +1819,7 @@ restriction.
|
|||||||
Do not change this unless you have a complete understanding of RFC 821.
|
Do not change this unless you have a complete understanding of RFC 821.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
%PARAM ipc_idle 100s
|
%PARAM ipc_idle version dependent
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
The time after which a client closes an idle internal communication
|
The time after which a client closes an idle internal communication
|
||||||
@@ -1828,6 +1828,8 @@ after they become idle. This is used, for example, by the address
|
|||||||
resolving and rewriting clients.
|
resolving and rewriting clients.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
<p> With Postfix 2.4 the default value was reduced from 100s to 5s. </p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
Time units: s (seconds), m (minutes), h (hours), d (days), w (weeks).
|
Time units: s (seconds), m (minutes), h (hours), d (days), w (weeks).
|
||||||
The default time unit is s (seconds).
|
The default time unit is s (seconds).
|
||||||
@@ -2618,7 +2620,7 @@ Specify 0 when mail delivery should be tried only once.
|
|||||||
The maximal size in bytes of a message, including envelope information.
|
The maximal size in bytes of a message, including envelope information.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
%PARAM minimal_backoff_time 1000s
|
%PARAM minimal_backoff_time version dependent
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
The minimal time between attempts to deliver a deferred message.
|
The minimal time between attempts to deliver a deferred message.
|
||||||
@@ -2626,6 +2628,9 @@ This parameter also limits the time an unreachable destination is
|
|||||||
kept in the short-term, in-memory, destination status cache.
|
kept in the short-term, in-memory, destination status cache.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
<p> With Postfix 2.4 the default value was reduced from 1000s to
|
||||||
|
300s. </p>
|
||||||
|
|
||||||
<p> This parameter should be set greater than or equal to
|
<p> This parameter should be set greater than or equal to
|
||||||
$queue_run_delay. See also $maximal_backoff_time. </p>
|
$queue_run_delay. See also $maximal_backoff_time. </p>
|
||||||
|
|
||||||
@@ -3069,12 +3074,16 @@ With Postfix versions 2.0 and earlier, a queue_minfree value of
|
|||||||
zero means there is no minimum required amount of free space.
|
zero means there is no minimum required amount of free space.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
%PARAM queue_run_delay 1000s
|
%PARAM queue_run_delay version dependent
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
The time between deferred queue scans by the queue manager.
|
The time between deferred queue scans by the queue manager.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
With Postfix 2.4 the default value was reduced from 1000s to 300s.
|
||||||
|
</p>
|
||||||
|
|
||||||
<p> This parameter should be set less than or equal to
|
<p> This parameter should be set less than or equal to
|
||||||
$minimal_backoff_time. See also $maximal_backoff_time. </p>
|
$minimal_backoff_time. See also $maximal_backoff_time. </p>
|
||||||
|
|
||||||
|
@@ -632,10 +632,10 @@ extern char *var_relocated_maps;
|
|||||||
* queue before it is sent back.
|
* queue before it is sent back.
|
||||||
*/
|
*/
|
||||||
#define VAR_QUEUE_RUN_DELAY "queue_run_delay"
|
#define VAR_QUEUE_RUN_DELAY "queue_run_delay"
|
||||||
#define DEF_QUEUE_RUN_DELAY "1000s"
|
#define DEF_QUEUE_RUN_DELAY "300s"
|
||||||
|
|
||||||
#define VAR_MIN_BACKOFF_TIME "minimal_backoff_time"
|
#define VAR_MIN_BACKOFF_TIME "minimal_backoff_time"
|
||||||
#define DEF_MIN_BACKOFF_TIME "1000s"
|
#define DEF_MIN_BACKOFF_TIME DEF_QUEUE_RUN_DELAY
|
||||||
extern int var_min_backoff_time;
|
extern int var_min_backoff_time;
|
||||||
|
|
||||||
#define VAR_MAX_BACKOFF_TIME "maximal_backoff_time"
|
#define VAR_MAX_BACKOFF_TIME "maximal_backoff_time"
|
||||||
@@ -813,7 +813,7 @@ extern int var_event_drain;
|
|||||||
* IPC connection before closing it because it is idle for too much time.
|
* IPC connection before closing it because it is idle for too much time.
|
||||||
*/
|
*/
|
||||||
#define VAR_IPC_IDLE "ipc_idle"
|
#define VAR_IPC_IDLE "ipc_idle"
|
||||||
#define DEF_IPC_IDLE "100s"
|
#define DEF_IPC_IDLE "5s"
|
||||||
extern int var_ipc_idle_limit;
|
extern int var_ipc_idle_limit;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@@ -20,7 +20,7 @@
|
|||||||
* Patches change both the patchlevel and the release date. Snapshots have no
|
* Patches change both the patchlevel and the release date. Snapshots have no
|
||||||
* patchlevel; they change the release date only.
|
* patchlevel; they change the release date only.
|
||||||
*/
|
*/
|
||||||
#define MAIL_RELEASE_DATE "20070131"
|
#define MAIL_RELEASE_DATE "20070201"
|
||||||
#define MAIL_VERSION_NUMBER "2.4"
|
#define MAIL_VERSION_NUMBER "2.4"
|
||||||
|
|
||||||
#ifdef SNAPSHOT
|
#ifdef SNAPSHOT
|
||||||
|
@@ -192,14 +192,14 @@
|
|||||||
/* OTHER RESOURCE AND RATE CONTROLS
|
/* OTHER RESOURCE AND RATE CONTROLS
|
||||||
/* .ad
|
/* .ad
|
||||||
/* .fi
|
/* .fi
|
||||||
/* .IP "\fBminimal_backoff_time (1000s)\fR"
|
/* .IP "\fBminimal_backoff_time (version dependent)\fR"
|
||||||
/* The minimal time between attempts to deliver a deferred message.
|
/* The minimal time between attempts to deliver a deferred message.
|
||||||
/* .IP "\fBmaximal_backoff_time (4000s)\fR"
|
/* .IP "\fBmaximal_backoff_time (4000s)\fR"
|
||||||
/* The maximal time between attempts to deliver a deferred message.
|
/* The maximal time between attempts to deliver a deferred message.
|
||||||
/* .IP "\fBmaximal_queue_lifetime (5d)\fR"
|
/* .IP "\fBmaximal_queue_lifetime (5d)\fR"
|
||||||
/* The maximal time a message is queued before it is sent back as
|
/* The maximal time a message is queued before it is sent back as
|
||||||
/* undeliverable.
|
/* undeliverable.
|
||||||
/* .IP "\fBqueue_run_delay (1000s)\fR"
|
/* .IP "\fBqueue_run_delay (version dependent)\fR"
|
||||||
/* The time between deferred queue scans by the queue manager.
|
/* The time between deferred queue scans by the queue manager.
|
||||||
/* .IP "\fBtransport_retry_time (60s)\fR"
|
/* .IP "\fBtransport_retry_time (60s)\fR"
|
||||||
/* The time between attempts by the Postfix queue manager to contact
|
/* The time between attempts by the Postfix queue manager to contact
|
||||||
|
@@ -238,14 +238,14 @@
|
|||||||
/* OTHER RESOURCE AND RATE CONTROLS
|
/* OTHER RESOURCE AND RATE CONTROLS
|
||||||
/* .ad
|
/* .ad
|
||||||
/* .fi
|
/* .fi
|
||||||
/* .IP "\fBminimal_backoff_time (1000s)\fR"
|
/* .IP "\fBminimal_backoff_time (version dependent)\fR"
|
||||||
/* The minimal time between attempts to deliver a deferred message.
|
/* The minimal time between attempts to deliver a deferred message.
|
||||||
/* .IP "\fBmaximal_backoff_time (4000s)\fR"
|
/* .IP "\fBmaximal_backoff_time (4000s)\fR"
|
||||||
/* The maximal time between attempts to deliver a deferred message.
|
/* The maximal time between attempts to deliver a deferred message.
|
||||||
/* .IP "\fBmaximal_queue_lifetime (5d)\fR"
|
/* .IP "\fBmaximal_queue_lifetime (5d)\fR"
|
||||||
/* The maximal time a message is queued before it is sent back as
|
/* The maximal time a message is queued before it is sent back as
|
||||||
/* undeliverable.
|
/* undeliverable.
|
||||||
/* .IP "\fBqueue_run_delay (1000s)\fR"
|
/* .IP "\fBqueue_run_delay (version dependent)\fR"
|
||||||
/* The time between deferred queue scans by the queue manager.
|
/* The time between deferred queue scans by the queue manager.
|
||||||
/* .IP "\fBtransport_retry_time (60s)\fR"
|
/* .IP "\fBtransport_retry_time (60s)\fR"
|
||||||
/* The time between attempts by the Postfix queue manager to contact
|
/* The time between attempts by the Postfix queue manager to contact
|
||||||
|
@@ -736,6 +736,69 @@ extern int initgroups(const char *, int);
|
|||||||
#define NATIVE_DAEMON_DIR "/usr/libexec/postfix"
|
#define NATIVE_DAEMON_DIR "/usr/libexec/postfix"
|
||||||
#define CANT_USE_SEND_RECV_MSG
|
#define CANT_USE_SEND_RECV_MSG
|
||||||
#define DEF_SMTP_CACHE_DEMAND 0
|
#define DEF_SMTP_CACHE_DEMAND 0
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/*
|
||||||
|
* GNU.
|
||||||
|
*/
|
||||||
|
#ifdef GNU0
|
||||||
|
#define SUPPORTED
|
||||||
|
#include <sys/types.h>
|
||||||
|
#include <features.h>
|
||||||
|
#define USE_PATHS_H
|
||||||
|
#define HAS_FCNTL_LOCK
|
||||||
|
#define INTERNAL_LOCK MYFLOCK_STYLE_FCNTL
|
||||||
|
#define DEF_MAILBOX_LOCK "fcntl, dotlock" /* RedHat >= 4.x */
|
||||||
|
#define HAS_FSYNC
|
||||||
|
#define HAS_DB
|
||||||
|
#define DEF_DB_TYPE "hash"
|
||||||
|
#define ALIAS_DB_MAP "hash:/etc/aliases"
|
||||||
|
#define HAS_NIS
|
||||||
|
#define GETTIMEOFDAY(t) gettimeofday(t,(struct timezone *) 0)
|
||||||
|
#define ROOT_PATH "/bin:/usr/bin:/sbin:/usr/sbin"
|
||||||
|
#define FIONREAD_IN_TERMIOS_H
|
||||||
|
#define USE_STATFS
|
||||||
|
#define STATFS_IN_SYS_VFS_H
|
||||||
|
#define UNIX_DOMAIN_CONNECT_BLOCKS_FOR_ACCEPT
|
||||||
|
#define PREPEND_PLUS_TO_OPTSTRING
|
||||||
|
#define HAS_POSIX_REGEXP
|
||||||
|
#define HAS_DLOPEN
|
||||||
|
#define NATIVE_SENDMAIL_PATH "/usr/sbin/sendmail"
|
||||||
|
#define NATIVE_MAILQ_PATH "/usr/bin/mailq"
|
||||||
|
#define NATIVE_NEWALIAS_PATH "/usr/bin/newaliases"
|
||||||
|
#define NATIVE_COMMAND_DIR "/usr/sbin"
|
||||||
|
#ifdef DEBIAN
|
||||||
|
#define NATIVE_DAEMON_DIR "/usr/lib/postfix"
|
||||||
|
#ifndef DEF_MANPAGE_DIR
|
||||||
|
#define DEF_MANPAGE_DIR "/usr/share/man"
|
||||||
|
#endif
|
||||||
|
#ifndef DEF_SAMPLE_DIR
|
||||||
|
#define DEF_SAMPLE_DIR "/usr/share/doc/postfix/examples"
|
||||||
|
#endif
|
||||||
|
#ifndef DEF_README_DIR
|
||||||
|
#define DEF_README_DIR "/usr/share/doc/postfix"
|
||||||
|
#endif
|
||||||
|
#else
|
||||||
|
#define NATIVE_DAEMON_DIR "/usr/libexec/postfix"
|
||||||
|
#endif
|
||||||
|
#define SOCKADDR_SIZE socklen_t
|
||||||
|
#define SOCKOPT_SIZE socklen_t
|
||||||
|
#ifdef __FreeBSD_kernel__
|
||||||
|
# define HAS_DUPLEX_PIPE
|
||||||
|
# define HAS_ISSETUGID
|
||||||
|
#endif
|
||||||
|
#ifndef NO_IPV6
|
||||||
|
# define HAS_IPV6
|
||||||
|
# ifdef __FreeBSD_kernel__
|
||||||
|
# define HAVE_GETIFADDRS
|
||||||
|
# else
|
||||||
|
# define HAS_PROCNET_IFINET6
|
||||||
|
# define _PATH_PROCNET_IFINET6 "/proc/net/if_inet6"
|
||||||
|
# endif
|
||||||
|
#endif
|
||||||
|
#define CANT_USE_SEND_RECV_MSG
|
||||||
|
#define DEF_SMTP_CACHE_DEMAND 0
|
||||||
|
#define HAS_DEV_URANDOM
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Reference in New Issue
Block a user