|
List Info
Thread: Re: question about sieve script
|
|
| Re: question about sieve script |

|
2007-03-21 05:31:40 |
|
Sievescript is ran at delivery time. But distribution list have no mailbox, then their is no delivery. Distribution list is just a ldap object that postfix use to "duplicate" the emails to multiple addresses that are then delivered into local cyrus mailbox.
You can what you want by simulating a distribution list inside a sieve script :
if header :contains ["To", "Cc", "Bcc"] " distlist example.org">distlist example.org
" { if header :contains "Subject" "*myname*" { redirect " myname example.org">myname example.org"; }} else { redirect " recipients1 example.or">
recipients1 example.or" redirect " recipients2 example.or">recipients2 example.or"
redirect " recipients3 example.or">recipients3 example.or"
redirect " recipients4 example.or">recipients4 example.or"
fileinto "INBOX"; }
On 3/21/07, bud.golf4 < bud.golf4 laposte.net">bud.golf4 laposte.net> wrote:
hello all,
one question, how can i put a sieve script in a distribution list ??
is it possible? this command failed with a distribution list: /kolab/bin/sieveshell --user= distlist example.org">
distlist example.org --authname=manager localhost
the reason is i want to filter when a message arrive in a dist list, if there is the name of the recipient in the subject only it and the person in charge of the service can receive
the mail, like this:
if header :contains ["To", "Cc", "Bcc"] " distlist example.org">distlist example.org" { if header :contains "Subject" "*myname*" {
redirect " myname example.org">myname example.org"; }} else { fileinto "INBOX"; }
how can i do this? thanks for your help.
Envoyez vos cartes de voeux depuis
www.laposte.net Elles seront ensuite distribuées par le facteur : pratique et malin !
_______________________________________________ Kolab-users mailing list Kolab-users kolab.org">
Kolab-users kolab.org https://kolab.org/mailman/listinfo/kolab-users
-- -- Alain Spineux aspineux gmail com
May the sources be with you
|
[1]
|
|
|
about | contact Other archives ( Real Estate discussion Medical topics )
|