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

[enhancement]: action type #24

Open
1 task done
stappersg opened this issue Aug 3, 2023 · 1 comment
Open
1 task done

[enhancement]: action type #24

stappersg opened this issue Aug 3, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@stappersg
Copy link

stappersg commented Aug 3, 2023

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
@stappersg stappersg added the enhancement New feature or request label Aug 3, 2023
@mdecimus
Copy link
Member

mdecimus commented Aug 5, 2023

You could do this with a pipe or a Sieve script.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants