move shells scripts to dovecote dir

This commit is contained in:
psy 2021-02-12 16:05:19 +01:00
parent 420bcb1b98
commit 56d014d311
No known key found for this signature in database
GPG key ID: DFF5B17AC3A8ECF5
3 changed files with 3 additions and 3 deletions

View file

@ -2,4 +2,4 @@ require ["vnd.dovecot.pipe", "copy", "imapsieve", "variables"];
if string "${mailbox}" "Trash" {
stop;
}
pipe :copy "/usr/local/bin/rspamd-learn-ham.sh";
pipe :copy "rspamd-learn-ham.sh";

View file

@ -1,2 +1,2 @@
require ["vnd.dovecot.pipe", "copy", "imapsieve"];
pipe :copy "/usr/local/bin/rspamd-learn-spam.sh";
pipe :copy "rspamd-learn-spam.sh";

View file

@ -51,7 +51,7 @@
- name: copy shellscripts
copy:
src: "{{ item }}"
dest: "/usr/local/bin/{{ item }}"
dest: "/etc/dovecot/sieve/{{ item }}"
mode: a+x
with_items:
- rspamd-learn-spam.sh