Re: sieve and vacation?
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
Re: sieve and vacation?
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 > 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?
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: sieve and vacation?
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
Re: sieve and vacation
How are you delivering mail from the MTA? With LMTP? With the "deliver" program? If you're using the "deliver" program, be sure to use the "-r" flag and arrange for your MTA to fill in the envelope sender address on the command line. Otherwise, vacation just won't work. (It sends messages to the envelope sender only, and that only gets set properly in cyrus via LMTP or the -r flag). Michael --On Thursday, November 22, 2001 07:17:28 PM +0100 Alex Werner <[EMAIL PROTECTED]> wrote: > Hallo *, > we are using cyrus 2.0.12 with sieve. Everything is working fine but > vacation doesn't. > > this is my sievescript: ># Mail rules for user test ># Created by Websieve version 0.61h > require ["fileinto","vacation"]; > > > vacation :days 1 :addresses ["[EMAIL PROTECTED]", "[EMAIL PROTECTED]", > "[EMAIL PROTECTED]", "[EMAIL PROTECTED]"] text: > Autogenerated Message: > On vacation for the next week > . > ; > and this is the test output: > Envelope body of 'to'? [EMAIL PROTECTED] > Envelope body of 'from'? [EMAIL PROTECTED] > Have I already responded to 'da1da86583969a9d5641322a9083ae69' in 3 > days? no > echo 'Autogenerated Message: > On vacation for the next week > ' | mail -s 'Re: (no subject)' '[EMAIL PROTECTED]' for message > '/var/spool/imap/user/test/212.' > notify msg = 'You have new mail > > To: [EMAIL PROTECTED] > From: Alex Werner <[EMAIL PROTECTED]> > Subject: (no subject) > > Action(s) taken: > Sent vacation reply > ' with priority = medium > keeping message '/var/spool/imap/user/test/212.' > > If i send a mail to this user the sieve script have no effect. > > any ideas? > > > >