Skip to content

add configurable smtp greeter#29

Open
cgroschupp wants to merge 1 commit intophires:masterfrom
cgroschupp:add-configurable-greeter
Open

add configurable smtp greeter#29
cgroschupp wants to merge 1 commit intophires:masterfrom
cgroschupp:add-configurable-greeter

Conversation

@cgroschupp
Copy link

No description provided.

@phires
Copy link
Owner

phires commented Sep 18, 2023

Hi, thank you for your contribution!
Could you additionally provide an example for the configuration file?
Just adding it like so "greeter_template": "220 {{ .Hostname }} SMTP Guerrilla({{ .Version }}) {{ .Time }}"
results in an json parsing error (error="could not read config file: could not parse config file: json: cannot unmarshal array into Go struct field ServerConfig.servers.greeter_template of type template.Template")

@phires phires self-assigned this Sep 18, 2023
@phires phires added the enhancement New feature or request label Sep 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants