ravenpl
asked on
Dovecot sieve and vacation - does not work?
I have installed Fedora9 with dovecot and sieve plugin.
I have created $HOME/.dovecot.sieve with following content
require "vacation";
if header :contains "from" "me@site.tld"
{
vacation "I'm away till testing end";
}
yet it's not working. I even tried following content only
vacation "I'm away till testing end";
not working as well.
after I receive a message $HOME/.dovecot.sievec is created(means sieve plugin works) yet no $HOME/.dovecot.lda-dupes as expected.
Note, that I'm sending message from me@site.tld, which is external account(say gmail).
If I configured dovecot/deliver to run in debug mode, sieve puts following messages to the syslog
Oct 28 15:16:15 mail deliver(user): cmusieve: Using sieve path: /home/user/.dovecot.sieve
Oct 28 15:16:15 mail deliver(user): cmusieve: Executing script /home/user/.dovecot.sievec
and nothing else. no information about any reply.
What next?
I have created $HOME/.dovecot.sieve with following content
require "vacation";
if header :contains "from" "me@site.tld"
{
vacation "I'm away till testing end";
}
yet it's not working. I even tried following content only
vacation "I'm away till testing end";
not working as well.
after I receive a message $HOME/.dovecot.sievec is created(means sieve plugin works) yet no $HOME/.dovecot.lda-dupes as expected.
Note, that I'm sending message from me@site.tld, which is external account(say gmail).
If I configured dovecot/deliver to run in debug mode, sieve puts following messages to the syslog
Oct 28 15:16:15 mail deliver(user): cmusieve: Using sieve path: /home/user/.dovecot.sieve
Oct 28 15:16:15 mail deliver(user): cmusieve: Executing script /home/user/.dovecot.sievec
and nothing else. no information about any reply.
What next?
ASKER
Yes - I have read the text from http://wiki.dovecot.org/LDA/Sieve#head-f083c4265adca5ce0fecf17d7684bd2dedbd5812 already.
Anything else?
Anything else?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Sorry, this was an overlap.
No, nothing else from my side.
I could ask my colleague when he's back, but that's all I could do.
wmp
No, nothing else from my side.
I could ask my colleague when he's back, but that's all I could do.
wmp
ASKER
Damn, You right. The stupid sieve could not resolve my address correctly.
From the http://www.pmdf.process.com/app-notes/sieve/draft-showalter-sieve-vacation-01.html
"Users can supply additional mail addresses that are theirs with the ":addresses" argument, which takes a string-list listing additional addresses that a user might have."
I just assumed it will find my address. I wonder what it found instead.
From the http://www.pmdf.process.com/app-notes/sieve/draft-showalter-sieve-vacation-01.html
"Users can supply additional mail addresses that are theirs with the ":addresses" argument, which takes a string-list listing additional addresses that a user might have."
I just assumed it will find my address. I wonder what it found instead.
the following hint was useful for one of my colleagues>
A list of autoreplied senders is stored in .dovecot.lda-dupes file in user's home directory.
The reply is sent only once in the number of configured days. If you've problems getting the vacation reply, try deleting this file. If that didn't help, make sure the problem isn't related to sending mails in general by trying the "reject" Sieve command.
The automatic replies aren't sent if any of the following is true:
Auto-Submitted: header exists with any value except "no"
Precedence: header exists with value "junk", "bulk" or "list"
The envelope sender
begins with "MAILER-DAEMON" (case-insensitive)
begins with "LISTSERV" (case-insensitive)
begins with "majordomo" (case-insensitive)
begins with "owner-" (case-sensitive)
contains the string "-request" anywhere within it (case-sensitive)
The envelope sender and envelope recipient are the same
The envelope recipient is not found in the message To:, Cc: or Bcc: fields.
A bare username without a domain gets canonicalised by the libsieve code to "<username>@unspecified-do
wmp