Hello, good morning, I need to set Sieve, for the case in which an email is listed in a file make a particular choice. Ex: 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
Just a question: Why don't you set this behaviour in ISPConfig? There is "mail forwarding" and also a "Send copy to" function.
because only what I need to do in some cases. I just need to send a copy if the sender is in that list