jordan-wright / email

Robust and flexible email library for Go
MIT License
2.61k stars 324 forks source link

How to accept email #118

Closed xfengw closed 3 years ago

xfengw commented 4 years ago

How to accept email

ptman commented 3 years ago

Not with this library. I suggest you configure your MTA to forward messages to a program. In postfix this can be done by adding a line like:

localpart: "|/path/to/program --params"

to /etc/aliases

See: https://serverfault.com/questions/506894/how-to-route-email-to-a-script/507024