Forward email to a script with sieve

Discussion in 'Tips/Tricks/Mods' started by themark, Nov 8, 2011.

  1. themark

    themark Member

    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: [email protected]
    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.
    :)
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    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.
     
  3. themark

    themark Member

    :(:(

    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...:(
     

Share This Page