smtp-server icon indicating copy to clipboard operation
smtp-server copied to clipboard

[enhancement]: action type

Open stappersg opened this issue 2 years ago • 1 comments

Which feature or improvement would you like to request?

Based on

INSERT INTO emails (name, address, type) VALUES ('john', '[email protected]', 'list')
INSERT INTO emails (name, address, type) VALUES ('jane', '[email protected]', 'list')

My wish is to have something like:

INSERT INTO emails (name, address, type)
 VALUES ('/path/to/script', '[email protected]', 'action')
INSERT INTO emails (name, address, type)
 VALUES ('/usr/local/bin/assistent', '[email protected]', 'action')

So when there is an incoming email to [email protected] 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

  • [X] I agree to follow this project's Code of Conduct

stappersg avatar Aug 03 '23 18:08 stappersg

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

mdecimus avatar Aug 05 '23 17:08 mdecimus