2
0
mirror of https://github.com/vdukhovni/postfix synced 2025-08-31 14:17:41 +00:00

postfix-2.4-20070122

This commit is contained in:
Wietse Venema
2007-01-22 00:00:00 -05:00
committed by Viktor Dukhovni
parent 72f1233da7
commit be49add193
5 changed files with 57 additions and 5 deletions

View File

@@ -116,6 +116,18 @@ recipient slots to refill at a time) and default_recipient_refill_delay
(how long to wait between refill operations). These two parameters (how long to wait between refill operations). These two parameters
act as defaults for optional per-transport settings. act as defaults for optional per-transport settings.
Better support for queue file systems on file servers with drifting
clocks. Clock skew can be a problem, because Postfix does not deliver
mail until the local clock catches up with the queue file's last
modification time stamp. On systems with usable futimes() or
equivalent (Solaris, *BSD, MacOS, but not Linux), Postfix now always
explicitly sets the queue file last modification time stamps while
creating a queue file. On systems without usable futimes() (Linux,
and ancient versions of Solaris, SunOS and *BSD) Postfix keeps using
the slower utime() system call to update queue file time stamps
when the file system clock is off with respect to the local system
clock, and logs a warning.
Incompatible changes with Postfix snapshot 20061006 Incompatible changes with Postfix snapshot 20061006
=================================================== ===================================================

40
postfix/mantools/hchangered Executable file
View File

@@ -0,0 +1,40 @@
#!/bin/sh
# Usage: hchangered oldfile newfile
# hchangered - crude tool to red-color changes in HTML text. Text is
# also underlined so it shows on monochrome printers.
# Bugs: does not red-color text inside tables. Fascist software may
# complain about tags being out of order.
diff -e $1 $2 | (sed -n -e '
/[ac]$/{
p
a\
<font color="red"><u>
: loop
n
/^\.$/b done1
p
b loop
: done1
a\
</u></font>\
.
b
}
/d$/{
a\
i\
<font color="red"><u>[DELETED]</u></font>\
.
p
b
}
'; echo '1,$p') | ed - $1 | perl -e '
$buf = join("", <STDIN>);
$buf =~ s/pre>\s+<font/pre><font/g;
$buf =~ s/font>\s+<\/pre/font><\/pre/g;
print $buf;
'

View File

@@ -902,9 +902,9 @@ static const char *cleanup_del_header(void *context, ssize_t index,
/* /*
* Overwrite the beginning of the header record with a pointer to the * Overwrite the beginning of the header record with a pointer to the
* information that follows the header. We can't simply use * information that follows the header. We can't simply overwrite the
* cleanup_out_header() with a special record type, because there may be * header with cleanup_out_header() and a special record type, because
* a PTR record in the middle of a multi-line header. * there may be a PTR record in the middle of a multi-line header.
*/ */
if (header_offset > 0) { if (header_offset > 0) {
if ((next_offset = cleanup_find_header_end(state, rec_buf, last_type)) < 0) if ((next_offset = cleanup_find_header_end(state, rec_buf, last_type)) < 0)

View File

@@ -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 "20070121" #define MAIL_RELEASE_DATE "20070122"
#define MAIL_VERSION_NUMBER "2.4" #define MAIL_VERSION_NUMBER "2.4"
#ifdef SNAPSHOT #ifdef SNAPSHOT

View File

@@ -58,7 +58,7 @@ int stream_send_fd(int fd, int sendfd)
#ifdef STREAM_CONNECTIONS #ifdef STREAM_CONNECTIONS
if (ioctl(fd, I_SENDFD, sendfd) < 0) if (ioctl(fd, I_SENDFD, sendfd) < 0)
msg_fatal("%s: send file descriptor %d: %m", sendfd, myname); msg_fatal("%s: send file descriptor %d: %m", myname, sendfd);
return (0); return (0);
#else #else
msg_fatal("stream connections are not implemented"); msg_fatal("stream connections are not implemented");