RE: general question, how to do this?
That should work fine. David Gottschalk UTS Email team david.gottsch...@emory.edu -Original Message- From: info-cyrus-bounces+dgottsc=emory@lists.andrew.cmu.edu [mailto:info-cyrus-bounces+dgottsc=emory@lists.andrew.cmu.edu] On Behalf Of Mike Eggleston Sent: Wednesday, November 11, 2009 2:09 PM To: info-cyrus@lists.andrew.cmu.edu Subject: general question, how to do this? Morning, One user is out sick, another user asked me to search the first user's email for a specific message. If I had found that message and the second user wanted to access that message in the second user's normal INBOX would I do this: # cd /var/spool/imap/a/user/auser # cp 99. /var/spool/imap/b/user/buser # su - cyrus # reconstruct -r user.buser # exit # exit The message was not found, so no urgent need for this. I want to know how for next time. 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 This e-mail message (including any attachments) is for the sole use of the intended recipient(s) and may contain confidential and privileged information. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message (including any attachments) is strictly prohibited. If you have received this message in error, please contact the sender by reply e-mail message and destroy all copies of the original message (including attachments). 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: Vacation not working (solved)
Gary, I actually have this file in my /usr/share/sendmail-cf/mailer folder already. Is there something special I have to do to make sendmail build this into the .cf file? I didn't think there was, but maybe I'm missing something. Thanks. David Gottschalk UTS Email team david.gottsch...@emory.edu -Original Message- From: Garry Glendown [mailto:ga...@glendown.de] Sent: Wednesday, May 27, 2009 11:18 PM To: Gottschalk, David Subject: Re: Sieve: Vacation not working (solved) Gottschalk, David wrote: I put the lines in my sendmail.mc file then built the sendmail.cf file. I'm running a old version of Redhat. Sendmail version is 8.12.11. That could be the cause of the problem ... I reckon 8.12 doesn't have the cyrusv2 mailer config files yet ... if you have access to some newer systems, try whether you can copy the files from /usr/share/sendmail/mailer/cyrusv2.m4 (or similar) to your system and see if that gets it working ... The resulting .cf has these differences on my system: (SuSE Enterprise 10 w/ sendmail 8.13): 787c786 R@ $#cyrus $: @ special case error msgs --- R@ $#cyrusv2 $: @special case error msgs 866,867c865,866 R$=L @ $=w . $#cyrus $: @ $1 special local names R$+ @ $=w .$#cyrus $: $1 regular local name --- R$=L @ $=w . $#cyrusv2 $: @ $1 special local names R$+ @ $=w .$#cyrusv2 $: $1 regular local name 889,890c888,889 R$=L $#cyrus $: @ $1 special local names R$+ $#cyrus $: $1 regular local names --- R$=L $#cyrusv2 $: @ $1 special local names R$+ $#cyrusv2 $: $1 regular local names 907,908c906,907 R$+ + * $#cyrus $@ $h $: $1 R$+ + $* $#cyrus $@ + $2 $: $1 + * --- R$+ + * $#cyrusv2 $@ $h $: $1 R$+ + $* $#cyrusv2 $@ + $2 $: $1 + * 921c920 R $+ + $* $#cyrus $@ $2 $: @ $1 strip the extra + --- R $+ + $* $#cyrusv2 $@ $2 $: @ $1 strip the extra + 975,976c974,975 R $* @ $* $* $#cyrus $@ $...@$2 $: $1 R $+ $#cyrus $@ $1$: $1 --- R $* @ $* $* $#cyrusv2 $@ $...@$2 $: $1 R $+ $#cyrusv2 $@ $1$: $1 982,983c981,982 R $+ $* @ $* $* $#cyrus $@ $...@$3 $: $1 R $+ $*$#cyrus $@ $2$: $1 --- R $+ $* @ $* $* $#cyrusv2 $@ $...@$3 $: $1 R $+ $*$#cyrusv2 $@ $2$: $1 1873,1877c1872,1874 ## ### Cyrus Mailer specification ### ## # $Id: cyrus.m4,v 8.23 2001/11/12 23:11:34 ca Exp $ (Carnegie Mellon) # --- # ### Cyrus V2 Mailer specification ### # 1878a1876 # $Id: cyrusv2.m4,v 1.1 2002/06/01 21:14:57 ca Exp $ # 1880,1886c1878,1881 Mcyrus, P=/usr/lib/cyrus/bin/deliver, F=lsDFMnPqAh5@/:|, S=EnvFromL, R=EnvToL/HdrToL, U=cyrus:mail, T=DNS/RFC822/X-Unix, A=deliver -e -f $f -m $h -- $u Mcyrusbb, P=/usr/lib/cyrus/bin/deliver, F=lsDFMnPu, S=EnvFromL, R=EnvToL/HdrToL, U=cyrus:mail, T=DNS/RFC822/X-Unix, A=deliver -e -m $u --- Mcyrusv2, P=[IPC], F=lsDFMnqXzA@/:|m, S=EnvFromSMTP/HdrFromL, R=EnvToL/HdrToL, E=\r\n, T=DNS/RFC822/SMTP, A=FILE /var/lib/imap/socket/lmtp This e-mail message (including any attachments) is for the sole use of the intended recipient(s) and may contain confidential and privileged information. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message (including any attachments) is strictly prohibited. If you have received this message in error, please contact the sender by reply e-mail message and destroy all copies of the original message (including attachments). 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: Vacation not working (My issue resolved!!)
Good news! I was able to get it working. I had the lines in the wrong order, and that apparently caused sendmail to not recognize the mailer. Now, the vacation replies are working, and it appears sieve is working well. Thanks to everyone for their help! David Gottschalk UTS Email team david.gottsch...@emory.edu -Original Message- From: Garry [mailto:ga...@glendown.de] Sent: Thursday, May 28, 2009 10:17 AM To: Gottschalk, David Subject: Re: Sieve: Vacation not working (solved) Gottschalk, David wrote: Oh, one thing I forgot to mention. I got the unknown mailer error in a SMTP conversation after rebuilding the .cf file. I didn't get it when doing a make on the .mc file, or even when restarting sendmail. Phew ... sounds weird ... normally, m4 barfs when there is something wrong or missing ... please note that I pulled th lines apart, having the first two well above any MAILER lines, and the MAILER(cyrusv2) at the end ... dunno if that might cause a problem with your setup ... This e-mail message (including any attachments) is for the sole use of the intended recipient(s) and may contain confidential and privileged information. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message (including any attachments) is strictly prohibited. If you have received this message in error, please contact the sender by reply e-mail message and destroy all copies of the original message (including attachments). 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: Vacation not working (solved)
Good news! I'm thinking that is the same issue I have. I will be trying it out today off hours, and report what I find. David Gottschalk UTS Email team david.gottsch...@emory.edu -Original Message- From: info-cyrus-bounces+dgottsc=emory@lists.andrew.cmu.edu [mailto:info-cyrus-bounces+dgottsc=emory@lists.andrew.cmu.edu] On Behalf Of Garry Sent: Wednesday, May 27, 2009 3:45 PM To: info-cyrus@lists.andrew.cmu.edu Subject: Re: Sieve: Vacation not working (solved) Well, found another post on this ... seems to be that depending on the way the MTA does the local delivery causes vacation (and only vacation) to work or not... Originally, I had this in my .mc file: define(`confLOCAL_MAILER', `cyrus')dnl ifdef(`CYRUS_MAILER_ARGS',, `define(`CYRUS_MAILER_ARGS', `deliver -e -f $f -m $h -- $u')') dnl MAILER(`cyrus')dnl After replacing this with: define(`confLOCAL_MAILER',`cyrusv2')dnl define(`CYRUSV2_MAILER_ARGS',`FILE /var/lib/imap/socket/lmtp')dnl MAILER(cyrusv2)dnl I finally got vacation replies from Cyrus ... -garry 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 This e-mail message (including any attachments) is for the sole use of the intended recipient(s) and may contain confidential and privileged information. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message (including any attachments) is strictly prohibited. If you have received this message in error, please contact the sender by reply e-mail message and destroy all copies of the original message (including attachments). 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: Vacation not working
Check out my thread going on this. I'm having the same issue. How do you hand off mail from Sendmail to Cyrus? I'm thinking that could be my issue, maybe yours too. David Gottschalk UTS Email team david.gottsch...@emory.edu -Original Message- From: info-cyrus-bounces+dgottsc=emory@lists.andrew.cmu.edu [mailto:info-cyrus-bounces+dgottsc=emory@lists.andrew.cmu.edu] On Behalf Of Garry Sent: Monday, May 25, 2009 4:12 PM To: info-cyrus@lists.andrew.cmu.edu Subject: Sieve: Vacation not working I have a SuSE Enterprise 10 system set up, which is running smoothly ... I have Cyrus 2.2.12 on it, which too is working fine - IMAP, SASL-Auth, the whole 9 yards ... even Sieve itself is fine, messages are moved to the appropriate folders as directed in the Sieve config ... Here's an excerpt from the Sieve script: require [ vacation , fileinto ] ; ## Flag: |UniqueId:1|Rulename: SpamMsg if header :contains From gkg { fileinto INBOX.Spam ; } ## Flag: vacation|UniqueId:0|Rulename: Abwesenheitsbenachrichtigung if true { vacation :days 7 :addresses [ ad...@ox6.mydomain.de , ad...@mydomain.de ] :subject Ich bin nicht da ... blah ; } The message is received, but according to /var/log/messages, nothing happens apart from it being stored locally ... I'm somewhat at a loss as to where else I can check for the reason of it not working ... couldn't find anything on Google that would have been helpful, either ... maybe somebody could point me in the right direction ... ?! Tnx, -garry 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 This e-mail message (including any attachments) is for the sole use of the intended recipient(s) and may contain confidential and privileged information. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message (including any attachments) is strictly prohibited. If you have received this message in error, please contact the sender by reply e-mail message and destroy all copies of the original message (including attachments). 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: Cyrus + Sieve
Do you mean the From: header line? I have multiple Received: headers since the message had to transverse multiple servers to get to the Cyrus server. What is the Return-Path: dgot...@servername signify? I'm wondering if that is the problem. David Gottschalk UTS Email team david.gottsch...@emory.edu -Original Message- From: info-cyrus-bounces+dgottsc=emory@lists.andrew.cmu.edu [mailto:info-cyrus-bounces+dgottsc=emory@lists.andrew.cmu.edu] On Behalf Of Adam Tauno Williams Sent: Tuesday, May 26, 2009 8:42 AM To: info-cyrus@lists.andrew.cmu.edu Subject: RE: Cyrus + Sieve On Fri, 2009-05-22 at 08:51 -0400, Gottschalk, David wrote: Well, this is interesting. I tested one of my reject rules (to make sure I'm not crazy), and it replied the rejected message to my inbox, not to the sender. What do the Received: headers of the message look like (how did it end up in your mailbox)? I wonder if this isn't some bizarre MTA (Mail Transfer Agent [sendmail/postfix]) misconfiguration. Have you verified that your IMAP server can correctly send mail? SIEVE sends mail using the executable specified via the sendmail directive of the imapd.conf file. Is that normal behavior? No, but I've never had any sieve/vacation issues on any of the various Cyrus systems I've installed over the last decade. I configured that option, and still no go. How would it reply to reject messages without that option, but not vacation? Sure, I missed the detail that reject works for you. Well, then I'm also out of ideas. If you want to make sure it has nothing to do with duplicate db, then you could stop cyrus, mv deliver.db deliver.db.old and start cyrus. Then try it again. -- OpenGroupware developer: awill...@whitemice.org http://whitemiceconsulting.blogspot.com/ OpenGroupare Cyrus IMAPd documenation @ http://docs.opengroupware.org/Members/whitemice/wmogag/file_view 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 This e-mail message (including any attachments) is for the sole use of the intended recipient(s) and may contain confidential and privileged information. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message (including any attachments) is strictly prohibited. If you have received this message in error, please contact the sender by reply e-mail message and destroy all copies of the original message (including attachments). 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: Vacation not working
See, I'm using this entirely custom deliver script in .procmailrc, and I think that is my problem. I think if Sieve doesn't get a proper from address, it will not reply. The question is how do you know if this is occurring? You might try different configuration options of that. I've seen searching the web that some people had vacation reply issues with different configurations of the Cyrus mailer(s). David Gottschalk UTS Email team david.gottsch...@emory.edu -Original Message- From: Garry [mailto:ga...@glendown.de] Sent: Tuesday, May 26, 2009 9:14 AM To: Gottschalk, David Subject: Re: Sieve: Vacation not working Gottschalk, David wrote: Check out my thread going on this. I'm having the same issue. How do you hand off mail from Sendmail to Cyrus? I'm thinking that could be my issue, maybe yours too. I'm using the cyrus feature define(`confLOCAL_MAILER', `cyrus')dnl ifdef(`CYRUS_MAILER_ARGS',, `define(`CYRUS_MAILER_ARGS', `deliver -e -f $f -m $h -- $u')') in the mc file, and as the regular sorting seems to work (moving certain mails to other folders e.g.), as well as storing incoming mail in the appropriate inboxes, I assume the Cyrus interface as such should be working fine, as well as the Sieve call ... what puzzles me is that I don't even see Sieve attempt to deliever anything, at least not locally - plus I can't seem to find any config file that would contain definitions about what to do with mails generated by Sieve (like, e.g., what Mailserver to use) -garry This e-mail message (including any attachments) is for the sole use of the intended recipient(s) and may contain confidential and privileged information. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message (including any attachments) is strictly prohibited. If you have received this message in error, please contact the sender by reply e-mail message and destroy all copies of the original message (including attachments). 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: Cyrus + Sieve
The Return-Path must be my problem them. Right now, any emails that come into dgot...@miriam have a return path of that. So your saying the Return-Path should be the sender of the email, not the recipient? Correct? David Gottschalk UTS Email team david.gottsch...@emory.edu -Original Message- From: info-cyrus-bounces+dgottsc=emory@lists.andrew.cmu.edu [mailto:info-cyrus-bounces+dgottsc=emory@lists.andrew.cmu.edu] On Behalf Of Adam Tauno Williams Sent: Tuesday, May 26, 2009 9:58 AM To: info-cyrus@lists.andrew.cmu.edu Subject: RE: Cyrus + Sieve On Tue, 2009-05-26 at 08:52 -0400, Gottschalk, David wrote: Do you mean the From: header line? No, the From: line is, as always, utterly meaningless. I have multiple Received: headers since the message had to transverse multiple servers to get to the Cyrus server. Which is normal. But they will show how the message actually got processed; most importantly who the message was addresses to by the first server to process it. I've seen people header/masquerade rewritting rules do some weird stuff. What is the Return-Path: dgot...@servername signify? I'm wondering if that is the problem. The Return-Path: specifies the reply address for any autp responders (RFC3834). It shouldn't matter for diagnosing your problem unless something is rewriting the Return-Path on inbound messages [which would be very wrong, and in your MTA, not in Cyrus]. -- OpenGroupware developer: awill...@whitemice.org http://whitemiceconsulting.blogspot.com/ OpenGroupare Cyrus IMAPd documenation @ http://docs.opengroupware.org/Members/whitemice/wmogag/file_view 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 This e-mail message (including any attachments) is for the sole use of the intended recipient(s) and may contain confidential and privileged information. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message (including any attachments) is strictly prohibited. If you have received this message in error, please contact the sender by reply e-mail message and destroy all copies of the original message (including attachments). 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: Cyrus + Sieve
That must be my issue then. Every message in my inbox has a Return-path of: dgot...@servername (No domain extension just the server hostname) Even though the message did not come from myself, but a external recipient. I need to look at changing sendmail to not use this custom deliver script (I didn't write it), and instead use the Cyrus mailer in sendmail. David Gottschalk UTS Email team david.gottsch...@emory.edu -Original Message- From: info-cyrus-bounces+dgottsc=emory@lists.andrew.cmu.edu [mailto:info-cyrus-bounces+dgottsc=emory@lists.andrew.cmu.edu] On Behalf Of Adam Tauno Williams Sent: Tuesday, May 26, 2009 10:06 AM To: info-cyrus@lists.andrew.cmu.edu Subject: RE: Cyrus + Sieve On Tue, 2009-05-26 at 10:03 -0400, Gottschalk, David wrote: The Return-Path must be my problem them. Right now, any emails that come into dgot...@miriam have a return path of that. So your saying the Return-Path should be the sender of the email, not the recipient? Correct? Yes, your mail message (via the list) in by INBOX has - Return-Path: dgot...@emory.edu -- OpenGroupware developer: awill...@whitemice.org http://whitemiceconsulting.blogspot.com/ OpenGroupare Cyrus IMAPd documenation @ http://docs.opengroupware.org/Members/whitemice/wmogag/file_view 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 This e-mail message (including any attachments) is for the sole use of the intended recipient(s) and may contain confidential and privileged information. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message (including any attachments) is strictly prohibited. If you have received this message in error, please contact the sender by reply e-mail message and destroy all copies of the original message (including attachments). 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: Cyrus + Sieve
No, that was a part of a message that came through from a external source. Not one generated locally or from the same address. David Gottschalk UTS Email team david.gottsch...@emory.edu -Original Message- From: Marc Patermann [mailto:hans.mo...@ofd-sth.niedersachsen.de] Sent: Tuesday, May 26, 2009 11:26 AM To: Gottschalk, David; Cyrus Mailing List Subject: Re: Cyrus + Sieve Hi, Gottschalk, David schrieb: That must be my issue then. Every message in my inbox has a Return-path of: dgot...@servername (No domain extension just the server hostname) This might be the issue then. If your MTA is not too open, relaying with this sender might not be allowed and your vacation mail is never ever sent to to intended recipient which is the original sender. Even though the message did not come from myself, but a external recipient. Don't you mess up vacation mail sender and sender of the mail on which to send a vacation message? The sender obove is the cyrus generated sender for the cyrus generated vacation mail. I think you are referencing here to the original mail instead, are you? Marc This e-mail message (including any attachments) is for the sole use of the intended recipient(s) and may contain confidential and privileged information. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message (including any attachments) is strictly prohibited. If you have received this message in error, please contact the sender by reply e-mail message and destroy all copies of the original message (including attachments). 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: Cyrus + Sieve
Well, this is interesting. I tested one of my reject rules (to make sure I'm not crazy), and it replied the rejected message to my inbox, not to the sender. Is that normal behavior? David Gottschalk Emory University UTS Messaging Team -Original Message- From: Simon Matter [mailto:simon.mat...@invoca.ch] Sent: Thursday, May 21, 2009 4:22 PM To: Gottschalk, David Cc: Blake Hudson; info-cyrus@lists.andrew.cmu.edu Subject: RE: Cyrus + Sieve I configured that option, and still no go. How would it reply to reject messages without that option, but not vacation? Sure, I missed the detail that reject works for you. Well, then I'm also out of ideas. If you want to make sure it has nothing to do with duplicate db, then you could stop cyrus, mv deliver.db deliver.db.old and start cyrus. Then try it again. Simon Either way, I've added it for sake of trying/troubleshooting. David Gottschalk UTS Email team david.gottsch...@emory.edu -Original Message- From: Simon Matter [mailto:simon.mat...@invoca.ch] Sent: Thursday, May 21, 2009 4:12 PM To: Gottschalk, David Cc: Blake Hudson; info-cyrus@lists.andrew.cmu.edu Subject: RE: Cyrus + Sieve Good thinking. I sent a email from a completely new address, and it still didn't work. I wonder if this has something to do with how Sendmail and Cyrus talk to each other. This production environment was not setup by me, and there is a actual .promailrc script that hands off from sendmail to Cyrus. I wonder if this is causing mail to get malformed, and sieve not handle it. What I meant is whether cyrus can send mails back via sendmail. That's how vacation messages are sent, cyrus call the sendmail program and sends the vacation message. If the sendmail parameter is not configured correctly then that won't work. Simon I saw some other posts online with users talking about this very issue. I'm not sure how that would affect the vacation portion, but maybe it could be? David Gottschalk UTS Email team david.gottsch...@emory.edu -Original Message- From: Simon Matter [mailto:simon.mat...@invoca.ch] Sent: Thursday, May 21, 2009 3:54 PM To: Gottschalk, David Cc: Blake Hudson; info-cyrus@lists.andrew.cmu.edu Subject: RE: Cyrus + Sieve Well, I think duplicate surpression might be already working. I just looked at my logs and see entries for it. I donââ,¬â¢t have a deliver.db though, which is interesting. I did look at the Cyrus change log, and noticed that at some point they did merge the deliver.db and the duplicate.db. Hm, IIRC the duplicate db is always stored in deliver.db. Any other ideas I could try, or tests I could do? The thread is already quite long and I don't remember all details. But the problem you report is very common. Everything works but vacation does not. It usually boils down to the fact that everything is okay but the tester thinks it doesn't because he expects a message but cyrus thinks it has already sent one message. One thing you might check is your sendmail option in imapd.conf. Does it point to a usable sendmail command which really does the right thing? Simon This e-mail message (including any attachments) is for the sole use of the intended recipient(s) and may contain confidential and privileged information. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message (including any attachments) is strictly prohibited. If you have received this message in error, please contact the sender by reply e-mail message and destroy all copies of the original message (including attachments). 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: Cyrus + Sieve
Blake, thanks for the assistance. I’ll check out the duplicate db, and enable it. Here is a copy of a example vacation sieve script: #Mail filter rules for dgottsc #Generated by dgottsc using SmartSieve 1.0.0-RC2 2009/05/21 10:29:26 require [vacation]; vacation :days 7 :addresses [dgot...@emory.edu, dgot...@removed.emory.edu] text: This is a test vacation reply. . ; ##PSEUDO script start #SmartSieveRule#a:6:{s:6:status;s:7:ENABLED;s:7:control;N;s:8:matchAny;N;s:10:conditions;a:0:{}s:7:special;s:8:vacation;s:7:actions;a:1:{i:0;a:4:{s:4:type;s:8:vacation;s:7:message;s:30:This is a test vacation reply.;s:4:days;s:1:7;s:9:addresses;a:2:{i:0;s:17:dgot...@emory.edu;i:1;s:27:dgot...@removed.emory.edu; #modebasic Thanks. David Gottschalk UTS Email team david.gottsch...@emory.edumailto:david.gottsch...@emory.edu From: info-cyrus-bounces+dgottsc=emory@lists.andrew.cmu.edu [mailto:info-cyrus-bounces+dgottsc=emory@lists.andrew.cmu.edu] On Behalf Of Blake Hudson Sent: Wednesday, May 20, 2009 4:44 PM To: info-cyrus@lists.andrew.cmu.edu Subject: Re: Cyrus + Sieve The duplicate db is used in the vacation code of sieve to determine if a sender has previously received a vacation response. As I understand it (from reading the mailing list), older versions of Cyrus made the duplicate db optional and the vacation portion of sieve may not work as expected without it. So, ensure that you have it enabled. I'm not familiar with SmartSieve, but perhaps you could provide an example script that it creates when you setup a vacation response - perhaps me or someone else here can debug it... --Blake Original Message Subject: Re: Cyrus + Sieve From: Gottschalk, David dgot...@emory.edumailto:dgot...@emory.edu To: Blake Hudson bl...@ispn.netmailto:bl...@ispn.net, info-cyrus@lists.andrew.cmu.edumailto:info-cyrus@lists.andrew.cmu.edu info-cyrus@lists.andrew.cmu.edumailto:info-cyrus@lists.andrew.cmu.edu Date: Wednesday, May 20, 2009 3:18:02 PM I'm using SmartSieve to create the scripts. The forwarding and reject options are working as expected. Do duplicate delivery dbs create issues? David Gottschalk UTS Email team david.gottsch...@emory.edumailto:david.gottsch...@emory.edu -Original Message- From: info-cyrus-bounces+dgottsc=emory@lists.andrew.cmu.edumailto:info-cyrus-bounces+dgottsc=emory@lists.andrew.cmu.edu [mailto:info-cyrus-bounces+dgottsc=emory@lists.andrew.cmu.edu] On Behalf Of Blake Hudson Sent: Wednesday, May 20, 2009 4:15 PM To: info-cyrus@lists.andrew.cmu.edumailto:info-cyrus@lists.andrew.cmu.edu Subject: Re: Cyrus + Sieve I'm not a sieve guru, but I might be able to point you in the right direction for troubleshooting... How are you making your sieve scripts (websieve, squirrelmail plugin, horde/IMP, etc)? Are you sure the forwarding and sieve reject options are working as expected to generate new messages? Do you have a duplicate delivery db in your cyrus meta data folder? -Blake Original Message Subject: Re: Cyrus + Sieve From: Gottschalk, David dgot...@emory.edumailto:dgot...@emory.edu To: info-cyrus@lists.andrew.cmu.edumailto:info-cyrus@lists.andrew.cmu.edu info-cyrus@lists.andrew.cmu.edumailto:info-cyrus@lists.andrew.cmu.edu Date: Wednesday, May 20, 2009 3:04:44 PM Anyone? I would greatly appreciate any assistance with this issue. Thanks. David Gottschalk UTS Email team david.gottsch...@emory.edumailto:david.gottsch...@emory.edu -Original Message- From: info-cyrus-bounces+dgottsc=emory@lists.andrew.cmu.edumailto:info-cyrus-bounces+dgottsc=emory@lists.andrew.cmu.edu [mailto:info-cyrus-bounces+dgottsc=emory@lists.andrew.cmu.edu] On Behalf Of Gottschalk, David Sent: Tuesday, May 19, 2009 4:17 PM To: info-cyrus@lists.andrew.cmu.edumailto:info-cyrus@lists.andrew.cmu.edu Subject: Cyrus + Sieve I'm in the process of getting sieve working on my Cyrus servers. I've got everything working except for the vacation portion of sieve. I'm not sure why this isn't working. I've searched the web like crazy, and found quite a few people that had this issue. I've tried their solutions, but no luck. All the other sieve options work fine, but the vacation app. Any ideas? I'm running Cyrus version: 2.2.12-3 (I know it's old) Thanks for any assistance, I'd greatly appreciate it. David Gottschalk UTS Email team david.gottsch...@emory.edumailto:david.gottsch...@emory.edu This e-mail message (including any attachments) is for the sole use of the intended recipient(s) and may contain confidential and privileged information. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message (including any attachments) is strictly prohibited. If you have received this message in error, please contact the sender by reply e-mail message and destroy all copies
RE: Cyrus + Sieve
Yeah, I’m sending emails to that address. How do I enable duplicate suppression? I think that might be my issue. I’ve enabled it in imapd.conf, and defined the database type, but it doesn’t seem to be creating a duplicate.db. Thanks. David Gottschalk UTS Email team david.gottsch...@emory.edumailto:david.gottsch...@emory.edu From: info-cyrus-bounces+dgottsc=emory@lists.andrew.cmu.edu [mailto:info-cyrus-bounces+dgottsc=emory@lists.andrew.cmu.edu] On Behalf Of Blake Hudson Sent: Thursday, May 21, 2009 12:27 PM To: info-cyrus@lists.andrew.cmu.edu Subject: Re: Cyrus + Sieve That looks valid as far as I can tell... Are you sure the messages are actually being sent to one of the listed addresses? --Blake Original Message Subject: Re: Cyrus + Sieve From: Gottschalk, David dgot...@emory.edumailto:dgot...@emory.edu To: Blake Hudson bl...@ispn.netmailto:bl...@ispn.net, info-cyrus@lists.andrew.cmu.edumailto:info-cyrus@lists.andrew.cmu.edu info-cyrus@lists.andrew.cmu.edumailto:info-cyrus@lists.andrew.cmu.edu Date: Thursday, May 21, 2009 8:48:42 AM Blake, thanks for the assistance. I’ll check out the duplicate db, and enable it. Here is a copy of a example vacation sieve script: #Mail filter rules for dgottsc #Generated by dgottsc using SmartSieve 1.0.0-RC2 2009/05/21 10:29:26 require [vacation]; vacation :days 7 :addresses [dgot...@emory.edumailto:dgot...@emory.edu, dgot...@removed.emory.edumailto:dgot...@removed.emory.edu] text: This is a test vacation reply. . ; ##PSEUDO script start #SmartSieveRule#a:6:{s:6:status;s:7:ENABLED;s:7:control;N;s:8:matchAny;N;s:10:conditions;a:0:{}s:7:special;s:8:vacation;s:7:actions;a:1:{i:0;a:4:{s:4:type;s:8:vacation;s:7:message;s:30:This is a test vacation reply.;s:4:days;s:1:7;s:9:addresses;a:2:{i:0;s:17:dgot...@emory.edumailto:dgot...@emory.edu;i:1;s:27:dgot...@removed.emory.edumailto:dgot...@removed.emory.edu; #modebasic Thanks. David Gottschalk UTS Email team david.gottsch...@emory.edumailto:david.gottsch...@emory.edu From: info-cyrus-bounces+dgottsc=emory@lists.andrew.cmu.edumailto:info-cyrus-bounces+dgottsc=emory@lists.andrew.cmu.edu [mailto:info-cyrus-bounces+dgottsc=emory@lists.andrew.cmu.edu] On Behalf Of Blake Hudson Sent: Wednesday, May 20, 2009 4:44 PM To: info-cyrus@lists.andrew.cmu.edumailto:info-cyrus@lists.andrew.cmu.edu Subject: Re: Cyrus + Sieve The duplicate db is used in the vacation code of sieve to determine if a sender has previously received a vacation response. As I understand it (from reading the mailing list), older versions of Cyrus made the duplicate db optional and the vacation portion of sieve may not work as expected without it. So, ensure that you have it enabled. I'm not familiar with SmartSieve, but perhaps you could provide an example script that it creates when you setup a vacation response - perhaps me or someone else here can debug it... --Blake Original Message Subject: Re: Cyrus + Sieve From: Gottschalk, David dgot...@emory.edumailto:dgot...@emory.edu To: Blake Hudson bl...@ispn.netmailto:bl...@ispn.net, info-cyrus@lists.andrew.cmu.edumailto:info-cyrus@lists.andrew.cmu.edu info-cyrus@lists.andrew.cmu.edumailto:info-cyrus@lists.andrew.cmu.edu Date: Wednesday, May 20, 2009 3:18:02 PM I'm using SmartSieve to create the scripts. The forwarding and reject options are working as expected. Do duplicate delivery dbs create issues? David Gottschalk UTS Email team david.gottsch...@emory.edumailto:david.gottsch...@emory.edu -Original Message- From: info-cyrus-bounces+dgottsc=emory@lists.andrew.cmu.edumailto:info-cyrus-bounces+dgottsc=emory@lists.andrew.cmu.edu [mailto:info-cyrus-bounces+dgottsc=emory@lists.andrew.cmu.edu] On Behalf Of Blake Hudson Sent: Wednesday, May 20, 2009 4:15 PM To: info-cyrus@lists.andrew.cmu.edumailto:info-cyrus@lists.andrew.cmu.edu Subject: Re: Cyrus + Sieve I'm not a sieve guru, but I might be able to point you in the right direction for troubleshooting... How are you making your sieve scripts (websieve, squirrelmail plugin, horde/IMP, etc)? Are you sure the forwarding and sieve reject options are working as expected to generate new messages? Do you have a duplicate delivery db in your cyrus meta data folder? -Blake Original Message Subject: Re: Cyrus + Sieve From: Gottschalk, David dgot...@emory.edumailto:dgot...@emory.edu To: info-cyrus@lists.andrew.cmu.edumailto:info-cyrus@lists.andrew.cmu.edu info-cyrus@lists.andrew.cmu.edumailto:info-cyrus@lists.andrew.cmu.edu Date: Wednesday, May 20, 2009 3:04:44 PM Anyone? I would greatly appreciate any assistance with this issue. Thanks. David Gottschalk UTS Email team david.gottsch...@emory.edumailto:david.gottsch...@emory.edu -Original Message- From: info-cyrus-bounces+dgottsc=emory@lists.andrew.cmu.edumailto:info-cyrus-bounces+dgottsc=emory@lists.andrew.cmu.edu
RE: Cyrus + Sieve
Yeah, at first I was sending from the same address. Then I realized this problem and started sending from a different address, but still no luck. David Gottschalk UTS Email team david.gottsch...@emory.edu -Original Message- From: David R Bosso [mailto:dbo...@lsit.ucsb.edu] Sent: Thursday, May 21, 2009 1:51 PM To: Gottschalk, David Subject: RE: Cyrus + Sieve --On Thursday, May 21, 2009 1:41 PM -0400 Gottschalk, David dgot...@emory.edu wrote: Yeah, I?m sending emails to that address. Are you sending them from a different address? I'm pretty sure it won't reply to one of its defined addresses to prevent loops. -David How do I enable duplicate suppression? I think that might be my issue. I?ve enabled it in imapd.conf, and defined the database type, but it doesn?t seem to be creating a duplicate.db. Thanks. David Gottschalk UTS Email team david.gottsch...@emory.edumailto:david.gottsch...@emory.edu From: info-cyrus-bounces+dgottsc=emory@lists.andrew.cmu.edu [mailto:info-cyrus-bounces+dgottsc=emory@lists.andrew.cmu.edu] On Behalf Of Blake Hudson Sent: Thursday, May 21, 2009 12:27 PM To: info-cyrus@lists.andrew.cmu.edu Subject: Re: Cyrus + Sieve That looks valid as far as I can tell... Are you sure the messages are actually being sent to one of the listed addresses? --Blake Original Message Subject: Re: Cyrus + Sieve From: Gottschalk, David dgot...@emory.edumailto:dgot...@emory.edu To: Blake Hudson bl...@ispn.netmailto:bl...@ispn.net, info-cyrus@lists.andrew.cmu.edumailto:info-cyrus@lists.andrew.cmu.edu info-cyrus@lists.andrew.cmu.edumailto:info-cyrus@lists.andrew.cmu.edu Date: Thursday, May 21, 2009 8:48:42 AM Blake, thanks for the assistance. I?ll check out the duplicate db, and enable it. Here is a copy of a example vacation sieve script: # Mail filter rules for dgottsc # Generated by dgottsc using SmartSieve 1.0.0-RC2 2009/05/21 10:29:26 require [vacation]; vacation :days 7 :addresses [dgot...@emory.edumailto:dgot...@emory.edu, dgot...@removed.emory.edumailto:dgot...@removed.emory.edu] text: This is a test vacation reply. . ; ## PSEUDO script start # SmartSieveRule#a:6:{s:6:status;s:7:ENABLED;s:7:control;N;s:8:matc # hAny;N;s:10:conditions;a:0:{}s:7:special;s:8:vacation;s:7:action # s;a:1:{i:0;a:4:{s:4:type;s:8:vacation;s:7:message;s:30:This is a # test vacation # reply.;s:4:days;s:1:7;s:9:addresses;a:2:{i:0;s:17:dgot...@emory. # edumailto:dgot...@emory.edu;i:1;s:27:dgot...@removed.emory.edumail # to:dgot...@removed.emory.edu; modebasic Thanks. David Gottschalk UTS Email team david.gottsch...@emory.edumailto:david.gottsch...@emory.edu From: info-cyrus-bounces+dgottsc=emory@lists.andrew.cmu.edumailto:info-cyr us-bounces+dgottsc=emory@lists.andrew.cmu.edu [mailto:info-cyrus-bounces+dgottsc=emory@lists.andrew.cmu.edu] On Behalf Of Blake Hudson Sent: Wednesday, May 20, 2009 4:44 PM To: info-cyrus@lists.andrew.cmu.edumailto:info-cyrus@lists.andrew.cmu.edu Subject: Re: Cyrus + Sieve The duplicate db is used in the vacation code of sieve to determine if a sender has previously received a vacation response. As I understand it (from reading the mailing list), older versions of Cyrus made the duplicate db optional and the vacation portion of sieve may not work as expected without it. So, ensure that you have it enabled. I'm not familiar with SmartSieve, but perhaps you could provide an example script that it creates when you setup a vacation response - perhaps me or someone else here can debug it... --Blake Original Message Subject: Re: Cyrus + Sieve From: Gottschalk, David dgot...@emory.edumailto:dgot...@emory.edu To: Blake Hudson bl...@ispn.netmailto:bl...@ispn.net, info-cyrus@lists.andrew.cmu.edumailto:info-cyrus@lists.andrew.cmu.edu info-cyrus@lists.andrew.cmu.edumailto:info-cyrus@lists.andrew.cmu.edu Date: Wednesday, May 20, 2009 3:18:02 PM I'm using SmartSieve to create the scripts. The forwarding and reject options are working as expected. Do duplicate delivery dbs create issues? David Gottschalk UTS Email team david.gottsch...@emory.edumailto:david.gottsch...@emory.edu -Original Message- From: info-cyrus-bounces+dgottsc=emory@lists.andrew.cmu.edumailto:info-cyr us-bounces+dgottsc=emory@lists.andrew.cmu.edu [mailto:info-cyrus-bounces+dgottsc=emory@lists.andrew.cmu.edu] On Behalf Of Blake Hudson Sent: Wednesday, May 20, 2009 4:15 PM To: info-cyrus@lists.andrew.cmu.edumailto:info-cyrus@lists.andrew.cmu.edu Subject: Re: Cyrus + Sieve I'm not a sieve guru, but I might be able to point you in the right direction for troubleshooting... How are you making your sieve scripts (websieve, squirrelmail plugin, horde/IMP, etc)? Are you sure the forwarding and sieve reject options are working as expected to generate new messages? Do you have a duplicate delivery db in your cyrus meta data
RE: Cyrus + Sieve
Hmm. This is strange. I’ve enabled it, but I don’t see it in my configuration directory. I restarted Cyrus, no joy. Do I need to clear my DBs in order for this to get created? Thanks. David Gottschalk UTS Email team david.gottsch...@emory.edumailto:david.gottsch...@emory.edu From: info-cyrus-bounces+dgottsc=emory@lists.andrew.cmu.edu [mailto:info-cyrus-bounces+dgottsc=emory@lists.andrew.cmu.edu] On Behalf Of Blake Hudson Sent: Thursday, May 21, 2009 1:55 PM To: info-cyrus@lists.andrew.cmu.edu Subject: Re: Cyrus + Sieve The file will be located in your 'configdirectory' (mine is /var/lib/imap). In the absence of config options it will be automatically created and should will be a Berkeley db file named 'deliver.db' --Blake Original Message Subject: Re: Cyrus + Sieve From: Gottschalk, David dgot...@emory.edumailto:dgot...@emory.edu To: Blake Hudson bl...@ispn.netmailto:bl...@ispn.net, info-cyrus@lists.andrew.cmu.edumailto:info-cyrus@lists.andrew.cmu.edu info-cyrus@lists.andrew.cmu.edumailto:info-cyrus@lists.andrew.cmu.edu Date: Thursday, May 21, 2009 12:41:05 PM Yeah, I’m sending emails to that address. How do I enable duplicate suppression? I think that might be my issue. I’ve enabled it in imapd.conf, and defined the database type, but it doesn’t seem to be creating a duplicate.db. Thanks. David Gottschalk UTS Email team david.gottsch...@emory.edumailto:david.gottsch...@emory.edu From: info-cyrus-bounces+dgottsc=emory@lists.andrew.cmu.edumailto:info-cyrus-bounces+dgottsc=emory@lists.andrew.cmu.edu [mailto:info-cyrus-bounces+dgottsc=emory@lists.andrew.cmu.edu] On Behalf Of Blake Hudson Sent: Thursday, May 21, 2009 12:27 PM To: info-cyrus@lists.andrew.cmu.edumailto:info-cyrus@lists.andrew.cmu.edu Subject: Re: Cyrus + Sieve That looks valid as far as I can tell... Are you sure the messages are actually being sent to one of the listed addresses? --Blake Original Message Subject: Re: Cyrus + Sieve From: Gottschalk, David dgot...@emory.edumailto:dgot...@emory.edu To: Blake Hudson bl...@ispn.netmailto:bl...@ispn.net, info-cyrus@lists.andrew.cmu.edumailto:info-cyrus@lists.andrew.cmu.edu info-cyrus@lists.andrew.cmu.edumailto:info-cyrus@lists.andrew.cmu.edu Date: Thursday, May 21, 2009 8:48:42 AM Blake, thanks for the assistance. I’ll check out the duplicate db, and enable it. Here is a copy of a example vacation sieve script: #Mail filter rules for dgottsc #Generated by dgottsc using SmartSieve 1.0.0-RC2 2009/05/21 10:29:26 require [vacation]; vacation :days 7 :addresses [dgot...@emory.edumailto:dgot...@emory.edu, dgot...@removed.emory.edumailto:dgot...@removed.emory.edu] text: This is a test vacation reply. . ; ##PSEUDO script start #SmartSieveRule#a:6:{s:6:status;s:7:ENABLED;s:7:control;N;s:8:matchAny;N;s:10:conditions;a:0:{}s:7:special;s:8:vacation;s:7:actions;a:1:{i:0;a:4:{s:4:type;s:8:vacation;s:7:message;s:30:This is a test vacation reply.;s:4:days;s:1:7;s:9:addresses;a:2:{i:0;s:17:dgot...@emory.edumailto:dgot...@emory.edu;i:1;s:27:dgot...@removed.emory.edumailto:dgot...@removed.emory.edu; #modebasic Thanks. David Gottschalk UTS Email team david.gottsch...@emory.edumailto:david.gottsch...@emory.edu From: info-cyrus-bounces+dgottsc=emory@lists.andrew.cmu.edumailto:info-cyrus-bounces+dgottsc=emory@lists.andrew.cmu.edu [mailto:info-cyrus-bounces+dgottsc=emory@lists.andrew.cmu.edu] On Behalf Of Blake Hudson Sent: Wednesday, May 20, 2009 4:44 PM To: info-cyrus@lists.andrew.cmu.edumailto:info-cyrus@lists.andrew.cmu.edu Subject: Re: Cyrus + Sieve The duplicate db is used in the vacation code of sieve to determine if a sender has previously received a vacation response. As I understand it (from reading the mailing list), older versions of Cyrus made the duplicate db optional and the vacation portion of sieve may not work as expected without it. So, ensure that you have it enabled. I'm not familiar with SmartSieve, but perhaps you could provide an example script that it creates when you setup a vacation response - perhaps me or someone else here can debug it... --Blake Original Message Subject: Re: Cyrus + Sieve From: Gottschalk, David dgot...@emory.edumailto:dgot...@emory.edu To: Blake Hudson bl...@ispn.netmailto:bl...@ispn.net, info-cyrus@lists.andrew.cmu.edumailto:info-cyrus@lists.andrew.cmu.edu info-cyrus@lists.andrew.cmu.edumailto:info-cyrus@lists.andrew.cmu.edu Date: Wednesday, May 20, 2009 3:18:02 PM I'm using SmartSieve to create the scripts. The forwarding and reject options are working as expected. Do duplicate delivery dbs create issues? David Gottschalk UTS Email team david.gottsch...@emory.edumailto:david.gottsch...@emory.edu -Original Message- From: info-cyrus-bounces+dgottsc=emory@lists.andrew.cmu.edumailto:info-cyrus-bounces+dgottsc=emory@lists.andrew.cmu.edu [mailto:info-cyrus-bounces+dgottsc=emory
RE: Cyrus + Sieve
Well, I think duplicate surpression might be already working. I just looked at my logs and see entries for it. I don’t have a deliver.db though, which is interesting. I did look at the Cyrus change log, and noticed that at some point they did merge the deliver.db and the duplicate.db. Any other ideas I could try, or tests I could do? David Gottschalk UTS Email team david.gottsch...@emory.edumailto:david.gottsch...@emory.edu From: info-cyrus-bounces+dgottsc=emory@lists.andrew.cmu.edu [mailto:info-cyrus-bounces+dgottsc=emory@lists.andrew.cmu.edu] On Behalf Of Blake Hudson Sent: Thursday, May 21, 2009 2:29 PM To: info-cyrus@lists.andrew.cmu.edu Subject: Re: Cyrus + Sieve Assuming you're only running one instance and you're looking in the right place - I'm out of ideas... Perhaps someone else can chime in at this point as to why the deliver.db could be missing and when it is missing, what the consequential behavior would be. -Blake Original Message Subject: Re: Cyrus + Sieve From: Gottschalk, David dgot...@emory.edumailto:dgot...@emory.edu To: Blake Hudson bl...@ispn.netmailto:bl...@ispn.net, info-cyrus@lists.andrew.cmu.edumailto:info-cyrus@lists.andrew.cmu.edu info-cyrus@lists.andrew.cmu.edumailto:info-cyrus@lists.andrew.cmu.edu Date: Thursday, May 21, 2009 1:24:09 PM Cannot find any error(s) in the logs. Permissions are correct on the folder. David Gottschalk UTS Email team david.gottsch...@emory.edumailto:david.gottsch...@emory.edu From: info-cyrus-bounces+dgottsc=emory@lists.andrew.cmu.edumailto:info-cyrus-bounces+dgottsc=emory@lists.andrew.cmu.edu [mailto:info-cyrus-bounces+dgottsc=emory@lists.andrew.cmu.edu] On Behalf Of Blake Hudson Sent: Thursday, May 21, 2009 2:19 PM To: info-cyrus@lists.andrew.cmu.edumailto:info-cyrus@lists.andrew.cmu.edu Subject: Re: Cyrus + Sieve Any errors in the log? does your configdirectory have the proper ownership/permissions? drwxr-x--- 18 cyrus mail4096 May 21 13:01 imap -Blake Original Message Subject: Re: Cyrus + Sieve From: Gottschalk, David dgot...@emory.edumailto:dgot...@emory.edu To: Blake Hudson bl...@ispn.netmailto:bl...@ispn.net, info-cyrus@lists.andrew.cmu.edumailto:info-cyrus@lists.andrew.cmu.edu info-cyrus@lists.andrew.cmu.edumailto:info-cyrus@lists.andrew.cmu.edu Date: Thursday, May 21, 2009 1:02:32 PM Hmm. This is strange. I’ve enabled it, but I don’t see it in my configuration directory. I restarted Cyrus, no joy. Do I need to clear my DBs in order for this to get created? Thanks. David Gottschalk UTS Email team david.gottsch...@emory.edumailto:david.gottsch...@emory.edu From: info-cyrus-bounces+dgottsc=emory@lists.andrew.cmu.edumailto:info-cyrus-bounces+dgottsc=emory@lists.andrew.cmu.edu [mailto:info-cyrus-bounces+dgottsc=emory@lists.andrew.cmu.edu] On Behalf Of Blake Hudson Sent: Thursday, May 21, 2009 1:55 PM To: info-cyrus@lists.andrew.cmu.edumailto:info-cyrus@lists.andrew.cmu.edu Subject: Re: Cyrus + Sieve The file will be located in your 'configdirectory' (mine is /var/lib/imap). In the absence of config options it will be automatically created and should will be a Berkeley db file named 'deliver.db' --Blake Original Message Subject: Re: Cyrus + Sieve From: Gottschalk, David dgot...@emory.edumailto:dgot...@emory.edu To: Blake Hudson bl...@ispn.netmailto:bl...@ispn.net, info-cyrus@lists.andrew.cmu.edumailto:info-cyrus@lists.andrew.cmu.edu info-cyrus@lists.andrew.cmu.edumailto:info-cyrus@lists.andrew.cmu.edu Date: Thursday, May 21, 2009 12:41:05 PM Yeah, I’m sending emails to that address. How do I enable duplicate suppression? I think that might be my issue. I’ve enabled it in imapd.conf, and defined the database type, but it doesn’t seem to be creating a duplicate.db. Thanks. David Gottschalk UTS Email team david.gottsch...@emory.edumailto:david.gottsch...@emory.edu From: info-cyrus-bounces+dgottsc=emory@lists.andrew.cmu.edumailto:info-cyrus-bounces+dgottsc=emory@lists.andrew.cmu.edu [mailto:info-cyrus-bounces+dgottsc=emory@lists.andrew.cmu.edu] On Behalf Of Blake Hudson Sent: Thursday, May 21, 2009 12:27 PM To: info-cyrus@lists.andrew.cmu.edumailto:info-cyrus@lists.andrew.cmu.edu Subject: Re: Cyrus + Sieve That looks valid as far as I can tell... Are you sure the messages are actually being sent to one of the listed addresses? --Blake Original Message Subject: Re: Cyrus + Sieve From: Gottschalk, David dgot...@emory.edumailto:dgot...@emory.edu To: Blake Hudson bl...@ispn.netmailto:bl...@ispn.net, info-cyrus@lists.andrew.cmu.edumailto:info-cyrus@lists.andrew.cmu.edu info-cyrus@lists.andrew.cmu.edumailto:info-cyrus@lists.andrew.cmu.edu Date: Thursday, May 21, 2009 8:48:42 AM Blake, thanks for the assistance. I’ll check out the duplicate db, and enable it. Here is a copy of a example vacation sieve script: #Mail filter rules for dgottsc #Generated by dgottsc
RE: Cyrus + Sieve
Good thinking. I sent a email from a completely new address, and it still didn't work. I wonder if this has something to do with how Sendmail and Cyrus talk to each other. This production environment was not setup by me, and there is a actual .promailrc script that hands off from sendmail to Cyrus. I wonder if this is causing mail to get malformed, and sieve not handle it. I saw some other posts online with users talking about this very issue. I'm not sure how that would affect the vacation portion, but maybe it could be? David Gottschalk UTS Email team david.gottsch...@emory.edu -Original Message- From: Simon Matter [mailto:simon.mat...@invoca.ch] Sent: Thursday, May 21, 2009 3:54 PM To: Gottschalk, David Cc: Blake Hudson; info-cyrus@lists.andrew.cmu.edu Subject: RE: Cyrus + Sieve Well, I think duplicate surpression might be already working. I just looked at my logs and see entries for it. I don’t have a deliver.db though, which is interesting. I did look at the Cyrus change log, and noticed that at some point they did merge the deliver.db and the duplicate.db. Hm, IIRC the duplicate db is always stored in deliver.db. Any other ideas I could try, or tests I could do? The thread is already quite long and I don't remember all details. But the problem you report is very common. Everything works but vacation does not. It usually boils down to the fact that everything is okay but the tester thinks it doesn't because he expects a message but cyrus thinks it has already sent one message. One thing you might check is your sendmail option in imapd.conf. Does it point to a usable sendmail command which really does the right thing? Simon This e-mail message (including any attachments) is for the sole use of the intended recipient(s) and may contain confidential and privileged information. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message (including any attachments) is strictly prohibited. If you have received this message in error, please contact the sender by reply e-mail message and destroy all copies of the original message (including attachments). 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: Cyrus + Sieve
I configured that option, and still no go. How would it reply to reject messages without that option, but not vacation? Either way, I've added it for sake of trying/troubleshooting. David Gottschalk UTS Email team david.gottsch...@emory.edu -Original Message- From: Simon Matter [mailto:simon.mat...@invoca.ch] Sent: Thursday, May 21, 2009 4:12 PM To: Gottschalk, David Cc: Blake Hudson; info-cyrus@lists.andrew.cmu.edu Subject: RE: Cyrus + Sieve Good thinking. I sent a email from a completely new address, and it still didn't work. I wonder if this has something to do with how Sendmail and Cyrus talk to each other. This production environment was not setup by me, and there is a actual .promailrc script that hands off from sendmail to Cyrus. I wonder if this is causing mail to get malformed, and sieve not handle it. What I meant is whether cyrus can send mails back via sendmail. That's how vacation messages are sent, cyrus call the sendmail program and sends the vacation message. If the sendmail parameter is not configured correctly then that won't work. Simon I saw some other posts online with users talking about this very issue. I'm not sure how that would affect the vacation portion, but maybe it could be? David Gottschalk UTS Email team david.gottsch...@emory.edu -Original Message- From: Simon Matter [mailto:simon.mat...@invoca.ch] Sent: Thursday, May 21, 2009 3:54 PM To: Gottschalk, David Cc: Blake Hudson; info-cyrus@lists.andrew.cmu.edu Subject: RE: Cyrus + Sieve Well, I think duplicate surpression might be already working. I just looked at my logs and see entries for it. I donââ,¬â¢t have a deliver.db though, which is interesting. I did look at the Cyrus change log, and noticed that at some point they did merge the deliver.db and the duplicate.db. Hm, IIRC the duplicate db is always stored in deliver.db. Any other ideas I could try, or tests I could do? The thread is already quite long and I don't remember all details. But the problem you report is very common. Everything works but vacation does not. It usually boils down to the fact that everything is okay but the tester thinks it doesn't because he expects a message but cyrus thinks it has already sent one message. One thing you might check is your sendmail option in imapd.conf. Does it point to a usable sendmail command which really does the right thing? Simon This e-mail message (including any attachments) is for the sole use of the intended recipient(s) and may contain confidential and privileged information. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message (including any attachments) is strictly prohibited. If you have received this message in error, please contact the sender by reply e-mail message and destroy all copies of the original message (including attachments). 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: Cyrus + Sieve
Anyone? I would greatly appreciate any assistance with this issue. Thanks. David Gottschalk UTS Email team david.gottsch...@emory.edu -Original Message- From: info-cyrus-bounces+dgottsc=emory@lists.andrew.cmu.edu [mailto:info-cyrus-bounces+dgottsc=emory@lists.andrew.cmu.edu] On Behalf Of Gottschalk, David Sent: Tuesday, May 19, 2009 4:17 PM To: info-cyrus@lists.andrew.cmu.edu Subject: Cyrus + Sieve I'm in the process of getting sieve working on my Cyrus servers. I've got everything working except for the vacation portion of sieve. I'm not sure why this isn't working. I've searched the web like crazy, and found quite a few people that had this issue. I've tried their solutions, but no luck. All the other sieve options work fine, but the vacation app. Any ideas? I'm running Cyrus version: 2.2.12-3 (I know it's old) Thanks for any assistance, I'd greatly appreciate it. David Gottschalk UTS Email team david.gottsch...@emory.edu This e-mail message (including any attachments) is for the sole use of the intended recipient(s) and may contain confidential and privileged information. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message (including any attachments) is strictly prohibited. If you have received this message in error, please contact the sender by reply e-mail message and destroy all copies of the original message (including attachments). 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 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: Cyrus + Sieve
I'm using SmartSieve to create the scripts. The forwarding and reject options are working as expected. Do duplicate delivery dbs create issues? David Gottschalk UTS Email team david.gottsch...@emory.edu -Original Message- From: info-cyrus-bounces+dgottsc=emory@lists.andrew.cmu.edu [mailto:info-cyrus-bounces+dgottsc=emory@lists.andrew.cmu.edu] On Behalf Of Blake Hudson Sent: Wednesday, May 20, 2009 4:15 PM To: info-cyrus@lists.andrew.cmu.edu Subject: Re: Cyrus + Sieve I'm not a sieve guru, but I might be able to point you in the right direction for troubleshooting... How are you making your sieve scripts (websieve, squirrelmail plugin, horde/IMP, etc)? Are you sure the forwarding and sieve reject options are working as expected to generate new messages? Do you have a duplicate delivery db in your cyrus meta data folder? -Blake Original Message Subject: Re: Cyrus + Sieve From: Gottschalk, David dgot...@emory.edu To: info-cyrus@lists.andrew.cmu.edu info-cyrus@lists.andrew.cmu.edu Date: Wednesday, May 20, 2009 3:04:44 PM Anyone? I would greatly appreciate any assistance with this issue. Thanks. David Gottschalk UTS Email team david.gottsch...@emory.edu -Original Message- From: info-cyrus-bounces+dgottsc=emory@lists.andrew.cmu.edu [mailto:info-cyrus-bounces+dgottsc=emory@lists.andrew.cmu.edu] On Behalf Of Gottschalk, David Sent: Tuesday, May 19, 2009 4:17 PM To: info-cyrus@lists.andrew.cmu.edu Subject: Cyrus + Sieve I'm in the process of getting sieve working on my Cyrus servers. I've got everything working except for the vacation portion of sieve. I'm not sure why this isn't working. I've searched the web like crazy, and found quite a few people that had this issue. I've tried their solutions, but no luck. All the other sieve options work fine, but the vacation app. Any ideas? I'm running Cyrus version: 2.2.12-3 (I know it's old) Thanks for any assistance, I'd greatly appreciate it. David Gottschalk UTS Email team david.gottsch...@emory.edu This e-mail message (including any attachments) is for the sole use of the intended recipient(s) and may contain confidential and privileged information. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message (including any attachments) is strictly prohibited. If you have received this message in error, please contact the sender by reply e-mail message and destroy all copies of the original message (including attachments). 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 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 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 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
Cyrus + Sieve
I'm in the process of getting sieve working on my Cyrus servers. I've got everything working except for the vacation portion of sieve. I'm not sure why this isn't working. I've searched the web like crazy, and found quite a few people that had this issue. I've tried their solutions, but no luck. All the other sieve options work fine, but the vacation app. Any ideas? I'm running Cyrus version: 2.2.12-3 (I know it's old) Thanks for any assistance, I'd greatly appreciate it. David Gottschalk UTS Email team david.gottsch...@emory.edu This e-mail message (including any attachments) is for the sole use of the intended recipient(s) and may contain confidential and privileged information. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message (including any attachments) is strictly prohibited. If you have received this message in error, please contact the sender by reply e-mail message and destroy all copies of the original message (including attachments). 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: Vacation Application
I'm in the process of setting up smartsieve now, but I'm wondering how to write a hook for login details. I see the sample in the conf.php, but I don't entirely understand what is going on or how to write my own. I'd like to have a hook that authenticates username and password against ldap, and pulls the server for them to login to. Any pointers/examples? Thanks for any help! David Gottschalk Emory University UTS Messaging Team -Original Message- From: Kenneth Marshall [mailto:k...@rice.edu] Sent: Tuesday, March 10, 2009 3:06 PM To: Gottschalk, David Cc: Nic Bernstein; info-cyrus@lists.andrew.cmu.edu Subject: Re: Vacation Application We use SmartSieve (http://smartsieve.sourceforge.net/) to manage vacation/sieve scripts. We look up the appropriate backend in our LDAP directory, but a DNS lookup could be done just as easily. It is simple to setup an configure, 1.0RC2. Cheers, Ken On Tue, Mar 10, 2009 at 03:00:39PM -0400, Gottschalk, David wrote: No murder here. Oldschool Cyrus setup. I want to upgrade it actually, but there are 30K + accounts on these 3 servers. The only problem I see with having it try each server, but failing how do you know if it really isn't that server, or there is just a network issue. David Gottschalk UTS Email team david.gottsch...@emory.edu -Original Message- From: Nic Bernstein [mailto:n...@onlight.com] Sent: Tuesday, March 10, 2009 2:00 PM To: Gottschalk, David Cc: info-cyrus@lists.andrew.cmu.edu Subject: Re: Vacation Application On 03/10/2009 12:42 PM, Gottschalk, David wrote: Hi All, I have a question regarding a vacation application for Cyrus servers. I want to know what others are using to meet this need. Currently, we have a home grown application that allows users to enable/disable vacation messages for their Cyrus accounts. This application is old and outdated, and needs to be replaced. I found the Horde vacation application which looks like it will meet my needs, but I have one issue. We currently have three Cyrus servers with all the accounts spread out across those three servers. The problem I am running into with any vacation application, is how to identify to the vacation application which server a user is on without the user needing to know this information. Is anyone else in a similar situation? Um, use a murder? Otherwise you may want to adapt something like the cyrus user validation script which was recently posted here. Your application could then perform lookups in the output of that script. Lastly, you could just let you application attempt authenticating against each server, in turn, stopping once it succeeds. Cheers, -nic -- Nic Bernstein n...@onlight.com Onlight llc. www.onlight.com 2266 North Prospect Avenue #610 v. 414.272.4477 Milwaukee, Wisconsin 53202-6306 f. 414.290.0335 This e-mail message (including any attachments) is for the sole use of the intended recipient(s) and may contain confidential and privileged information. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message (including any attachments) is strictly prohibited. If you have received this message in error, please contact the sender by reply e-mail message and destroy all copies of the original message (including attachments). 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 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: Vacation Application
Kenneth, Thanks for the reply. That was helpful. I guess what I don't understand is how to know where to put information, and lookup information. I'm not really a PHP programmer, so its not always easy for me to look and see what is going on easily. So you just modified the SmartSieve.lib instead of using any type of custom hooks? What would you suggest? Thanks!! David Gottschalk Emory University UTS Messaging Team -Original Message- From: Kenneth Marshall [mailto:k...@rice.edu] Sent: Friday, May 15, 2009 10:30 AM To: Gottschalk, David Cc: info-cyrus@lists.andrew.cmu.edu Subject: Re: Vacation Application On Fri, May 15, 2009 at 10:05:06AM -0400, Gottschalk, David wrote: I'm in the process of setting up smartsieve now, but I'm wondering how to write a hook for login details. I see the sample in the conf.php, but I don't entirely understand what is going on or how to write my own. I'd like to have a hook that authenticates username and password against ldap, and pulls the server for them to login to. Any pointers/examples? Thanks for any help! David Gottschalk Emory University UTS Messaging Team David, Unless you are using a SSO system, you will still need to authenticate to the sieve server. The problem there is to use the right backend if you have multiple backends. In our case, we have a Berkeley DB map file that contains the user - backend mappings that we also use for our perdition IMAP/POP proxy to the backends. For that we use something like: $passwd = Crypto::decrypt($smartsieve['passwd']); $managesieve = new Managesieve(); // Open server based on popmap.bdb entry $id = dba_open(/etc/opt/perdition/popmap.bdb,r,db4); if (!$id) { return 'authenticate: unable to open popmap'; } if (dba_exists($smartsieve['authz'], $id)) { $ret = $managesieve-open(dba_fetch($smartsieve['authz'], $id), 2000, SmartSieve::getConf('socket_timeout', 2)); } else { dba_close($id); return 'authenticate: no mail server found'; } dba_close($id); if ($ret !== true) { $err = $managesieve-getError(); in lib/SmartSieve.lib. You would want to do something similar to identify your backend. LDAP can be used as well but since we already need the flatfile for perdition we just used it. We do pull and updated list of aliases to prepopulate the vacation fields using the getEmailAddresses() hook in config.php. Something like this could also be used to pull the backend from your LDAP directory: /** * Example get_email_addresses_hook function. * * @return array The list of email addresses */ function getEmailAddresses() { $addresses = array(); if (extension_loaded('ldap')) { $ds = ldap_connect('ldap.rice.edu'); if ($ds) { if (!ldap_set_option($ds, LDAP_OPT_PROTOCOL_VERSION, 3)) { fatal_error(Failed to set LDAP Protocol version to 3, TLS not supported.); } // starttls is broken in php 5.2.1 //if (!ldap_start_tls($ds)) { //fatal_error(Ldap_start_tls failed); //} // anonymous bind to get mailAlternateAddress entries $r = ldap_bind($ds); $sr = ldap_search($ds, dc=rice,dc=edu, uid=.$_SESSION['smartsieve']['authz']); $entries = ldap_get_entries($ds, $sr); for ($i=0; $i$entries['count']; $i++) { for ($j=0; $j$entries[$i]['mailalternateaddress']['count']; $j++) { $addresses[] = $entries[$i]['mailalternateaddress'][$j]; } } } ldap_close($ds); } return $addresses; } I hope that this helps. Regards, Ken -Original Message- From: Kenneth Marshall [mailto:k...@rice.edu] Sent: Tuesday, March 10, 2009 3:06 PM To: Gottschalk, David Cc: Nic Bernstein; info-cyrus@lists.andrew.cmu.edu Subject: Re: Vacation Application We use SmartSieve (http://smartsieve.sourceforge.net/) to manage vacation/sieve scripts. We look up the appropriate backend in our LDAP directory, but a DNS lookup could be done just as easily. It is simple to setup an configure, 1.0RC2. Cheers, Ken On Tue, Mar 10, 2009 at 03:00:39PM -0400, Gottschalk, David wrote: No murder here. Oldschool Cyrus setup. I want to upgrade it actually, but there are 30K + accounts on these 3 servers. The only problem I see with having it try each server, but failing how do you know if it really isn't that server, or there is just a network issue. David Gottschalk UTS Email team david.gottsch...@emory.edu -Original Message- From: Nic Bernstein [mailto:n...@onlight.com] Sent: Tuesday, March 10, 2009 2:00 PM To: Gottschalk, David Cc: info-cyrus@lists.andrew.cmu.edu Subject: Re: Vacation Application On 03/10/2009 12:42 PM
Vacation Application
Hi All, I have a question regarding a vacation application for Cyrus servers. I want to know what others are using to meet this need. Currently, we have a home grown application that allows users to enable/disable vacation messages for their Cyrus accounts. This application is old and outdated, and needs to be replaced. I found the Horde vacation application which looks like it will meet my needs, but I have one issue. We currently have three Cyrus servers with all the accounts spread out across those three servers. The problem I am running into with any vacation application, is how to identify to the vacation application which server a user is on without the user needing to know this information. Is anyone else in a similar situation? Thanks for any help. David Gottschalk UTS Email team david.gottsch...@emory.edu This e-mail message (including any attachments) is for the sole use of the intended recipient(s) and may contain confidential and privileged information. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message (including any attachments) is strictly prohibited. If you have received this message in error, please contact the sender by reply e-mail message and destroy all copies of the original message (including attachments). 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: Vacation Application
No murder here. Oldschool Cyrus setup. I want to upgrade it actually, but there are 30K + accounts on these 3 servers. The only problem I see with having it try each server, but failing how do you know if it really isn't that server, or there is just a network issue. David Gottschalk UTS Email team david.gottsch...@emory.edu -Original Message- From: Nic Bernstein [mailto:n...@onlight.com] Sent: Tuesday, March 10, 2009 2:00 PM To: Gottschalk, David Cc: info-cyrus@lists.andrew.cmu.edu Subject: Re: Vacation Application On 03/10/2009 12:42 PM, Gottschalk, David wrote: Hi All, I have a question regarding a vacation application for Cyrus servers. I want to know what others are using to meet this need. Currently, we have a home grown application that allows users to enable/disable vacation messages for their Cyrus accounts. This application is old and outdated, and needs to be replaced. I found the Horde vacation application which looks like it will meet my needs, but I have one issue. We currently have three Cyrus servers with all the accounts spread out across those three servers. The problem I am running into with any vacation application, is how to identify to the vacation application which server a user is on without the user needing to know this information. Is anyone else in a similar situation? Um, use a murder? Otherwise you may want to adapt something like the cyrus user validation script which was recently posted here. Your application could then perform lookups in the output of that script. Lastly, you could just let you application attempt authenticating against each server, in turn, stopping once it succeeds. Cheers, -nic -- Nic Bernstein n...@onlight.com Onlight llc. www.onlight.com 2266 North Prospect Avenue #610 v. 414.272.4477 Milwaukee, Wisconsin 53202-6306 f. 414.290.0335 This e-mail message (including any attachments) is for the sole use of the intended recipient(s) and may contain confidential and privileged information. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message (including any attachments) is strictly prohibited. If you have received this message in error, please contact the sender by reply e-mail message and destroy all copies of the original message (including attachments). 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: Vacation Application
I'm actually using the Horde vacation app that is part of Sork utilities. David Gottschalk UTS Email team david.gottsch...@emory.edu 404.727.9744 -Original Message- From: info-cyrus-bounces+dgottsc=emory@lists.andrew.cmu.edu [mailto:info-cyrus-bounces+dgottsc=emory@lists.andrew.cmu.edu] On Behalf Of Adam Tauno Williams Sent: Tuesday, March 10, 2009 1:58 PM To: info-cyrus@lists.andrew.cmu.edu Subject: Re: Vacation Application On Tue, 2009-03-10 at 13:42 -0400, Gottschalk, David wrote: Hi All, I have a question regarding a vacation application for Cyrus servers. I want to know what others are using to meet this need. Currently, we have a home grown application that allows users to enable/disable vacation messages for their Cyrus accounts. This application is old and outdated, and needs to be replaced. I found the Horde vacation application which looks like it will meet my needs, but I have one issue. We currently have three Cyrus servers We use Horde's Ingo application which I assume is what your referring to. It works very well and is relatively pretty. with all the accounts spread out across those three servers. The problem I am running into with any vacation application, is how to identify to the vacation application which server a user is on without the user needing to know this information. Is anyone else in a similar situation? Could you use Horde hooks to this? Horde hooks are pretty easy and they can set values you then refer to in your sources configuration. -- OpenGroupware developer: awill...@whitemice.org http://whitemiceconsulting.blogspot.com/ OpenGroupare Cyrus IMAPd documenation @ http://docs.opengroupware.org/Members/whitemice/wmogag/file_view 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 This e-mail message (including any attachments) is for the sole use of the intended recipient(s) and may contain confidential and privileged information. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message (including any attachments) is strictly prohibited. If you have received this message in error, please contact the sender by reply e-mail message and destroy all copies of the original message (including attachments). 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: Vacation Application
That looks great! I will check it out. Thanks for the link. David Gottschalk UTS Email team david.gottsch...@emory.edu -Original Message- From: Kenneth Marshall [mailto:k...@rice.edu] Sent: Tuesday, March 10, 2009 3:06 PM To: Gottschalk, David Cc: Nic Bernstein; info-cyrus@lists.andrew.cmu.edu Subject: Re: Vacation Application We use SmartSieve (http://smartsieve.sourceforge.net/) to manage vacation/sieve scripts. We look up the appropriate backend in our LDAP directory, but a DNS lookup could be done just as easily. It is simple to setup an configure, 1.0RC2. Cheers, Ken On Tue, Mar 10, 2009 at 03:00:39PM -0400, Gottschalk, David wrote: No murder here. Oldschool Cyrus setup. I want to upgrade it actually, but there are 30K + accounts on these 3 servers. The only problem I see with having it try each server, but failing how do you know if it really isn't that server, or there is just a network issue. David Gottschalk UTS Email team david.gottsch...@emory.edu -Original Message- From: Nic Bernstein [mailto:n...@onlight.com] Sent: Tuesday, March 10, 2009 2:00 PM To: Gottschalk, David Cc: info-cyrus@lists.andrew.cmu.edu Subject: Re: Vacation Application On 03/10/2009 12:42 PM, Gottschalk, David wrote: Hi All, I have a question regarding a vacation application for Cyrus servers. I want to know what others are using to meet this need. Currently, we have a home grown application that allows users to enable/disable vacation messages for their Cyrus accounts. This application is old and outdated, and needs to be replaced. I found the Horde vacation application which looks like it will meet my needs, but I have one issue. We currently have three Cyrus servers with all the accounts spread out across those three servers. The problem I am running into with any vacation application, is how to identify to the vacation application which server a user is on without the user needing to know this information. Is anyone else in a similar situation? Um, use a murder? Otherwise you may want to adapt something like the cyrus user validation script which was recently posted here. Your application could then perform lookups in the output of that script. Lastly, you could just let you application attempt authenticating against each server, in turn, stopping once it succeeds. Cheers, -nic -- Nic Bernstein n...@onlight.com Onlight llc. www.onlight.com 2266 North Prospect Avenue #610 v. 414.272.4477 Milwaukee, Wisconsin 53202-6306 f. 414.290.0335 This e-mail message (including any attachments) is for the sole use of the intended recipient(s) and may contain confidential and privileged information. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message (including any attachments) is strictly prohibited. If you have received this message in error, please contact the sender by reply e-mail message and destroy all copies of the original message (including attachments). 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 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
Visible shared folders?
I have three different cyrus servers, but I have a strange problem on one of them. It appears that a Shared folder is appearing to all the users on this Cyrus server. The structure goes like this (userid replaced for real username): -Shared Folders - userid -INBOX.userid It's really strange. The folder does not even exist for the user in question, and the permissions for the user aren't even setup for Shared folders. I did a reconstruct on this user, and that did nothing. Does anyone have any suggestions? Thanks. David Gottschalk UTS Infrastructure Technology Services [EMAIL PROTECTED] 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: duplicate messages
Don't use it at all. David Gottschalk UTS Infrastructure Technology Services [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Joseph Brennan Sent: Friday, September 28, 2007 11:04 AM To: info-cyrus@lists.andrew.cmu.edu Subject: Re: duplicate messages --On Friday, September 28, 2007 10:42 -0400 Gottschalk, David [EMAIL PROTECTED] wrote: it appears that after Cyrus gets the message it gets duplicated. Anyone have any suggestions? Sieve rules? Joseph Brennan Lead Email Systems Engineer 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 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
duplicate messages
Hi All, I have one user that is getting random duplicate messages. I have investigated this issue heavily, and it appears that Cyrus is causing this. I've even gone so far as to recreate the user's mailbox, but that did not resolve the problem. I even have duplicate message suppression turned on. The user isn't receiving duplicate messages on the MTA level, it appears that after Cyrus gets the message it gets duplicated. Anyone have any suggestions? Thanks. David Gottschalk UTS Infrastructure Technology Services [EMAIL PROTECTED] 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: duplicate messages
Yes, I've looked at tons of headers. I'd actually prefer not to post them publically, and reveal sensitive architecture and version information. I know for a fact though the messages were identical, even though the hops they came through before only showed one message. David Gottschalk UTS Infrastructure Technology Services [EMAIL PROTECTED] -Original Message- From: Alain Spineux [mailto:[EMAIL PROTECTED] Sent: Friday, September 28, 2007 11:51 AM To: Gottschalk, David Cc: info-cyrus@lists.andrew.cmu.edu Subject: Re: duplicate messages Did you look at the SMTP header ? Can you post two headers of such duplicates ? Regards On 9/28/07, Gottschalk, David [EMAIL PROTECTED] wrote: Hi All, I have one user that is getting random duplicate messages. I have investigated this issue heavily, and it appears that Cyrus is causing this. I've even gone so far as to recreate the user's mailbox, but that did not resolve the problem. I even have duplicate message suppression turned on. The user isn't receiving duplicate messages on the MTA level, it appears that after Cyrus gets the message it gets duplicated. Anyone have any suggestions? Thanks. David Gottschalk UTS Infrastructure Technology Services [EMAIL PROTECTED] 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 -- Alain Spineux aspineux gmail com May the sources be with you 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: duplicate messages
Good thinking, but this user isn't using clients. In fact, I've had him use numerous different clients to see if he still had the problem, and he did. David Gottschalk UTS Infrastructure Technology Services [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ciprian Marius Vizitiu Sent: Friday, September 28, 2007 12:27 PM To: info-cyrus@lists.andrew.cmu.edu Subject: RE: duplicate messages I have one user that is getting random duplicate messages. I have investigated this issue heavily, and it appears that Cyrus is causing this. I've even gone so far as to recreate the user's mailbox, but that did not resolve the problem. I even have duplicate message suppression turned on. The user isn't receiving duplicate messages on the MTA level, it appears that after Cyrus gets the message it gets duplicated. Anyone have any suggestions? Once upon a time I've had a strange situation where messages appeared duplicated in an Outlook hooked to a Cyrus... and for no apparent reason. Once I saw that the messages were not actually duplicated on the disk in the user's inbox I've nailed it to the Copernic desktop search engine (http://www.copernic.com/en/products/desktop-search/index.html). Back then Copernic would spook Outlook into seeing cross-eyed an IMAP store... 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 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: duplicate messages
Heh, I wish that was the case this time. David Gottschalk UTS Infrastructure Technology Services [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robert Banz Sent: Friday, September 28, 2007 11:28 AM To: Info Cyrus List Subject: Re: duplicate messages it appears that after Cyrus gets the message it gets duplicated. Anyone have any suggestions? Sieve rules? I always think its because the users are staring at their mail clients cross-eyed. ;) 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 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