PDA

View Full Version : Forward email to a script with sieve


themark
8th November 2011, 15:39
Hi guys,

is there a way to redirect the mail sent to a specific email address to a script, with sieve? (or with something of different..)

What i mean it's for example what i can do with the file .qmail-emailddress (with qmail).

-- Example --------------------------

Receiver Email: mymail@mydomain.com
Content of .qmail-mymail:

"|/path/to/myscript.py"
-------------------------------------

In this example qmail grab the mail and "forward" to the specified script.
With sieve (or in ispconfig server configuration....) it's possibile get the same result?


Thank you.
:)

till
8th November 2011, 15:45
As far as I know, sieve has no such function. With courier and maildrop it would be possible to do that in ispconfig, but not with dovecot.

themark
8th November 2011, 16:03
As far as I know, sieve has no such function. With courier and maildrop it would be possible to do that in ispconfig, but not with dovecot.
:(:(

well we have dovecot, so we need to user sieve...so is not supported the forward to an external script...so i think that I need to find a workaround...:(