eXeC64 / nanolist

mailing lists - the unix way
BSD 3-Clause "New" or "Revised" License
184 stars 25 forks source link

Support rejection rules #8

Open eXeC64 opened 7 years ago

eXeC64 commented 7 years ago

It'd be nice if nanolist could have some custom rules for rejecting emails to lists based on an external script.

For example:

nanolist would not implement such logic itself, but would allow messages to be piped into an external command. If the return code is 0, the message is posted to the list. If it is 1, the stdout of the script is sent as a reply to the sender.

ddevault commented 6 years ago

Reject HTML emails