[enhancement]: action type
stappersg opened this issue · comments
Geert Stappers commented
Which feature or improvement would you like to request?
Based on
INSERT INTO emails (name, address, type) VALUES ('john', 'sales@example.org', 'list')
INSERT INTO emails (name, address, type) VALUES ('jane', 'sales@example.org', 'list')
My wish is to have something like:
INSERT INTO emails (name, address, type)
VALUES ('/path/to/script', 'sales-requests@lists.example.org', 'action')
INSERT INTO emails (name, address, type)
VALUES ('/usr/local/bin/assistent', 'assistent@example.org', 'action')
So when there is an incoming email to assistent@example.org then is program /usr/local/bin/assistent
started, it get the message body piped and processes it.
Is your feature request related to a problem?
Example use case is self subscribe and self unsubscribe to mailinglists.
Code of Conduct
- I agree to follow this project's Code of Conduct
Mauro D. commented
You could do this with a pipe or a Sieve script.