Skip to content

Commit

Permalink
Change Received header ordering when using SSL
Browse files Browse the repository at this point in the history
  • Loading branch information
priyadi committed Jan 13, 2015
1 parent 371a9bf commit 3ef92f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Qpsmtpd/SMTP.pm
Expand Up @@ -843,7 +843,7 @@ sub received_line {
$smtp .= "S" if $esmtp; # RFC3848
$sslheader = "("
. $self->connection->notes('tls_socket')->get_cipher()
. " encrypted) ";
. " encrypted)";
}
if (defined $self->{_auth} && $self->{_auth} == OK) {
my $mech = $self->{_auth_mechanism};
Expand All @@ -869,7 +869,7 @@ sub received_line {
. $self->config('me')
. " (qpsmtpd/"
. $self->version
. ") with $sslheader$smtp; "
. ") with $smtp $sslheader; "
. (strftime('%a, %d %b %Y %H:%M:%S %z', localtime));
}
$self->transaction->header->add('Received', $header_str, 0);
Expand Down

0 comments on commit 3ef92f2

Please sign in to comment.