2
0
mirror of https://github.com/vdukhovni/postfix synced 2025-08-30 13:48:06 +00:00

postfix-2.4-20060824

This commit is contained in:
Wietse Venema
2006-08-24 00:00:00 -05:00
committed by Viktor Dukhovni
parent 0e961e79a8
commit 12af4bf8dc
5 changed files with 27 additions and 30 deletions

View File

@@ -12703,6 +12703,11 @@ Apologies for any names omitted.
implementation of the capture to file feature. File: implementation of the capture to file feature. File:
smtpstone/smtp-sink.c. smtpstone/smtp-sink.c.
20050824
Portability: inside functions, GCC 4 refuses forward
declarations of static functions. File: smtpstone/smtp-sink.c.
Wish list: Wish list:
Make null local-part handling configurable: either expand Make null local-part handling configurable: either expand

View File

@@ -212,17 +212,15 @@ SMTP-SINK(1) SMTP-SINK(1)
HELO or EHLO command before the DATA command. HELO or EHLO command before the DATA command.
<b>X-Mail-Args:</b> <i>text</i> <b>X-Mail-Args:</b> <i>text</i>
The arguments, if any, of the MAIL command that The arguments of the MAIL command that started this
started this mail delivery transaction. This record mail delivery transaction. This record is present
is present only if the client sent a recognizable exactly once.
MAIL command.
<b>X-Rcpt-Args:</b> <i>text</i> <b>X-Rcpt-Args:</b> <i>text</i>
The arguments, if any, of each successive RCPT com- The arguments of an RCPT command within this mail
mand within this mail delivery transaction. There delivery transaction. There is one record for each
may be zero or more of these records. This record RCPT command, and they are in the order as sent by
is present only if the client sent a recognizable the client.
RCPT command.
<b>Received:</b> <i>text</i> <b>Received:</b> <i>text</i>
A message header for compatibility with mail pro- A message header for compatibility with mail pro-

View File

@@ -181,19 +181,16 @@ mail delivery transaction. This record is present only if
the client sent a recognizable HELO or EHLO command before the client sent a recognizable HELO or EHLO command before
the DATA command. the DATA command.
.IP "\fBX-Mail-Args: \fItext\fR" .IP "\fBX-Mail-Args: \fItext\fR"
The arguments, if any, of the MAIL command that started The arguments of the MAIL command that started this mail
this mail delivery transaction. This record is present only delivery transaction. This record is present exactly once.
if the client sent a recognizable MAIL command.
.IP "\fBX-Rcpt-Args: \fItext\fR" .IP "\fBX-Rcpt-Args: \fItext\fR"
The arguments, if any, of each successive RCPT command The arguments of an RCPT command within this mail delivery
within this mail delivery transaction. There may be zero transaction. There is one record for each RCPT command, and
or more of these records. This record is present only if they are in the order as sent by the client.
the client sent a recognizable RCPT command.
.IP "\fBReceived: \fItext\fR" .IP "\fBReceived: \fItext\fR"
A message header for compatibility with mail processing A message header for compatibility with mail processing
software. This three-line header marks the end of the headers software. This three-line header marks the end of the headers
provided by \fBsmtp-sink\fR, and is formatted provided by \fBsmtp-sink\fR, and is formatted as follows:
as follows:
.RS .RS
.IP "\fBfrom \fIhelo\fB ([\fIaddr\fB])\fR" .IP "\fBfrom \fIhelo\fB ([\fIaddr\fB])\fR"
The HELO or EHLO command argument and client IP address. The HELO or EHLO command argument and client IP address.

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 "20060823" #define MAIL_RELEASE_DATE "20060824"
#define MAIL_VERSION_NUMBER "2.4" #define MAIL_VERSION_NUMBER "2.4"
#ifdef SNAPSHOT #ifdef SNAPSHOT

View File

@@ -173,19 +173,16 @@
/* the client sent a recognizable HELO or EHLO command before /* the client sent a recognizable HELO or EHLO command before
/* the DATA command. /* the DATA command.
/* .IP "\fBX-Mail-Args: \fItext\fR" /* .IP "\fBX-Mail-Args: \fItext\fR"
/* The arguments, if any, of the MAIL command that started /* The arguments of the MAIL command that started this mail
/* this mail delivery transaction. This record is present only /* delivery transaction. This record is present exactly once.
/* if the client sent a recognizable MAIL command.
/* .IP "\fBX-Rcpt-Args: \fItext\fR" /* .IP "\fBX-Rcpt-Args: \fItext\fR"
/* The arguments, if any, of each successive RCPT command /* The arguments of an RCPT command within this mail delivery
/* within this mail delivery transaction. There may be zero /* transaction. There is one record for each RCPT command, and
/* or more of these records. This record is present only if /* they are in the order as sent by the client.
/* the client sent a recognizable RCPT command.
/* .IP "\fBReceived: \fItext\fR" /* .IP "\fBReceived: \fItext\fR"
/* A message header for compatibility with mail processing /* A message header for compatibility with mail processing
/* software. This three-line header marks the end of the headers /* software. This three-line header marks the end of the headers
/* provided by \fBsmtp-sink\fR, and is formatted /* provided by \fBsmtp-sink\fR, and is formatted as follows:
/* as follows:
/* .RS /* .RS
/* .IP "\fBfrom \fIhelo\fB ([\fIaddr\fB])\fR" /* .IP "\fBfrom \fIhelo\fB ([\fIaddr\fB])\fR"
/* The HELO or EHLO command argument and client IP address. /* The HELO or EHLO command argument and client IP address.
@@ -1087,12 +1084,12 @@ static void read_event(int unused_event, char *context)
event_request_timer(read_timeout, (char *) state, var_tmout); event_request_timer(read_timeout, (char *) state, var_tmout);
} }
static void connect_event(int, char *);
/* disconnect - handle disconnection events */ /* disconnect - handle disconnection events */
static void disconnect(SINK_STATE *state) static void disconnect(SINK_STATE *state)
{ {
static void connect_event(int, char *);
event_disable_readwrite(vstream_fileno(state->stream)); event_disable_readwrite(vstream_fileno(state->stream));
event_cancel_timer(read_timeout, (char *) state); event_cancel_timer(read_timeout, (char *) state);
if (count) { if (count) {