Skip to content

Conversation

romantomjak
Copy link

@romantomjak romantomjak commented Apr 30, 2022

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

@romantomjak romantomjak marked this pull request as ready for review April 30, 2022 00:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant