Webserver down?

2007-08-28 Thread Michael Menge
Hi,

I can't access the Cyrus Home Page or the WiKi. Is cyrusimap.web.cmu.edu down?

Regards

  Michael Menge


M.Menge Tel.: (49) 7071/29-70316
Universitaet Tuebingen  Fax.: (49) 7071/29-5912
Zentrum fuer Datenverarbeitung  mail:  
[EMAIL PROTECTED]
Waechterstrasse 76
72074 Tuebingen


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: tuning cyrus?

2007-08-28 Thread Bob Bob




And the integrity of the pst cache file might need
checking. This is done by running "scanpst.exe", that is somewhere in
the Office pgm directory. I have also seen some strange slowdowns using
Cyrus and a damaged pst., mostly at first opening of Outlook. Deleting
the pst file cache and allowing Outlook to recreate it is also a viable
solution, provided you aren't on a slow link and have a large mailbox.

A damaged "main" pst can also be the cause of slowdowns. This is the
one that Tasks/Contacts etc reside in and would be the normal delivery
point for POP3 mail. Both pst's by default reside in;

C:\Documents and Settings\username\Local Settings\Application
Data\Microsoft\Outlook

Another big trap with Outlook and IMAP is doing message searches. It
only searches the cached data in the pst so you have to download the
entire message set first. I'll admit I have only seen this in Outlook
2000, but assume it is the case for later versions. You may also want
to do the registry change that downloads the full IMAP header set to
the cache. (IMAPFullHeaders something) At the very least you then see
both the To: and From: fields in the message list. Very important if
you are using IMAP as a public folder like filing system.

Also look into "Compacting" the pst file. I haven't done any testing on
this but it seems to speed some Outlook operations.

Apologies for waffling on!

Cheers Bob

Ciprian Marius Vizitiu wrote:

  must always remember that Outlook keeps a local copy of the headers in a PST
file associated with that IMAP account. If that file resides on a badly
fragmented FAT32 and/or the .pst file is approaching the 2GB limit "strange
things start to happen". :-s




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

sieve and vacation?

2007-08-28 Thread Mike Eggleston
I have sieve and smartsieve working and I'm pleased so far with
what's going on. I'm testing vacation by sending messages in to
my corporate email server from the outside. I currently have rules
(re-typed from my server, some rules not typed):

-
require fileinto;
require vacation;

# save the message
fileinto INBOX.backup;

if header :contains Subject test {
  if address :contains [to,from,cc,bcc] [EMAIL PROTECTED] {
vacation :days 13 :subject I'm testing vacation I'm testing, ok?!;
keep;
  }
}

if header :contains Subject *** SPAM *** {
  fileinto INBOX.spam
} elsif header :contains Subject *** VIRUS {
  fileinto INBOX.spam
} elsif header :contains Subject /usr/bin/fetchmail {
  fileinto INBOX.spam
} elsif address :contains [to,from,cc,bcc] [EMAIL PROTECTED] {
  fileinto INBOX.hobbit
} elsif address :contains [to,from,cc,bcc] [EMAIL PROTECTED] {
  fileinto INBOX.hobbit
} else {
  filengo INBOX
}
-

My intent is for the message with a subject containing test to be
replied to by the vacation rule, then to be further processed (to simulate
my users that have extensive rules filtering messages by external
customer, etc). The bottom set of rules work, but I never receive a reply
from vacation.

See something that's stopping this from working?

Mike

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


logging sieve actions?

2007-08-28 Thread Mike Eggleston
In procmail, which I'm migrating away from at the moment, I can cause
procmail to log the 'From:', date, 'Subject:', and the folder a message
is placed into. Is there a way to have sieve log the same data? I find
the data is useful in tracking down messages users say are lost.

Mike

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: logging sieve actions?

2007-08-28 Thread Michael Menge

Hi,

if you increse the loglevel of cyrus in your syslogd you will see what sieve
did to a message, but cyrus will not log 'From:' or 'Subject:'.
The 'From:' should be logged by your MTA, but the 'Subject:' will
normaly not be logged.

Michael Menge



Quoting Mike Eggleston [EMAIL PROTECTED]:


In procmail, which I'm migrating away from at the moment, I can cause
procmail to log the 'From:', date, 'Subject:', and the folder a message
is placed into. Is there a way to have sieve log the same data? I find
the data is useful in tracking down messages users say are lost.

Mike

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.Menge Tel.: (49) 7071/29-70316
Universitaet Tuebingen  Fax.: (49) 7071/29-5912
Zentrum fuer Datenverarbeitung  mail:  
[EMAIL PROTECTED]

Waechterstrasse 76
72074 Tuebingen


smime.p7s
Description: S/MIME krytographische Unterschrift

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: Spam and sieve vacation

2007-08-28 Thread Tomas Lindroos DC


On Mon, 27 Aug 2007, Janne Peltonen wrote:

5/week? Whee. We might achieve something remotely approaching that with 
personalized bayesian filtering (a multi-discipline, internationaly 
connected university receives quite a lot of ham that looks very much 
like spam, so we are a bit paranoid about false positives).


Due to spam levels we have been disallowing vacation the last 4-5 years. 
This summer we made it possible for our users to enable an autoresponder. 
We use greylisting and spamassassin with bayesian filtering, and we are 
quite low on spam ending up in users inboxes, and also on false positives.


We don't provide vacation via sieve though, we considered it not being the 
IMAP server that should send the answers. Instead we use a home-grown 
python script on a smtp server.


Since may 73 people have actually used this service. During the last 12 
weeks 17129 messages were not answered, of which 3002 had a spam level of 
3 or more and 1103 messages would have been answered if they had come from 
inside addresses (our users can choose to answer only inside our domain).


2570 auto-replies were sent. Looking at the logs it seems that perhaps 25% 
of these replies should not have been sent and most of these can actually 
be caught with some more filters in the python script. That makes 200 
backscatter messages a week for us this summer - probably worth it, and 
the filters can be improved.


/skitta
checking out rfc3834 right now - we seem to be fairly
compliant :)
--
 Tomas 'Skitta' Lindroos.
 UNIX systems administrator, Åbo Akademi University, Computing Centre
 [EMAIL PROTECTED], +358-40-5177716
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 and vacation?

2007-08-28 Thread Michael Menge

Hi,

testing vacation scripts is alway a bit tricky. Cyrus will only send a  
vacation email to an adress if this address has not recieved an  
vacation messages from the user withhin ':days' days. You have to use  
an new email addres to test the vacation or delete the deliver.db.


You must have an running MTA for your vacation message to be send out.

 Michael


M.Menge Tel.: (49) 7071/29-70316
Universitaet Tuebingen  Fax.: (49) 7071/29-5912
Zentrum fuer Datenverarbeitung  mail:  
[EMAIL PROTECTED]

Waechterstrasse 76
72074 Tuebingen


smime.p7s
Description: S/MIME krytographische Unterschrift

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

sieve and date

2007-08-28 Thread Robert Banz


Following on to the sieve  vacation discussion -- anyone have any  
interest in the sieve date extension?  Sounds like it'd be awfully  
nice to have, for example, being able to wrap your vacation in a date- 
range conditional...

-rob

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


can sieve script flag the whole thread?

2007-08-28 Thread Zhang Weiwu
Hello.

I read the RFCs and documents I can find on the internet, it seems it's 
not possible for sieve to flag a thread.

I need such an action that not only setflag the current email, but also 
any other emails in the same thread in the  folder. This is useful to 
organize workflow in our business, each workflow is a discussion thread 
and if someone send an email to this thread with subject Done,  the 
whole thread should be flagged or moved to another folder.

Being able to setflag (or move messages) for a whole thread of 
discussion is vital to use sieve to help us organize email, otherwise 
we probably wouldn't put as much information in email and try develop a 
web application on our own. Can this be done? Help really appreciated.

Best regards
Zhang Weiwu


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: can sieve script flag the whole thread?

2007-08-28 Thread Michael Menge
Hi,

Sieve works during the process of delivery, it does not know about other
emails that have been deliverd. So it is not possible with sieve, but maybe
some MUA have the features you need.



Quoting Zhang Weiwu [EMAIL PROTECTED]:

 Hello.

 I read the RFCs and documents I can find on the internet, it seems it's
 not possible for sieve to flag a thread.

 I need such an action that not only setflag the current email, but also
 any other emails in the same thread in the  folder. This is useful to
 organize workflow in our business, each workflow is a discussion thread
 and if someone send an email to this thread with subject Done,  the
 whole thread should be flagged or moved to another folder.

 Being able to setflag (or move messages) for a whole thread of
 discussion is vital to use sieve to help us organize email, otherwise
 we probably wouldn't put as much information in email and try develop a
 web application on our own. Can this be done? Help really appreciated.

 Best regards
 Zhang Weiwu

 
 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.Menge Tel.: (49) 7071/29-70316
Universitaet Tuebingen  Fax.: (49) 7071/29-5912
Zentrum fuer Datenverarbeitung  mail:  
[EMAIL PROTECTED]
Waechterstrasse 76
72074 Tuebingen


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 and vacation?

2007-08-28 Thread Mike Eggleston
On Tue, 28 Aug 2007, Michael Menge might have said:

 Hi,
 
 testing vacation scripts is alway a bit tricky. Cyrus will only send a  
 vacation email to an adress if this address has not recieved an  
 vacation messages from the user withhin ':days' days. You have to use  
 an new email addres to test the vacation or delete the deliver.db.
 
 You must have an running MTA for your vacation message to be send out.

No worries on the MTA. Is there a way to remove items from deliver.db
so I can test more often than once per day?

Mike

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: can sieve script flag the whole thread?

2007-08-28 Thread Jorey Bump
Zhang Weiwu wrote:

 I read the RFCs and documents I can find on the internet, it seems it's 
 not possible for sieve to flag a thread.
 
 I need such an action that not only setflag the current email, but also 
 any other emails in the same thread in the  folder. This is useful to 
 organize workflow in our business, each workflow is a discussion thread 
 and if someone send an email to this thread with subject Done,  the 
 whole thread should be flagged or moved to another folder.
 
 Being able to setflag (or move messages) for a whole thread of 
 discussion is vital to use sieve to help us organize email, otherwise 
 we probably wouldn't put as much information in email and try develop a 
 web application on our own. Can this be done? Help really appreciated.

It's an interesting idea, and I've often mused on leveraging IMAP 
features to form the core of a trouble ticket system. However, you're 
going to want to reevaluate the idea of having user-created email 
content trigger events. It's fine for categorization and even some types 
of merging, but setting a ticket's status should require an explicit 
action to avoid unpredictable or externally influenced results.

You will also get better compatibility among different clients if you 
try to preserve the Subject header as much as possible.


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: can sieve script flag the whole thread?

2007-08-28 Thread Mike Eggleston
On Tue, 28 Aug 2007, Jorey Bump might have said:

 Zhang Weiwu wrote:
 
  I read the RFCs and documents I can find on the internet, it seems it's 
  not possible for sieve to flag a thread.
  
  I need such an action that not only setflag the current email, but also 
  any other emails in the same thread in the  folder. This is useful to 
  organize workflow in our business, each workflow is a discussion thread 
  and if someone send an email to this thread with subject Done,  the 
  whole thread should be flagged or moved to another folder.
  
  Being able to setflag (or move messages) for a whole thread of 
  discussion is vital to use sieve to help us organize email, otherwise 
  we probably wouldn't put as much information in email and try develop a 
  web application on our own. Can this be done? Help really appreciated.
 
 It's an interesting idea, and I've often mused on leveraging IMAP 
 features to form the core of a trouble ticket system. However, you're 
 going to want to reevaluate the idea of having user-created email 
 content trigger events. It's fine for categorization and even some types 
 of merging, but setting a ticket's status should require an explicit 
 action to avoid unpredictable or externally influenced results.
 
 You will also get better compatibility among different clients if you 
 try to preserve the Subject header as much as possible.

Have a look at gnats.

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 and vacation?

2007-08-28 Thread Mike Eggleston
On Tue, 28 Aug 2007, Michael Menge might have said:

 Hi,
 
 You can dump the contens of the deliver.db to an textfile and recreat  
 it, but this is not needed at all.
 
 The deliver.db is used for two things.
 
 1. First suspress dublicated delivery of emails and
 2. remember to which email adress an vacation message has ben send.
 
 deleting deliver.db would result in the following
 1. the user could receve an email a second time in some rare cases if  
 you MTA recieves the same massage because of an loop.
 
 2. an user would recieve an vacation message befor the ':days' days
 
 Since 1 is not a problem and 2 is what you whant, you can delete deliver.db
 after every testemail
 
 Quoting Mike Eggleston [EMAIL PROTECTED]:
 
 On Tue, 28 Aug 2007, Michael Menge might have said:
 
 Hi,
 
 testing vacation scripts is alway a bit tricky. Cyrus will only send a
 vacation email to an adress if this address has not recieved an
 vacation messages from the user withhin ':days' days. You have to use
 an new email addres to test the vacation or delete the deliver.db.
 
 You must have an running MTA for your vacation message to be send out.
 
 No worries on the MTA. Is there a way to remove items from deliver.db
 so I can test more often than once per day?
 
 Mike

Can I delete deliver.db while cyrus is running or must I stop the server,
delete the file, then start the server again?

Mike

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