Is it possible to manage threads with sieve?
Hello. I subscribe multiple mailing lists, and every two months I had to clean up by: 1. go to each mailing list mail folder, find messages I sent; 2. find the threads of each messages I sent; 3. these are the threads that I participated discussion, move the whole thread to archive folder as I might search them later or for reference. This is really boring work and is against the principle of why people use computer (to release human from repetitive and uncreative work). Is it possible to do it with sieve or should I start to write client-side script (in my case, thunderbird plugin or perl script in cron) for this? I believe the easiest route is client side script but just ask in case. Thanks in advance. 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: how to configure: turn off SSL_VERIFY_PEER flag for imap/tls
Vladimir Vassiliev wrote: > You can try this: > https://bugzilla.andrew.cmu.edu/show_bug.cgi?id=2642 > Thanks. I commented on that issue. 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
how to configure: turn off SSL_VERIFY_PEER flag for imap/tls
Hello. I am trying to help my users workaround an issue which was described here: https://bugzilla.mozilla.org/show_bug.cgi?id=437683 In short, cyrus imapd asked for tls client certificate, while user agent thunderbird prompts user to select one. Since our deployment does not require client certificate, and users have their email PGP certificate installed, whatever PGP certificate user selects must be wrong, thus user couldn't establish connection to imap server. Workarounds: 1. Disable TLS on server or client (bad, their email wouldn't be safe then); 2. Remove PGP certificate for our clients (bad, ditto); 3. Ask users to switch from Thunderbird to Outlook Express (bad, I feel sicker if they do); 4. Wait for Thunderbird to add an option to allow user to configure always not offer certificate to TLS server even if asked (bad, could be years' waiting); 5. Configure cyrus so that it does not turn on SSL_VERIFY_PEER flag (of openssl), that imapd server do not ask user for client certificate (the only solution that looks feasible); So 4 is the choice. Problem being I couldn't figure out how to configure it that way. I configured "tls_require_cert: false" which sets SSL_VERIFY_FAIL_IF_NO_PEER_CERT, which controls if requires the client to provide the certificate (instead of SSL_VERIFY_PEER which controls if asks the client to provide the certificate). So how do you suggest me handle the situation? Thanks a lot in advance! -- 锐业软服(北京)信息技术有限公司 Real Softservice 邮政编码:100089 北西环中路238号 柏彦大厦406b室 Beisihuan Zhong Road No. 238 Baiyan Building Unit 406B Tel: +86 (10) 8231 8580 http://www.realss.com 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
vacation extension: auto-reply starting with "Auto-reply: " instead of "Re:"
Hello. I enjoyed vacation extension of sieve for several weeks now. I am quite happy with it. However I prefer the auto reply message to be in the format "auto-reply: " where was the original subject line. It seems: If I don't use :subject, the auto reply message subject is "Re: "; If I use :subject "auto-reply: ", the auto reply message subject is "auto-reply: " (no ); Both are not what I want to have. Do I miss some knowledge or need to RTFM more carefully? (I read ietf-sieve-vacation twice already) or is this simply not possible? Thanks in advance. -- Real Softservice Huateng Tower, Unit 1788 Jia 302 3rd area of Jinsong, Chao Yang Tel: +86 (10) 8773 0650 ext 603 Mobile: 135 9950 2413 http://www.realss.com Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
can sieve file emails to corresponding folder by subaddress?
The question is pretty simple: I wish sieve to file new emails to sub-folders of Projects folder by using sub-address. e.g. [EMAIL PROTECTED] goes to INBOX.Projects.EECZ [EMAIL PROTECTED] goes to INBOX.Projects.GTZ.PADO [EMAIL PROTECTED] goes to INBOX.Projects.web.yuliansu I have been doing it with the following statements: if envelope :detail "to" "web.realss" { fileinto "INBOX.Projects.Web.RealSS";} [a dozen similar statements] The problem is I maintain a list of a dozen projects, and they update and changes. Everytime I had a different project I had to maintain sieve. I am looking for is it possible to write only one statement? -- Real Softservice Huateng Tower, Unit 1788 Jia 302 3rd area of Jinsong, Chao Yang Tel: +86 (10) 8773 0650 ext 603 Mobile: 135 9950 2413 http://www.realss.com 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
Mailbox is locked by POP server
I am sorry for re-posting what Igor Belikov posted on this list two years ago (and unanswered) because I got the same problem and the answer isn't really obvious (googling around can lead me some really complex discussion on how to detect and shut down the expired/dead connection but not direct answer) here is the question: Hello info-cyrus, We have clients that get his (or her) mail via dial-up connections. If dial-up session terminates abnormally (while getting mail) and client redial and try to continue get his mail - he receive error: Mailbox is locked by POP server I understand what is the problem: Cyrus don't see ending previous POP session and think that client still using mailbox, and don't allow him begin new session. Is it possible to turn this behavior off? We have enough dial-up clients, and nobody of them using IMAP - only POP3. I know that POP3 do not allow concurrent connection, as written clearly in RFC. Problem being our customer use really damn stupid email client that looks occasionally dropping connection without notifying server, and other email service providers here in China seems to handle this particular email client pretty well. The email client also doesn't support any of TLS, IMAP or LDAP and is very popular here (popular for non-technical reason of course) that if we don't support it, customers prefer to choose another email service provider who can. "I am used to use xxx product" is such a strong reasoning from customer that service providers cannot simply ignore and suggest Thunderbird & IMAP (I already suggested many times). Best regards Zhang Weiwu Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
can sieve script flag the whole thread?
Hello. I read the RFCs and documents I can find on the internet, it seems it's not possible for sieve to flag a thread. I need such an action that not only setflag the current email, but also any other emails in the same thread in the folder. This is useful to organize workflow in our business, each workflow is a discussion thread and if someone send an email to this thread with subject "Done", the whole thread should be flagged or moved to another folder. Being able to setflag (or move messages) for a whole thread of discussion is vital to use sieve to help us organize email, otherwise we probably wouldn't put as much information in email and try develop a web application on our own. Can this be done? Help really appreciated. Best regards Zhang Weiwu Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
efficiency drops when user exceed 5000+?
Hello. I have cyrus imapd runing now on my server. Today I heard people say when the user number exceed 5000+ the cyrus proformance drops in the way that unless many partitions ware made (what partition? file system partition?) to share the load. I'm pretty newbie on mail server administration, should I start to do something in case my user number grow over 5000+? I'm running a dual-processor Xeon server with IDE soft RAID10 discs. --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: email server concept: what's mail delivery agent
Etienne Goyer wrote: Zhang Weiwu wrote: I'm a newbie but I don't know why I need to use lmtp at all. I was told by the comment in main.cf and master.cf that I can use mailbox_transport = cyrus and deliver(8) will be called to do mail delivery. Since I'm runing a single server, is there any obvious reason I should use lmtp at all? The reference to the 'cyrus' mailbox_transport is outdated. You should now use lmtp instead. Anyway, deliver(8) use LMTP to actually deliver the mail, so you may cut the command invocation and have Postfix deliver via LMTP in the first place. Thank you. Sorry but I think my question is still not answered so far: if I am going to use the cyrus' delivery agent (now I realize I should use lmtp(8) from postfix and lmtpd(8) from cyrus), I don't have to go through virtual(8) and local(8) any more? Right? --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: email server concept: what's mail delivery agent
Simon Matter wrote: Sure, you can use the cyrus transport with deliver. But it's not easier, right? IIRC some things like single instance store are only possible with LMTP and I never find out why people insist on using deliver. Are the any advantages? Okay I get you:) thank you. --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: email server concept: what's mail delivery agent
Simon Matter wrote: Forget about maildir and such. Cyrus-imapd is a mailserver, not a fileserver. By mailserver I mean imap, pop3, sieve but also mail storage or mail searching. You simply don't care about how cyrus-imapd stores mails and metadata when you configure an MTA to work with cyrus-imapd, just feed mail to it via LMTP and access it through IMAP, POP3 whatever. Of course it can be interesting to know how cyrus-imapd stores mails in case of a desaster recovery procedure or if you want to move accounts to other servers, but that's another issue which again has nothing to do with postfix or any MTA. I'm a newbie but I don't know why I need to use lmtp at all. I was told by the comment in main.cf and master.cf that I can use mailbox_transport = cyrus and deliver(8) will be called to do mail delivery. Since I'm runing a single server, is there any obvious reason I should use lmtp at all? --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: email server concept: what's mail delivery agent
m wrote: You should read a few books and the relevant RFC documents BEFORE going any further! Thank you! I still wish to hear some suggestions: If there is delivery agent in both postfix and cyrus, what should I lean on? I read the virtual(8) and local(8), are these two the so-called 'delivery agent'? If I am going to use the cyrus' delivery agent (sorry I don't know its name) I don't have to go through virtual(8) and local(8) any more? I heard cyrus have different native mail storage structure other than maildir, is it true? If I use that format, I cannot use postfix's delivery agent, right? Thank you again:) --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
email server concept: what's mail delivery agent
Hello. I'm trying to set up an email server several days. I think the most difficult part is to know when what does what. I wish to be clear on some concepts. I am running cyrus + postfix + ldap on a gentoo server, multiple virtual domains (sealed mail server, no mail user have system account). It seems to me: 1. Moden mail servers don't often do mail forwarding. So upon receiving an email, it will always be 'local delievery'.; 2. Documents often mention 'delivery agent' and 'maildir', it seems 'delivery agent' is not a standalone package, there is a delievery agent in postfix package, and there is also one in cyrus package, I can choose to use the delivery agent (postfix's or cyrus') 3. maildir is a way to store email, it is where postfix save incoming mail, and it is the place cyrus-imapd get emails so that to put to user's INBOX. But an email server can have no maildir completely, and let cyrus's delivery agent by pass maildir and put mail directly to user's INBOX. 4. putting the incoming emails in to each coorisponding domain's email storage place is the job of delivery agent. I feel messed up reading all the documents, now I am afraid I got severl concepts completely wrong so I just write what I think plainly and hope someone kindly come out and say to me "hey, you got xxx wrong here", and I'll be thankful:) Thank you. --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html