Re: sieve problem with vacation filter again.

2010-04-23 Thread Michael Menge

Hello,

in sieve there are some restrictions for vacations to prevent
mailloops and replys to mails not sent directly to the mailaddress
of the user.

The vacation rule has the option :addresses to specify additional
addresses which belong to the user. There is no way cyrus could know the
Forwarded address, so you have to add it to the rule for the vacation
to work.



Quoting Maria McKinley ma...@shadlen.org:


I have both addresses in the sieve rule. If you send a mail to the
address that gets forwarded, you do not get a response, but if you send
a mail to the direct address, you do get a vacation response.

~maria


Date: Wed, 21 Apr 2010 15:45:26 -0400
From: Joseph Brennan bren...@columbia.edu
Subject: Re: sieve problem with vacation filter again.
To: info-cyrus@lists.andrew.cmu.edu
Message-ID: 47d6211e92001626abbc9...@sodor.cc.columbia.edu
Content-Type: text/plain; charset=us-ascii; format=flowed


Maria McKinley ma...@shadlen.org wrote:


The only thing unusual about this account, that I can think of, is that
he is forwarding mail to this account from other accounts.



Did you put those other addresses in the sieve rule?


Joseph Brennan
Columbia University Information Technology



--

___
Info-cyrus mailing list
Info-cyrus@lists.andrew.cmu.edu
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus


End of Info-cyrus Digest, Vol 57, Issue 28
**


Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html






M.MengeTel.: (49) 7071/29-70316
Universität Tübingen   Fax.: (49) 7071/29-5912
Zentrum für Datenverarbeitung  mail:  
michael.me...@zdv.uni-tuebingen.de

Wächterstraße 76
72074 Tübingen

smime.p7s
Description: S/MIME Signatur

Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

Re: sieve problem with vacation filter again.

2010-04-23 Thread Maria McKinley
Thanks, I think I am already doing what you are suggesting, but not 
sure. Here is what my sieve script looks like (spam stuff makes no 
difference to vacation problem):

# This script has been automatically generated by avelsieve
# (Sieve Mail Filters Plugin for Squirrelmail)
# Warning: If you edit this manually, then the changes will not
# be reflected in the users' front-end!
#AVELSIEVE_VERSIONYTo0OntzOjU6Im1ham9yIjtpOjE7czo1OiJtaW5vciI7aTo5O3M6NzoicmVsZWFzZSI7aTo3O3M6Njoic3RyaW5nIjtzOjU6IjEuOS43Ijt9
#AVELSIEVE_CREATED1116909362
#AVELSIEVE_MODIFIED1271887955
require 
[fileinto,envelope,reject,vacation,imapflags,relational,comparator-i;ascii-numeric,regex,notify];
if
header :contains X-Spam-Flag YES
{
fileinto INBOX.spam;
}
if
true
{
vacation :days 1 :addresses 
[ma...@local.address,ma...@forwarded.address] text:
This is an automated reply; I am testing the vacation messages. You can 
safely ignore this message, I am currently checking email, and will get 
your message.

thanks,
maria
.
;
}

So, I think I am doing what you are saying, since I have both email 
addresses in the addresses section, or are you saying there is someplace 
else that forwarded addresses should go?

thanks,
maria
 
 Message: 3
 Date: Fri, 23 Apr 2010 13:47:50 +0200
 From: Michael Menge michael.me...@zdv.uni-tuebingen.de
 Subject: Re: sieve problem with vacation filter again.
 To: info-cyrus@lists.andrew.cmu.edu
 Message-ID: 20100423134750.20064db2451ml...@webmail.uni-tuebingen.de
 Content-Type: text/plain; charset=utf-8
 
 Hello,
 
 in sieve there are some restrictions for vacations to prevent
 mailloops and replys to mails not sent directly to the mailaddress
 of the user.
 
 The vacation rule has the option :addresses to specify additional
 addresses which belong to the user. There is no way cyrus could know the
 Forwarded address, so you have to add it to the rule for the vacation
 to work.
 
 
 
 Quoting Maria McKinley ma...@shadlen.org:
 
 I have both addresses in the sieve rule. If you send a mail to the
 address that gets forwarded, you do not get a response, but if you send
 a mail to the direct address, you do get a vacation response.

 ~maria

 Date: Wed, 21 Apr 2010 15:45:26 -0400
 From: Joseph Brennan bren...@columbia.edu
 Subject: Re: sieve problem with vacation filter again.
 To: info-cyrus@lists.andrew.cmu.edu
 Message-ID: 47d6211e92001626abbc9...@sodor.cc.columbia.edu
 Content-Type: text/plain; charset=us-ascii; format=flowed


 Maria McKinley ma...@shadlen.org wrote:

 The only thing unusual about this account, that I can think of, is that
 he is forwarding mail to this account from other accounts.

 Did you put those other addresses in the sieve rule?


 Joseph Brennan
 Columbia University Information Technology



 --

 ___
 Info-cyrus mailing list
 Info-cyrus@lists.andrew.cmu.edu
 https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus


 End of Info-cyrus Digest, Vol 57, Issue 28
 **
 
 Cyrus Home Page: http://cyrusimap.web.cmu.edu/
 Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
 List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

 
 
 
 
 M.MengeTel.: (49) 7071/29-70316
 Universit?t T?bingen   Fax.: (49) 7071/29-5912
 Zentrum f?r Datenverarbeitung  mail:  
 michael.me...@zdv.uni-tuebingen.de
 W?chterstra?e 76
 72074 T?bingen
 -- next part --
 A non-text attachment was scrubbed...
 Name: smime.p7s
 Type: application/pkcs7-signature
 Size: 5339 bytes
 Desc: S/MIME Signatur
 Url : 
 http://lists.andrew.cmu.edu/pipermail/info-cyrus/attachments/20100423/69f73f0e/attachment-0001.bin
  
 
 --
 
 ___
 Info-cyrus mailing list
 Info-cyrus@lists.andrew.cmu.edu
 https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus
 
 
 End of Info-cyrus Digest, Vol 57, Issue 29
 **

Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: sieve problem with vacation filter again.

2010-04-22 Thread Maria McKinley
I have both addresses in the sieve rule. If you send a mail to the 
address that gets forwarded, you do not get a response, but if you send 
a mail to the direct address, you do get a vacation response.

~maria

 Date: Wed, 21 Apr 2010 15:45:26 -0400
 From: Joseph Brennan bren...@columbia.edu
 Subject: Re: sieve problem with vacation filter again.
 To: info-cyrus@lists.andrew.cmu.edu
 Message-ID: 47d6211e92001626abbc9...@sodor.cc.columbia.edu
 Content-Type: text/plain; charset=us-ascii; format=flowed
 
 
 Maria McKinley ma...@shadlen.org wrote:
 
 The only thing unusual about this account, that I can think of, is that
 he is forwarding mail to this account from other accounts.
 
 
 Did you put those other addresses in the sieve rule?
 
 
 Joseph Brennan
 Columbia University Information Technology
 
 
 
 --
 
 ___
 Info-cyrus mailing list
 Info-cyrus@lists.andrew.cmu.edu
 https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus
 
 
 End of Info-cyrus Digest, Vol 57, Issue 28
 **

Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: sieve problem with vacation filter again.

2010-04-21 Thread Maria McKinley
Maria McKinley wrote:
 I had managed to get the vacation filter working for the user that was 
 having problems by getting rid of the database and playing around with 
 the filter forever, but it seems that the fix was only temporary. Other 
 filters still work fine, and vacation filters for other users work fine. 
  Of course, the only user that is having this problem is my boss. :-(
 The only thing unusual about this account, that I can think of, is that 
 he is forwarding mail to this account from other accounts.
 
 Any ideas what could be causing the filter to stop working?
 
 thanks,
 maria
 

I did some more testing, and the problem is the forwarding through 
gmail. Gmail must change the header somehow before sending it on. Any 
ideas on how to get around this?

thanks,
maria

Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: sieve problem with vacation filter again.

2010-04-21 Thread Joseph Brennan

Maria McKinley ma...@shadlen.org wrote:

 The only thing unusual about this account, that I can think of, is that
 he is forwarding mail to this account from other accounts.


Did you put those other addresses in the sieve rule?


Joseph Brennan
Columbia University Information Technology


Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html