Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support rejection rules #8

Open
eXeC64 opened this issue Oct 13, 2017 · 1 comment
Open

Support rejection rules #8

eXeC64 opened this issue Oct 13, 2017 · 1 comment

Comments

@eXeC64
Copy link
Owner

eXeC64 commented Oct 13, 2017

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

For example:

  • Reject [PATCH] emails where the patch has been corrupted (broken whitespace)
  • Reject emails that top-post
  • Require subjects to be formatted a certain way
  • Banning the word "generics" from a golang mailing list

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
Copy link

Reject HTML emails

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

No branches or pull requests

2 participants