[Dovecot] simple steps with sieve

Pascal Volk user+dovecot at localhost.localdomain.org
Mon Oct 19 18:21:15 EEST 2009


On 10/19/2009 05:03 PM Gavin Hamill wrote:
> Today is my first day with sieve, so be gentle :) I'm trying to set up a
> pretty webmail interface to our Dovecot 1.2.4 server using roundcube.
> The managesieve config + roundcube 'managesieve' plugin work fine, and
> I'm able to use roundcube's UI to generate .dovecot.sieve files.
> 
> We use winbind + LDAP lookups to do some exotic mail rewriting...
> ultimately user.name at domain.com gets rewritten to 'ar-cloh at localhost',
> and in /home/AD/ar-cloh/.dovecot.sieve there is only this:
> 
> require ["vacation"];
> # rule:[gdh_test]
> if anyof (header :contains "Subject" "test")
> {
>         vacation "test away";
> }
> 
> When I send an email to the user, I see this in the mail.log
> 
> Oct 19 15:39:43 ar-smtp-1 dovecot: deliver(ar-cloh): sieve:
> msgid=<1255963176.14420.31.camel at gdh-work>: discarding vacation response
> for message implicitly delivered to <ar-cloh at ar-smtp-1>
> 
> I don't understand; sending a vacation for implicitly-delivered messages
> sounds exactly like what I want - is there any way to say 'do this
> anyway' ?
> 
> gdh
> 

You are missing the 'addresses:' list in your vacation script. See
http://wiki.dovecot.org/LDA/Sieve#Vacation_auto-reply-1 for more details.


Regards,
Pascal
-- 
The trapper recommends today: fabaceae.0929217 at localdomain.org


More information about the dovecot mailing list