[Dovecot] Problems with sieve
Hello,
I am trying to setup an Email Server with Exim, dovecot and sieve
support. I am not sure about the settings for Sieve, right now
its's not working properly:
user: test3@gewaltphantasien.de maildir: /var/mails/gewaltphantasien.de/test3
I have the .dovecot.sieve file in the root dir of the users emails:
root@ubuntu:/var/mails/gewaltphantasien.de/test3# cat /var/mails/gewaltphantasien.de/test3/.dovecot.sieve require "vacation"; vacation # Reply at most once a day to a same sender :days 1 :subject "Out of office reply" # List of additional recipient addresses which are included in the auto replying. # If a mail's recipient is not the envelope recipient and it's not on this list, # no vacation reply is sent for it. :addresses ["test3@gewaltphantasien.de", "john.doe@company.dom"] "I'm out of office, please contact Joan Doe instead. Best regards John Doe";
Incoming email looks like: Sep 5 15:45:01 ubuntu deliver(test3@gewaltphantasien.de): auth input: maildir=gewaltphantasien.de/test3 Sep 5 15:45:01 ubuntu deliver(test3@gewaltphantasien.de): auth input: uid=1001 Sep 5 15:45:01 ubuntu deliver(test3@gewaltphantasien.de): auth input: gid=1001 Sep 5 15:45:01 ubuntu deliver(test3@gewaltphantasien.de): Home dir not found: Sep 5 15:45:01 ubuntu deliver(test3@gewaltphantasien.de): maildir: data=/var/mails/gewaltphantasien.de/test3 Sep 5 15:45:01 ubuntu deliver(test3@gewaltphantasien.de): maildir++: root=/var/mails/gewaltphantasien.de/test3, index=, control=, inbox=/var/mails/gewaltphantasien.de/test3 !!!! Sep 5 15:45:01 ubuntu deliver(test3@gewaltphantasien.de): cmusieve: /.dovecot.sieve doesn't exist !!!! Sep 5 15:45:01 ubuntu spamd[15032]: prefork: child states: II Sep 5 15:45:01 ubuntu deliver(test3@gewaltphantasien.de): msgid=: saved mail to INBOXf saved mail to INBOX
Sieve settings in dovecot.conf: sieve=/var/mails/%d/%n/.dovecot.sieve sieve_storage=/var/mails/%d/%n/sieve
Any ideas ? Thanks!
-- www.stonki.de www.proftpd.de www.kbarcode.net www.krename.net
Am Samstag, 5. September 2009 schrieb Stefan Onken:
Hello,
I am trying to setup an Email Server with Exim, dovecot and sieve support. I am not sure about the settings for Sieve, right now its's not working properly:
to give some more information:
sieve script with redirect is working fine http://www.pastebin.org/15357
vacation is not working. Also .dovecot.lda-dupes is NOT created.
Maybe a problem with my virtual users without a homedir ?
Maybe a problem with my virtual users ?
-- www.stonki.de www.proftpd.de www.kbarcode.net www.krename.net
On 09/06/2009 01:00 PM Stefan Onken wrote:
Am Samstag, 5. September 2009 schrieb Stefan Onken:
Hello,
I am trying to setup an Email Server with Exim, dovecot and sieve support. I am not sure about the settings for Sieve, right now its's not working properly:
to give some more information:
sieve script with redirect is working fine http://www.pastebin.org/15357
vacation is not working. Also .dovecot.lda-dupes is NOT created.
Maybe a problem with my virtual users without a homedir ?
The pastes are identical, except for the first line.
Maybe a problem with my virtual users ?
Maybe. ;)
A homedir is always a good idea, also for virtual users. The place for
the Maildir/dbox/mbox and sieve stuff.
Please include the output from dovecot -n
in your reply.
Regards, Pascal
The trapper recommends today: f007ba11.0924916@localdomain.org
Am Sonntag, 6. September 2009 schrieb Pascal Volk:
Maybe. ;) A homedir is always a good idea, also for virtual users. The place for the Maildir/dbox/mbox and sieve stuff. Please include the output from
dovecot -n
in your reply.
actually exim supports defining a homedir. With the exim option "home_directory = /var/mails/${domain}/${local_part}/" its working fine. The main problem for me was, that I am testing my server with telnet access to port 25... somehow sieve ignores my tries via telnet, when I sent a "real" email it was working fine...
-- www.stonki.de www.proftpd.de www.kbarcode.net www.krename.net
participants (2)
-
Pascal Volk
-
Stefan Onken