Skip to content
This repository has been archived by the owner on Oct 8, 2024. It is now read-only.

[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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants