Skip to content

Wildcard recipients hosts validation for go-guerilla smtp server

License

Notifications You must be signed in to change notification settings

DevelHell/wildcard-processor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

wildcard-processor

Build Status Coverage Status Go Report Card

Wildcard-processor adds wildcard support for recipient hosts validation for go-guerilla package

About

This package is a Processor for the Go-Guerrilla SMTP server. By default it is possible to match hosts using exact names or "." character. Wildcard-processor adds another configuration option, where it is possible to define recipient hosts using wildcard, e.g. "*.com", so it offers much greater flexibility.

Configuration

Set wildcard as validate_process in your backend config file and define hosts with wildcards under wildcard_hosts configuration field. Use commas for multiple values.

"backend_config":
{
    "validate_process": "wildcard",
    "wildcard_hosts": "*.com,*.org",
    "log_received_mails": false,
},

Then import github.com/DevelHell/wildcard-processor and add wildcard as a processor

app.AddProcessor("wildcard", wildcard_processor.WildcardProcessor)

And you're ready to go. For more information see go-guerilla documentation

About

Wildcard recipients hosts validation for go-guerilla smtp server

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages