Ok, merci
Je n'ai plus d'erreur sur le script, par contre je ne reçois pas le mail :/
Voici les log :
ec 16 16:47:39 lmtp(contact@xxxx)<33891><ru4KNxss2l9jhAAArbW9Ew>: Debug: sieve: Sieve Extprograms plugin for Pigeonhole version 0.5.4 () loaded
Dec 16 16:47:39 lmtp(contact@xxxx)<33891><ru4KNxss2l9jhAAArbW9Ew>: Debug: sieve: file storage: Using active Sieve script path: /var/mail/vhosts/xxxx/contact/.dovecot.sieve
Dec 16 16:47:39 lmtp(contact@xxxx)<33891><ru4KNxss2l9jhAAArbW9Ew>: Debug: sieve: file storage: Using script storage path: /var/mail/vhosts/xxxx/contact/sieve
Dec 16 16:47:39 lmtp(contact@xxxx)<33891><ru4KNxss2l9jhAAArbW9Ew>: Debug: sieve: file storage: Relative path to sieve storage in active link: sieve/
Dec 16 16:47:39 lmtp(contact@xxxx)<33891><ru4KNxss2l9jhAAArbW9Ew>: Debug: sieve: file storage: Using Sieve script path: /var/mail/vhosts/xxxx/contact/.dovecot.sieve
Dec 16 16:47:39 lmtp(contact@xxxx)<33891><ru4KNxss2l9jhAAArbW9Ew>: Debug: sieve: file script: Opened script `dovecot' from `/var/mail/vhosts/xxxx/contact/.dovecot.sieve'
Dec 16 16:47:39 lmtp(contact@xxxx)<33891><ru4KNxss2l9jhAAArbW9Ew>: Debug: sieve: Using the following location for user's Sieve script: /var/mail/vhosts/xxxx/contact/.dovecot.sieve
Dec 16 16:47:39 lmtp(contact@xxxx)<33891><ru4KNxss2l9jhAAArbW9Ew>: Debug: sieve: Opening script 1 of 1 from `/var/mail/vhosts/xxxx/contact/.dovecot.sieve'
Dec 16 16:47:39 lmtp(contact@xxxx)<33891><ru4KNxss2l9jhAAArbW9Ew>: Debug: sieve: Loading script /var/mail/vhosts/xxxx/contact/.dovecot.sieve
Dec 16 16:47:39 lmtp(contact@xxxx)<33891><ru4KNxss2l9jhAAArbW9Ew>: Debug: sieve: Script binary /var/mail/vhosts/xxxx/contact/.dovecot.svbin successfully loaded
Dec 16 16:47:39 lmtp(contact@xxxx)<33891><ru4KNxss2l9jhAAArbW9Ew>: Debug: sieve: binary save: not saving binary /var/mail/vhosts/xxxx/contact/.dovecot.svbin, because it is already stored
Dec 16 16:47:39 lmtp(contact@xxxx)<33891><ru4KNxss2l9jhAAArbW9Ew>: Debug: sieve: Executing script from `/var/mail/vhosts/xxxx/contact/.dovecot.svbin'
Dec 16 16:47:39 lmtp(contact@xxxx)<33891><ru4KNxss2l9jhAAArbW9Ew>: Debug: sieve: action execute: running program: test.sh
Dec 16 16:47:39 lmtp(contact@xxxx)<33891><ru4KNxss2l9jhAAArbW9Ew>: Debug: Mailbox INBOX: Mailbox opened because: lib-lda delivery
Dec 16 16:47:42 imap(contact@xxxx)<33894><DfW6y5a2YogAAAAAAAAAAAAAAAAAAAAB>: Debug: Effective uid=5000, gid=5000, home=/var/mail/vhosts/xxxx/contact
Dec 16 16:47:42 imap(contact@xxxx)<33894><DfW6y5a2YogAAAAAAAAAAAAAAAAAAAAB>: Debug: Namespace inbox: type=private, prefix=, sep=, inbox=yes, hidden=no, list=yes, subscriptions=yes location=maildir:/var/mail/vhosts/xxxx/contact/mail