Rules Sieve

Discussion in 'Installation/Configuration' started by chua_jose, Nov 19, 2013.

  1. chua_jose

    chua_jose New Member

    Hello, good morning,
    I need to set Sieve, for the case in which an email is listed in a file make a particular choice.

    require ["copy"];
    if address "From" egrep -io '[[:graph:]]*@[[:graph:]]*' /ect/config/mails
    redirect :copy "[email protected]";

    I do not know how to pass a file to the parameter "FROM"

    the contents of the file looks like this:
    [email protected]
    [email protected]
    [email protected]

    Would appreciate any help
  2. Croydon

    Croydon ISPConfig Developer ISPConfig Developer

    Just a question:
    Why don't you set this behaviour in ISPConfig?
    There is "mail forwarding" and also a "Send copy to" function.
  3. chua_jose

    chua_jose New Member

    because only what I need to do in some cases. I just need to send a copy if the sender is in that list

Share This Page