Don't output preamble
This commit is contained in:
parent
bbdc7c77d5
commit
c28ab701f5
1 changed files with 3 additions and 2 deletions
|
@ -17,7 +17,8 @@ fn main() {
|
||||||
}
|
}
|
||||||
|
|
||||||
fn generate_sieve_script(redirects: BTreeMap<String, Vec<String>>) -> String {
|
fn generate_sieve_script(redirects: BTreeMap<String, Vec<String>>) -> String {
|
||||||
let mut script : String = "require [\"envelope\", \"copy\"];\n\n".to_string();
|
// let mut script : String = "require [\"envelope\", \"copy\"];\n\n".to_string();
|
||||||
|
let mut script : String = "".to_string();
|
||||||
for (redirect, mut destinations) in redirects {
|
for (redirect, mut destinations) in redirects {
|
||||||
script += format!("if envelope :is \"to\" \"{}\" {{\n{}}}\n", redirect,
|
script += format!("if envelope :is \"to\" \"{}\" {{\n{}}}\n", redirect,
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue