[Dovecot] sieve unresolved problem
hello, I have submitted a few weeks ago problem on sieve implementantion but there not useful solution for me at this time. I think that it depend on my mail architecture : _One NFS server _two dovecot POP/IMAP server (for pop and webmail access) : the POP/IMAP don't run dovecot LDA _two delivery serveur with exim and dovecot LDA : they communicate with external relay servers and deliver mail in box.
The mailbox format is maildir and the dovecot version is 1.0 rc2 Question : On which server and how to implement sieve for dovecot.
Regards
Amadou TOURE
Amadou Toure wrote:
_two delivery serveur with exim and dovecot LDA : they communicate with external relay servers and deliver mail in box.
The mailbox format is maildir and the dovecot version is 1.0 rc2 Question : On which server and how to implement sieve for dovecot.
All servers running the dovecot LDA must have sieve installed, since the sieve processing only occurs during the delivery process.
HTH
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
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 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:00 PM Subject: Re: [Dovecot] sieve unresolved problem
Amadou Toure wrote:
_two delivery serveur with exim and dovecot LDA : they communicate with external relay servers and deliver mail in box. The mailbox format is maildir and the dovecot version is 1.0 rc2 Question : On which server and how to implement sieve for dovecot.
All servers running the dovecot LDA must have sieve installed, since the sieve processing only occurs during the delivery process.
HTH
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 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
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
participants (2)
-
Amadou Toure
-
John Peacock