[Dovecot] sieve problem unresolved
hello, I follow your suggestions : _cyrus timsieved installed on the two LDA server _the sieve script stored in the /var/home (which is the virtual home directory) and in /var/mail/user/ for testing purposes
But nothing happened when the user receive a email. Below the sieve script. Regards #################################################### # This script has been automatically generated by avelsieve # (Sieve Mail Filters Plugin for Squirrelmail) #AVELSIEVE_VERSIONYTo0OntzOjU6Im1ham9yIjtpOjE7czo1OiJtaW5vciI7aTowO3M6NzoicmVsZWFzZSI7aToxO3M6Njoic3RyaW5nIjtzOjU6IjEuMC4xIjt9 #AVELSIEVE_CREATED1157627930 #AVELSIEVE_MODIFIED1157628524 require ["fileinto","reject","vacation","imapflags","relational","comparator-i;ascii-numeric","regex","notify","redirect"]; if header :contains "subject" ["order", "test"] { keep; redirect "amadou.toure@sentoo.sn"; } vacation # Reply at most once a day to a same sender :days 0 :subject "Out of office reply" # List of allowed recipient addresses from auto reply should be sent. :addresses ["ctsarr@sentoo.sn"] "I'm out of office, please contact Amadou TOURE instead.
Best regards CHEIKH SARR";
#################################################### Amadou TOURE Sonatel Multimedia, 136 Sacre Coeur, Pyrotechnie, BP 21100 Dakar Tel +221-8699810. Fax +221-8641094 http://www.sentoo.sn DAKAR - SENEGAL ----- Original Message ----- From: "John Peacock" <jpeacock@rowman.com> To: "Amadou Toure" <atoure@sentoo.sn> Cc: <dovecot@dovecot.org> Sent: Monday, September 11, 2006 2:44 PM Subject: Re: [Dovecot] sieve unresolved problem
Amadou Toure wrote:
What about the directory sieve script storage ? We use avelsieve on the squirrel mail web interface to edit and create script and the script are stored on the /var/home/first letter/username/ (shared across the NFS) but it seems that at the delivery process the LDA doesn't execute the script
You can't just place the sieve script in some random location and expect dovecot to magically find it. Right now, the only place that deliver expects to find the script (and it *must* be named .dovecot.sieve) is in the [virtual] user's home directory. After 1.0 is golden, I would expect that Timo might have some time to make that configurable, but I wouldn't want to hold up dovecot trying to get that working now.
John
-- John Peacock Director of Information Research and Technology Rowman & Littlefield Publishing Group 4501 Forbes Boulevard Suite H Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5748
Amadou TOURE Sonatel Multimedia, 136 Sacre Coeur, Pyrotechnie, BP 21100 Dakar Tel +221-8699810. Fax +221-8641094 http://www.sentoo.sn DAKAR - SENEGAL
Amadou Toure wrote:
hello, I follow your suggestions : _cyrus timsieved installed on the two LDA server _the sieve script stored in the /var/home (which is the virtual home directory) and in /var/mail/user/ for testing purposes
Is the sieve script names .dovecot-sieve? Is it located in the *user's* home directory (i.e. where that user's mail is delivered)? Is the sieve script readable by the user account that is delivering the message?
John
-- John Peacock Director of Information Research and Technology Rowman & Littlefield Publishing Group 4501 Forbes Boulevard Suite H Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5748
hello, please efind the responses below
Is the sieve script names .dovecot-sieve? Yes Is it located in the *user's* home directory (i.e. where that user's mail is delivered)? Yes, for example for the ctsarr's user directory, i copy the file in the /var/spool/mail/c/ctsarr and /var/spool/mail/c/ctsarr/maildir Is the sieve script readable by the user account that is delivering the message? Yes, the user account that is delivering the message is vmail regards Amadou TOURE Sonatel Multimedia, 136 Sacre Coeur, Pyrotechnie, BP 21100 Dakar Tel +221-8699810. Fax +221-8641094 http://www.sentoo.sn DAKAR - SENEGAL ----- Original Message ----- From: "John Peacock" <jpeacock@rowman.com> To: "Amadou Toure" <atoure@sentoo.sn> Cc: <dovecot@dovecot.org> Sent: Monday, September 25, 2006 3:53 PM Subject: Re: [Dovecot] sieve problem unresolved
Amadou Toure wrote:
hello, I follow your suggestions : _cyrus timsieved installed on the two LDA server _the sieve script stored in the /var/home (which is the virtual home directory) and in /var/mail/user/ for testing purposes
Is the sieve script names .dovecot-sieve? Is it located in the *user's* home directory (i.e. where that user's mail is delivered)? Is the sieve script readable by the user account that is delivering the message?
John
-- John Peacock Director of Information Research and Technology Rowman & Littlefield Publishing Group 4501 Forbes Boulevard Suite H Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5748
participants (2)
-
Amadou Toure
-
John Peacock