This is a small quality of life improvement to transparently support clients that use the proxy protocol. This is useful if go-guerilla is serving clients behind a proxy such as HA Proxy, AWS ELB, Traefik, etc.
Trying 111.222.333.444...
Connected to mail.somehost.com.
Escape character is '^]'.
220 mail.somehost.com SMTP Guerrilla(unknown) #1 (1) 2022-04-30T18:23:04Z
554 5.5.1 Unrecognized command
The "unrecognized command" response is due to the proxy server sending the proxy protocol header
This is a small quality of life improvement to transparently support clients that use the proxy protocol. This is useful if go-guerilla is serving clients behind a proxy such as HA Proxy, AWS ELB, Traefik, etc.
The "unrecognized command" response is due to the proxy server sending the proxy protocol header