If it wasn't defined in an RFC, I would have probably not wanted to
apply it.

Anyway, 
  applied (with tweaks to make it more RFC3848 compliant) in r703.


At Fri, 5 Jan 2007 23:26:14 -0500 (EST),
Charlie Brady wrote:
> 
> 
> On Fri, 5 Jan 2007, Robert Spier wrote:
> 
> > Nick,
> >
> >  Can you provide a reference to RFC where this is defined?
> 
> Nick didn't suggest that it was defined in an RFC. However, rfc3848
> looks relevant.
> 
> 
> >
> > -R
> >
> > At Thu, 4 Jan 2007 12:08:16 +0000,
> > Nick Leverton wrote:
> >>
> >> === lib/Qpsmtpd/SMTP.pm
> >> ==================================================================
> >> --- lib/Qpsmtpd/SMTP.pm    (revision 2820)
> >> +++ lib/Qpsmtpd/SMTP.pm    (local)
> >> @@ -658,10 +658,14 @@
> >>    $self->transaction->header($header);
> >>
> >>    my $smtp = $self->connection->hello eq "ehlo" ? "ESMTP" : "SMTP";
> >> +  my $authheader = "";
> >> +  if (defined $self->{_auth} and $self->{_auth} == OK) {
> >> +    $smtp .= "A";
> >> +    $authheader = "(smtp-auth username $self->{_auth_user}, mechanism 
> >> $self->{_auth_mechanism})\n";
> >> +  }
> >> +
> >>    my $sslheader = (defined $self->connection->notes('tls_enabled') and 
> >> $self->connection->notes('tls_enabled')) ?
> >>      "(".$self->connection->notes('tls_socket')->get_cipher()." encrypted) 
> >> " : "";
> >> -  my $authheader = (defined $self->{_auth} and $self->{_auth} == OK) ?
> >> -    "(smtp-auth username $self->{_auth_user}, mechanism 
> >> $self->{_auth_mechanism})\n" : "";
> >>
> >>    $header->add("Received", "from ".$self->connection->remote_info
> >>                 ." (HELO ".$self->connection->hello_host . ") 
> >> (".$self->connection->remote_ip
> >

Reply via email to