Use the proper RFC2822 date format in the Received headers. (Somehow
I had convinced myself that ISO8601 dates were okay). Thanks to Kee Hinckley <nazgul@somewhere.com>. Print the date in the local timezone instead of in -0000. (Not entirely convinced this is a good idea) git-svn-id: https://svn.perl.org/qpsmtpd/trunk@116 958fd67b-6ff1-0310-b445-bb7760255be9
This commit is contained in:
parent
7b67c74746
commit
883b184a80
3
CREDITS
3
CREDITS
@ -18,3 +18,6 @@ Matt Sergeant <matt@sergeant.org>: Clamav plugin.
|
|||||||
|
|
||||||
Rasjid Wilcox <rasjidw@openminddev.net>: Lots of patches as per the
|
Rasjid Wilcox <rasjidw@openminddev.net>: Lots of patches as per the
|
||||||
Changes file.
|
Changes file.
|
||||||
|
|
||||||
|
Kee Hinckley <nazgul@somewhere.com>: Sent me the correct strftime
|
||||||
|
format for the dates in the "Received" headers.
|
||||||
|
11
Changes
11
Changes
@ -1,7 +1,14 @@
|
|||||||
0.21-dev
|
0.21-dev
|
||||||
|
|
||||||
All major changes in the this release where by Rasjid Wilcox
|
Use the proper RFC2822 date format in the Received headers. (Somehow
|
||||||
<rasjidw@openminddev.net>.
|
I had convinced myself that ISO8601 dates were okay). Thanks to
|
||||||
|
Kee Hinckley <nazgul@somewhere.com>.
|
||||||
|
|
||||||
|
Print the date in the local timezone instead of in -0000. (Not
|
||||||
|
entirely convinced this is a good idea)
|
||||||
|
|
||||||
|
The following major changes in the this release where by Rasjid
|
||||||
|
Wilcox <rasjidw@openminddev.net>.
|
||||||
|
|
||||||
Fix error handling in queue/qmail-queue.
|
Fix error handling in queue/qmail-queue.
|
||||||
|
|
||||||
|
@ -329,7 +329,7 @@ sub data {
|
|||||||
$header->add("Received", "from ".$self->connection->remote_info
|
$header->add("Received", "from ".$self->connection->remote_info
|
||||||
." (HELO ".$self->connection->hello_host . ") (".$self->connection->remote_ip
|
." (HELO ".$self->connection->hello_host . ") (".$self->connection->remote_ip
|
||||||
. ") by ".$self->config('me')." (qpsmtpd/".$self->version
|
. ") by ".$self->config('me')." (qpsmtpd/".$self->version
|
||||||
.") with SMTP; ". (strftime('%Y-%m-%d %TZ', gmtime)),
|
.") with SMTP; ". (strftime('%a, %d %b %Y %H:%M:%S %z', localtime)),
|
||||||
0);
|
0);
|
||||||
|
|
||||||
# if we get here without seeing a terminator, the connection is
|
# if we get here without seeing a terminator, the connection is
|
||||||
|
Loading…
Reference in New Issue
Block a user