• Alberto Bertogli's avatar
    smtpsrv: Improve "Received" header standard compliance · 29709a0d
    Alberto Bertogli authored
    Despite its loose appearance, the "Received" header has a reasonably
    standarized format.
    
    We were not following the standard format as closely as we should; this
    rarely causes problems in this particular case, but there's no need to
    deviate from it.
    
    This patch changes the Received header generation as follows:
    
     - The "from" section now uses the remote address as canonical (for
       non-authenticated users) which provides more valuable information
       than the user-supplied EHLO address (which is also included).
     - The remote authenticated user is now hidden, for additional privacy.
     - Use the "with" optional clause.
     - Use the standard way of printing TLS cipher suite.
     - Use the standard way of printing address literals.
    29709a0d
Name
Last commit
Last update
cmd Loading commit data...
docs Loading commit data...
etc Loading commit data...
internal Loading commit data...
test Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
INSTALL.md Loading commit data...
LICENSE Loading commit data...
Makefile Loading commit data...
README.md Loading commit data...
UPGRADING.md Loading commit data...
chasquid.go Loading commit data...
coverage_test.go Loading commit data...
dnsoverride.go Loading commit data...