Re: SirCam and sieve
> And for that particular worm there's no need to match the body : > /etc/procmailrc : > :0 > * ^ Content-Disposition: Multipart message > /var/log/spam/sircam > > The Content-Disposition: Multipart message is incorrect. No false-positive > in more than one week on an university server. Right, but you don't get them all; in yesterday's mail, 3,521 match on body (first line of encoded virus) TVpQAAIEAA8A//8AALgAQAAaAAA 2,785 match on header Content-Disposition: Multipart message Also seen: 'Content-disposition: Multipartmessage' (several), 'Content-Disposition: MULTIPART' (one), no Content-disposition header, and bounces with the virus message inside them as a mime part. Joseph Brennan [EMAIL PROTECTED] Academic Technologies Group, Academic Information Systems (AcIS)
Re: Problem with cyrus imap 2.0.16 and Outlook Express 5.0: Seen flag does not stick
>> - user opens INBOX and clicks on one unseen mail. >> - This mail is marked as Read on Outlook Express. >> - user clicks on Send/Recv button to check new mail. > It's a problem with Outlook Express interacting with the Cyrus-IMAP server. > What is happening is that OE is connecting to the Cyrus-IMAP server twice > (one to write the seen state, and one to re-sync the internal cache with the > server). This causes the re-sync to download the seen state before it is > stored on the IMAP server, which causes OE to reset it in the internal cache > (a second re-sync should show the correct state). What we see with U Wash imap is the first connection getting killed by the second, because the mbox is read over NFS. Outlook Express does this two-connection dance every time it checks for mail, so if the user has it set to check automatically every 1 minute, you've got 120 user authentications a minute going on, in addition to the connections opened each time a message is read and needs to be marked seen. Compare to Mulberry or Netscape Communicator or Pine, and you will see they open one connection to select inbox and hold it open, using it to check for new mail, flag messages deleted and seen, and so on. Is this just a case of alternative designs? Does it make any sense at all to open a connection to change state and a connection to check state simultaneously-- does that sound like recommended programming practice for imap or anything else? Thus, > I'd blame Outlook Express but unfortunately I have another working IMAP > server for comparision ;) I disagree. You're well justified in calling it buggy and recommending something else. Entourage is no better. Joseph Brennan [EMAIL PROTECTED] Academic Technologies Group, Academic Information Systems (AcIS) > > I also see this OE problem, when reading messages in a folder, leaving it, > and then immediately going back to the folder. The messages that I had read > are now shown as closed yellow envelopes (OE unread, but downloaded state). > Wait for OE to re-sync the folder and then OE shows the messages as read > (white open envelopes). > > When Cyrus-IMAP writes the seen state, it first makes a copy of cyrus.seen > to cyrus.seen.new(?). This allows other IMAP connections to read the seen > state from cyrus.seen, while the first connection is updating > cyrus.seen.new(?). When it finishes it moves the file to cyrus.seen. > > The reason you are not seeing this problem with the UW-IMAP server > (IMAP4rev1 v12.258), is because the UW-IMAP server stores all messages in > one file (i.e. unix mbox format). This requires the UW-IMAP server to lock > the file when it is writing to it, which prevents other connections from > reading the file, until the lock is removed. > > You'll find other annoying problems with OE: > Problem: New message arrives, select it in OE, OE shows it marked > deleted and doesn't show the contents. > > Fix: Right click on folder, choose properties, select local tab, click > delete, compact, and OK buttons. Then re-sync the folder and read the > new message. > > Scot
Re: OT: Re: How many people to admin a Cyrus system?
Ian G Batten <[EMAIL PROTECTED]> wrote: > However, people don't want calendaring, they want Outlook. This describes exactly the point of view of administrative staff. They live in Microsoft Office, and they need a server to support it. That is the assignment given. I was looking at Open-Xchange on the web <http://www.open-xchange.com/>. The server provides webmail and MAPI interfaces. The "Hosting Edition" (and maybe the others, it is not clear) can talk to Cyrus and includes ACL support. (We're still running both Exchange for admin staff and Cyrus for the much larger university community of faculty and students.) 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
Re: OT: Re: How many people to admin a Cyrus system?
David Chait <[EMAIL PROTECTED]> wrote: > One key piece of functionality that seems to be missing from every OSS > solution mentioned thus far is mobile device push support (Activesync), > this is not to be underestimated as it is for us, a key reason why we are > ultimately being forced to adopt Exchange en-mass and abandon our current > Cyrus infrastructure. - Right. This is a necessity for us too, if we are to integrate the Exchange and Cyrus systems. One of the interesting things about Open-Xchange is support for push via SyncML. There is a list of PDAs that it works with. The devices we support now need the intermediaries of either GoodLink or BES attached to Exchange, and if I understand it right (I might not), they use a MAPI connection to find out when there is new mail. If so it appears they would work also with systems like Open-Xchange that offer MAPI connections. 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
Re: Reject large emails
--On Tuesday, February 12, 2008 10:58 +0200 Nikos Gatsis <[EMAIL PROTECTED]> wrote: > Hello list. > Is it possible with cyrus to reject emails with large attachments and > inform the sender for the rejection? As stated, normally done at the MTA level. But note also, normally done by total message size, not attachment size. If you have to analyze mime parts and measure the size of each one, half the battle is lost already, that is the sender already transmitted the large message and you had to store it in a spool file and parse it. At MTA level, if you and the sender both use ESMTP, your MTA can state its maximum message size in the ehlo response, and the sender's MTA can see that and not even send the message. That is the best outcome. If the sender does not use ESMTP, it wastes time sending the entire message, but you can still reject quickly. The sender's MTA will create the bounce notice, or do whatever else it does when mail can't be delivered. The Cyrus system should not send a bounce. It should only accept or reject, and the sending MTA should handle notifying the sender. Joseph Brennan Columbia University Information Technology Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Reject large emails
--On Wednesday, February 13, 2008 12:27 PM +0200 Nikos Gatsis <[EMAIL PROTECTED]> wrote: > Joseph thank you for your answer. > We use sendmail. Do you know how to set up sendmail.mc to reject those > emails? define(`confMAX_MESSAGE_SIZE',3000) Read the README for how to put that into sendmail.mc and generate a sendmail.cf file. Your choice of size, in bytes. 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
Re: Importing Mails without "to" header
> Situation: an old user has a mail in his account, that was sent _only_ to > bcc: People, so in "to:" you will only find "". Check what is really in the message. Some mail programs display the null address in modified form. This is valid: To: undisclosed recipients :; This is not: To: I hope Cyrus is complaining only about the latter. > When we now try to import these mails into a cyrus imap folder we get a > message that an invalid header was detected. When we migrated to Cyrus we wrote a preprocessor perl script that rewrote certain header lines to make them standard. The rewritten mailbox was output to a staging area, and that's what we moved. This approach might work for you. 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
Re: Importing Mails without "to" header
--On Friday, February 15, 2008 5:18 PM + Phil Chambers <[EMAIL PROTECTED]> wrote: >> This is valid: To: undisclosed recipients :; >> This is not: To: >> > > I would say that the former is not actually valid, though the syntax > looks correct. RFC2822 section 3.6.3 says that To:, Cc: and Bcc: must > contain at least one address. The above does not contain an address. But this IS an address by definition. RFC 2822 even shows it in an example, namely the CC address in section A.1.3. Sec 3.4 says, address = mailbox / group group = display-name ":" [mailbox-list / CFWS] ";" [CFWS] Because the list of mailboxes can be empty, using the group construct is also a simple way to communicate to recipients that the message was sent to one or more named sets of recipients, without actually providing the individual mailbox address for each of those recipients. 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
Re: Want cyrus to deliver directly into a mailbox's folder.
> Mar 20 11:09:05 mypostfix postfix/lmtp[22947]: 348ED583EB: > to=<[EMAIL PROTECTED]>, orig_to=<[EMAIL PROTECTED]>, > relay=mycyrus[myip]:24, delay=0.14, delays=0.11/0.01/0/0.02, dsn=2.1.5, > status=sent (250 2.1.5 Ok) > > and it is delivered in my INBOX mailbox, not in my spam folder!! > > User 'cyrus' has 'lrswipcda' access to this folder. > > Do I need to configure something on my cyrus side ? It needs 'anyone p' access. 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
Re: sieve problem
--On Friday, March 21, 2008 13:12 +0100 Christoph Kaminski <[EMAIL PROTECTED]> wrote: > Hi! > > Why this rule doesnt work? > > IF 'From:' contains '[EMAIL PROTECTED]' AND 'From:' contains > '[EMAIL PROTECTED]' AND 'From:' contains '[EMAIL PROTECTED]' > AND 'From:' contains '[EMAIL PROTECTED]' THEN file into > 'INBOX.Informationen.Foren.DVB' > > It is created with smartsieve... I've never seen a 'From:' with four addresses in it. Use OR. 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
Re: delete messages from a mailboxe matching corresponding SUBJECT header
--On Monday, March 24, 2008 2:54 AM +0600 Vladi Lemurov <[EMAIL PROTECTED]> wrote: > Is there some way to do that, I mean to delete all messages marked in > subject as "!! SPAM" by means of cyrus tools? Give your account 'all' permission. Open the mailbox with an imap client to select messages with the word in subject, delete, expunge. Remove the permission. 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
Re: Sieve forwarding loop destroys e-mail
--On Sunday, March 30, 2008 2:27 PM +0100 Alain Spineux <[EMAIL PROTECTED]> wrote: >> Shouldn't we have a better solution to this problem? Some people >> expect that forwarding e-mail to yourself should work; nobody expects >> the messages to vanish without a trace. > > You must enforce this at sieve script creation, No, it is just totally wrong that an action other than 'discard' will result in mail silently vanishing. Maybe this is what does happen, but it is not what _should_ happen as was asked. It _should_ either go to inbox (grounds: ignore a bad rule) or back to sender (grounds: not deliverable as configured). Joseph Brennan Columbia University Information Technology Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Sieve forwarding loop destroys e-mail
Jo Rhett <[EMAIL PROTECTED]> wrote: > I would ask that you spend some time determining how the > program could determine it is a bad rule, and provide a patch to fix this > behavior. (in short -- it's harder than you think) A mail delivery system that loses mail is buggy. I don't need to look at the code to know that. You can tell me no one has time to fix it, and in an open source project I can respect that. But it is a bug. > > or back to sender (grounds: not deliverable as configured). > > Only if you want to become a source for backscatter. Losing mail is much worse than backscatter. With bounces limited to people who get a forward loop going, bounces are not a big issue. Gary Mills <[EMAIL PROTECTED]> wrote: > Of course, > it's impossible to distinguish between a forwarding loop and a real > duplicate unless another `Received' header is added to the message > header. Hm. What if duplicate suppression is turned off? Infinite loop? Hop count is the classic MTA method of detection, but here the very first time around the loop will hit dup suppression. This calls for something else that lets the system know the message already passed through a local sieve script. Joseph Brennan Columbia University Information Technology Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Sieve forwarding loop destroys e-mail
> I'm all for trying fix this if someone can come up with some logic to do > so. IMO, the code is correctly processing the script as written. Here > is the current code logic: > > - original message is sent to lmtpd > - message is forwarded and a record is put in deliver.db stating as much > - forwarded message comes back to lmtpd > - lmtpd executes the script which tells it to forward to another address > - lmtpd sees that it has already forwarded the message, so doesn't > forward it again > > At what point should we decide to deliver the message? The user hasn't > asked us to do that, even though they think that they have. How can > lmtpd be intelligent enough to know that the forwarded address will > cause the message to come back? In case [1], user X forwards to an external address which forwards back to user X. This could be solved by not suppressing duplicates when forwarding to external addresses. Instead the loop would be stopped by exceeding the hop count in the MTA, and the MTA would bounce. This emulates what happens with .forward or .procmailrc loops. In case [2], user X forwards to user X. If lmtpd hands this to the MTA, it's like case [1]. Or does lmtpd handle this by itself? In that case the loop should be detectable, I imagine. I'm probably missing something. We might be smarter with case [1] if lmtpd inserted a "X-Been-Here" type header as it hands off to the MTA, so that it could detect a loop the first time the message comes back. 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
Re: Sieve forwarding loop destroys e-mail
Matt Garretson <[EMAIL PROTECTED]> wrote: > Along similar lines, any well-written Procmail recipe which redirects > mail typically checks for, or adds, an "X-Loop" header before > forwarding anything. Yes, it's an old solution. The crucial difference is that if one writes a bad procmail recipe, the message loops round and round until one of the MTAs considers the hop count exceeded and bounces it to sender, but if one writes a bad sieve rule, the message _is silently lost_. That's a much harsher penalty. And we stand a chance of here of doing _better_ than procmail. If we insert a header roughly like 'X-Sieve-Seen: user hostname' when we forward, we can look for it in incoming messages and say we won't forward again. So the penalty for writing a bad sieve forward rule would be that it doesn't forward. That's better than bounce to sender, and way better than losing the message. > If the "editheader" Sieve extension gets implemented, then a well- > written sieve script should be able to do the same type of thing. > To me this seems a bit more sane than expecting lmtp or sieve to > accomplish it automatically. I've been called crazy before! 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
Re: Subject problem
--On Thursday, April 3, 2008 17:26 +0300 Nikos Gatsis <[EMAIL PROTECTED]> wrote: > I'm facing a strange problem. > Every message I receive with Greek characters in subject cyrus > "translate" them to X... > > Does somebody know what's going on? It means the Subject had 8-bit characters, not encoded. The sender's email program should be encoding them. The header portion of mail is required to be 7-bit only. Joseph Brennan Columbia University Information Technology Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Backscatter solutions
Ian Eiloart <[EMAIL PROTECTED]> wrote: > If you aren't using SPF, then you can't really complain about backscatter. Forget SPF. Why should any system accept mail for an unknown recipient and then mail a bounce? That's the primary cause of backscatter. These systems are just as likely to accept the message, then check SPF, and mail a bounce :-) This is getting off topic for the Cyrus list though. The question relevant to Cyrus, I thought, was whether a sieve filter can catch backscatter. With header-only tests, not so much. 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
Re: Help with bulletin board functionality
--On Tuesday, May 20, 2008 10:44 +0200 Mark Clarke <[EMAIL PROTECTED]> wrote: > We are experimenting with using cyrus imap bulletin boards. Our imap > server hosts several domains and we figured out how to create bulletin > board folders for the different domains, in cyradm, by going "cm > [EMAIL PROTECTED]". There are probably issues related to the domain hosting that I never had to deal with. But I can answer some of this. > 1) How to post to the bulletin board? > I have read about using a syntax like [EMAIL PROTECTED] At > first the smtp server was refusing to deliver to this address until we > added it to the allowed virtual domain addresses. (We are using postfix > for smtp). Now the message gets to cyrus but we get a 500 error about > the mailbox not existing or not having sufficient rights to post. I have > given myself "all" rights to the mailbox. The permission needed is "anyone p". Depending on how your system is set up, cyrus may have no way to verify who is sending mail, and would need to see that "anyone" has the "p" permission. This is no different than for any mailbox. All inboxes have an implicit "anyone p". > 2)How do you delete an entry from the bulletin board folder? > Since I had all rights I deleted a test mail I got into the folder by > dragging and dropping it in evolution. On my machine the folder is > empty. On other users who has lr rights to the mailbox the mail is still > showing. How do I delete it from everyones view? The same way you delete from any mailbox. Someone with the "d" permission can mark it deleted, and then expunge. I cannot think of any way to duplicate what you describe. It sounds like evolution is showing you something different from what is on the server, which would be pretty bad. Maybe you could check by reading with a different client, or from a different computer, using your own account, or even better, learn how to type imap commands from telnet so you can get a view without a client. 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
Re: Cyrus - can't create user mailbox
>> > $ cyradm -u cyrus localhost >> > Password: >> > localhost> dm user.satimiscyrus >> > deletemailbox: Permission denied >> > >> > I can't delete the mailbox created previously. >> >> Because you need to give yourself the right before > > Whether I have to run the command as root? Root doesn't matter. The cyrus user needs permission to delete. This is a safety feature. sam user.satimiscyrus cyrus all >> > localhost> cm user/satimiscyrus >> > localhost> lm >> > user.groupware (\HasNoChildren) >> > user/satimiscyrus (\HasNoChildren) >> > user.satimiscyrus (\HasNoChildren) >> > >> > Still can't create the subdirectory. It did what you asked, but I don't think you asked for what you wanted. > $ sudo find / -name "*satimiscyrus*" > Password: > /var/spool/cyrus/mail/s/user/satimiscyrus > /var/spool/cyrus/mail/u/user^satimiscyrus > /home/satimiscyrus This looks correct. Note: (1) Cyrus user.satimiscyrus = filesystem user/satimiscyrus (2) Cyrus user/satimiscyrus = filesystem user^satimiscyrus (3) is not a Cyrus mailbox I would expect mail addressed to satimiscyrus to end up in (1). (2) is not a user mailbox. It could work as a bboard mailbox but that's not what you want in this case. Joseph Brennan Columbia University Information Technology Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Problem on mail boxe
Stephen Liu <[EMAIL PROTECTED]> wrote: > > Emails can be received by this user on SquirrelMail. But they can't be > deleted. On deleting following warning popup. > > ERROR: Could not complete request. > Query: COPY 13 "INBOX.Trash" > Reason Given: Permission denied > * end * > List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html First of all, the error was not about marking 13 deleted, but about copying 13 to Trash. Since the copy failed, Squirrelmail did not send the delete command, and you don't know whether it would have worked. It would be simpler to debug if you configure Squirrelmail to just mark deleted when you tell it to delete-- no Trash. Second, stop doing ls on the filesystem. What you need to know about is Cyrus mailboxes and permissions-- not what's on the unix filesystem. Use cyradm to find out whether there is a mailbox called user.satimiscyrus.Trash, and if not, find out whether the ACL on user.satimiscyrus allows the user to create subfolders (the "c" permission). It would be weird for a user not to have permission to create subfolders of his own folders. That's probably not it. But you've been mucking around, so check. More likely COPY failed because Trash does not exist. Have the user create Trash with imap and see if that fixes it. Or use cyradm to create user.satimiscyrus.Trash. I assume that when Squirrelmail refers to INBOX.Trash it actually means a mailbox called Trash under user.satimiscyrus. If Squirrelmail wants to use Trash and it is not there, I don't know why it does not just create it instead of reporting an error, but I have seen other clients that dumb. 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
Re: Problem on mail boxe
I wrote, > I assume that when Squirrelmail refers to INBOX.Trash it actually > means a mailbox called Trash under user.satimiscyrus. But now that I have seen this, > localhost> lm > INBOX.Drafts (\NonExistent \HasNoChildren) > INBOX.Sent (\NonExistent \HasNoChildren) > INBOX.Trash (\NonExistent \HasNoChildren) > user.aaa (\HasNoChildren) > user.bbb (\HasNoChildren) > user.groupware (\HasNoChildren) > user.ccc (\HasNoChildren) > user.satimiscyrus (\HasNoChildren) > user.ddd (\HasNoChildren) > user/satimiscyrus (\HasNoChildren) I take it back. This is really at the point where I think I would wipe everything out and start over. Use the dot separator next time, to clarify the distinction between Cyrus mailboxes and unix files. Joseph Brennan Columbia University Information Technology Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Couple of questions
Michael Menge <[EMAIL PROTECTED]> wrote: > Beware there is a Bug in Outlook 2003 (don't know which SPs) which > will get confused if the length of the UID string of a Mail change > resulting in downloading the same Message over and over again. Right. It's an amazing bug, because the examples in the RFC actually show variable length UIDs! Users here reported this problem when we first went to Cyrus a few years ago. It was solved by applying updates to Outlook, which the users should have done anyway for security and other reasons. Or, you have some other problem that we don't have. 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
Re: Question ??
--On Thursday, October 2, 2008 9:10 -0400 Valentino Sawney <[EMAIL PROTECTED]> wrote: > > > Periodically some clients get this error "Mailbox is locked by POP server > " whenever they try to connect to our frontend mail servers. > > > > I am currently running the cyrus murder cluster in production with two > frontend servers and two backend servers. The error above pops up on the > backend servers whenever the connection is forwarded to backend . > > > > Are there any known fixes for this. > That's normal, since the POP protocol requires the mailbox be locked for the duration of a POP session. People who run two POP clients at once will see the error message sometimes. Of course if POP sessions don't quit when the client quits, that's another story. Joseph Brennan Columbia University Information Technology Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: IMAP account used for multiple users
--On Monday, October 13, 2008 12:58 -0500 Jason Voorhees <[EMAIL PROTECTED]> wrote: > Hi all: > > A simple question: > Is there any kind of problem if a unique IMAP account is used by more > than one client at the same time? > I'm thinking to give access to all my users (up to 90 users) trough MS > Outlook to a unique IMAP account. > I hope you mean that they would each log in with their own account, and share the same folder. That should work. If not, various problems might arise. Off the top of my head: -- Anybody could delete and expunge, or, nobody can. -- They can't keep track of what messages each person has seen. -- Somebody might POP the mailbox and remove everything. Joseph Brennan Columbia University Information Technology Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Folder allowed character
--On Tuesday, November 18, 2008 11:28 +0100 Antonio Talarico <[EMAIL PROTECTED]> wrote: > Hi > Where i can found a list with allowed character for a folder name? > RFC 3501, section 5.1 to 5.1.3 Joseph Brennan Columbia University Information Technology Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Rights question
--On Monday, December 15, 2008 17:30 +0100 Paul van der Vlis wrote: > Hello, > > I gave "anyone" the right to list and post to the mailbox user.jan.Sent. > But when I give that as the folder for sent-messages in Thunderbird, I > get an error "refused". What do I wrong? > > localhost> lam user.jan.Sent > jan lrswipcda > anyone lp > > I don't want that anyone can read all the messages, only post messages. > > Met vriendelijke groet, > Paul van der Vlis. > I assume you are not the user 'jan'. Sent messages are not mailed, but written with imap, so you need the 'i' right to save sent mail there. Joseph Brennan Columbia University Information Technology Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: howto list inactive users in cyrus:
>> is there any way to easily list 'last login' for users with cyradm ? >> I got over 1000 accounts and want to find out if there are any inactive >> accounts as in "haven't logged on" for like 6 months or so' . > > The lastupdate field corresponds with the last time the account received > an email, not my last login (which was yesterday). How about checking the timestamp on the user.seen files? It seems to get touched at login, even if you don't open a message. Joseph Brennan Columbia University Information Technology Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Security risk of POP3 & IMAP protocols
Adam Tauno Williams wrote: >> A friend of mine is asking me about security risks of using IMAP & >> POP3 protocols. Why? Because a sales person told my friend that IMAP >> protocol is less secure than POP3 protocol. This reminds me of a concern that was raised about U Wash IMAP and storage of mail in unix home directories. In that setup IMAP access is based on unix file system permissions, and IMAP will open files that are not mail files if the user has unix file permissions to open them-- including various system files. This always struck me as a bogus concern since the user could also telnet in and see the same files! The protocol itself is no less secure than POP. I don't understand why POP is still around. Joseph Brennan Columbia University Information Technology Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: List to Spam Harvest
--On Friday, February 27, 2009 13:46 -0500 Adam Tauno Williams wrote: > And posting these here in > plain text unobfusticated will have no measurable effect on the amount > of SPAM I receive. I've been using these addresses for years [a > decade?] go ahead and google them My address has been on the net since 1989 and Google tells me it is on 729 web pages. I know for a fact that there are people here who get a lot more spam than I do, because I follow up on spam reports. Web harvesting certainly exists but I don't like going into hiding. The compromise with " at " sounds pretty good though. No argument. 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
Re: Delayed delete, restoring deleted mailboxes
--On Tuesday, March 17, 2009 7:57 -0400 Adam Tauno Williams wrote: > On Tue, 2009-03-17 at 13:26 +0200, Leena Heino wrote: >> What is the recommended process to restore deleted messages or mailboxes >> when delayed delete is in use? > > Use the unexpunge command; the man page isn't bad, and I have examples > and some notes in the Cyrus chapter of WMOGAG > <http://docs.opengroupware.org/Members/whitemice/wmogag/file_view>. Unexpunge for messages. For entire mailboxes, use rename. You can find the name by doing a "lm *string*" in cyradm. It will start "DELETED." and end with an extra string. 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
Re: thoughts on running an IMAP-over-SSL server exposed to the Internet?
--On Friday, March 27, 2009 9:46 -0400 Zachariah Mully wrote: >> How comfortable y'all are with exposing Cyrus IMAPd's imaps port to the >> big wild Internet? Not much point running it if you can't connect to it, is there? It's totally standard. Actually you need only plain imap with tls required, but imaps helps some clients work right. 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
Re: limit tcp sessions opened by an IMAP client
LALOT Dominique wrote: > Hello, > > I've looked at google before asking, but I didn't find something. > Some imap clients are using many tcp connexions. I would like to know if > there is a way to limit them? This could make the client fail and increase your helpdesk calls. Do you mean more than five? Whatever you do should check both host and user, so that you don't cut off multiple users on a timeshare host or a firewall gateway. 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
Re: limit tcp sessions opened by an IMAP client
Strange to see so many logins spread over a short time. They seem to be in pairs, which is the way some clients start up. I wonder if the client thinks the connection has dropped, and so it starts new sessions. I realize the server's netstat shows them as still connected. It might be interesting to log sessions and see what's going on. Or to strace live processes. And of course ask the user what it looks like from his/her end. 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
Re: limit tcp sessions opened by an IMAP client
LALOT Dominique wrote: > . I've seen once entourage on macosx ignoring 5xx code from our smtp > server, and trying to upload a 50Mo file every minute. Outlook will try every second, under some conditions! Funny, I was thinking Outlook Express for this imap problem. I've seen it start a new imap login to see whether there's new mail in the inbox it already has open (this is horrible in U Wash imap, where the new session kills the older one). If these were evenly timed, like every 5 minutes, I would have said Outlook Express. But these are at irregular intervals, so I think it's something else. 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
Re: AW: Re: AW: Re: Message contains NUL characters - howto dump?
> (IMHO is the max. line lenght in emails 4000 characters.) RFC 2821 sec 4.5.3.1 says the max length is 1000 characters including the two CR LF characters. However if the MTA fixes this, Cyrus won't see it. Sendmail for example breaks long lines at 997 characters and inserts ! CR LF. 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
Re: misterious duplicate message-id
Gabriele Bulfon wrote: > ...the "fix" is to use Exchange?!?!?!?!?!?! My users use > Cyrus+Postfix+Solaris10 > Should I convert all my installations to Exchange? > > ...there must be another solution, come on Their business model is to make Outlook _almost_ work right with SMTP and POP/IMAP, but have lots of subtle problems that go away when you convert people to their Exchange product. I have to say that this is one of the most blatant examples, where they actually tell you that the fix for Outlook's problem is to use Exchange. Or you can believe it's incompetence, but I don't, because Microsoft could afford to hire expert engineers and make it work right if they wanted to. 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
Re: Invalid Header problems
Google is your friend. Notice that a Message-ID header exists but has no string after the label: Jul 28 09:45:10 boom3 postfix/cleanup[6921]: B9A7225C001: message-id= See http://archives.neohapsis.com/archives/postfix/2005-02/1410.html 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
Re: Repeating emails
--On Tuesday, November 3, 2009 9:44 AM -0500 Tom Plancon wrote: > Hello all, > > Not sure if this is the place to ask this, just trying to track it down. > I'm running Cyrus 2.2.12 with Postfix 2.2.2 for only 45 users. Every once > in a while, but much more recently, users are receiving emails sent a few > days ago - again. The recent repeat emails were all from users on our > network sent to all users on our network. The headers appear like > regular, legit emails. Any thoughts as to what could be going on or where > to begin looking. > > Any input is greatly appreciated. Thanks. Find out whether the message was actually sent twice by the sender. See system log ; diff the Received headers and Message-ID. Most likely it was sent twice, indicating a sender client problem. If sent only once, find out whether the message is really repeated on the cyrus server. Grep the Message-ID. If it's there only once, it's some kind of index problem on cyrus or in the client. You could reconstruct. You could have the recipient read the mailbox with a different client and see whether the duplication still appears. Joseph Brennan Columbia University Information Technology Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: TLS fails on imaps port
--On Saturday, January 23, 2010 4:54 PM -0800 Bob Dye wrote: > I'm running Cyrus-imapd 2.3.7 on a Redhat Enterprise Linux 5 system. > > TLS works fine if I connect to the imap port (143). If I try to connect > instead via the imaps port (993), the attempt times out and I get the > following in the log: > > imaps[27170]: imaps TLS negotiation failed: [xx.xx.xx.xx] > imaps[27170]: Fatal error: tls_start_servertls() failed Normal. It should fail. 993 requires SSL. Joseph Brennan Columbia University Information Technology Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: TLS fails on imaps port
Examples: [1] openssl s_client -connect mail.columbia.edu:993 [2] openssl s_client -connect mail.columbia.edu:143 -starttls imap [3] openssl s_client -connect mail.columbia.edu:993 -starttls imap [1] and [2] should work ; [3] fails. The U Wash IMAP server gives the same results. These alternatives are commonly called "ssl" and "tls", but the actual distinction is whether the starttls command is used to get Transport Layer Security. First described in RFC 2595. Joseph Brennan Columbia University Information Technology Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: trouble with sieve and cyrus murder
--On Wednesday, February 3, 2010 9:26 -0800 Andrew Morgan wrote: > On Wed, 3 Feb 2010, Carlos Ricardo Bernal Veiga wrote: > >> Ohhh Thank you Dan, this parameter worked really good in our Webmail, >> and so sorry for my english, We are studying the cyrus murder to deploy >> in our company, do you know about some success case with murder?? We >> have about seventy thousand accounts and we want know more about this >> project... Our murder has 749,620 mailboxes for 98,186 users. 12 frontends and 8 backends plus 1 murder master. And 8 replica backends, since we are doing replication too. I agree with Andrew Morgan, I/O is key. Joseph Brennan Columbia University Information Technology Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Deleting messages
--On Friday, April 2, 2010 5:30 PM -0700 Nybbles2Byte wrote: > Okay, I am sure this is stupid question but how do you really delete > messages. When I delete messages in my email client and then log in to > see the mailbox through a web program I see that the message are marked > as deleted but still there. That's what "delete" does. It marks the messages deleted. You can still undelete them, in case of error. Then the command "expunge" removes all messages marked deleted. For no known reason some clients call this "purge" instead of "expunge". Joseph Brennan Columbia University Information Technology Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Deleting messages
Nybbles2Byte wrote: > Expunge sounds more like a legal term > than anything to do with software and I'm surprised that it became an > official > command as programmers would far more likely think of purge first. > Perhaps a > non-programmer came up with that one. "Expunge" comes from the MM client developed in the 1970s. One of the developers, Mark Crispin, designed the IMAP protocol in 1986, and he carried over the term Expunge as the command to remove messages marked deleted. <http://www.columbia.edu/acis/email/mm.home/mmmanual/8.about.mm.html> I can't think of a good reason not to use the term that the protocol uses, since it is a word people know and using it would make it simpler to discuss commands applicable to any IMAP client. I first saw "purge" used in the mid 1990s. I don't know whether it first appeared in the Exchange Client (the interoffice memo and scheduling client that became Outlook) or Netscape Navigator (one the first GUI IMAP clients). It was an unfamiliar term and I did not understand why it was being used. None of the old email clients used it, nor did the POP or IMAP protocols. Joseph Brennan Columbia University Information Technology Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: user_deny.db, very high load and Apple-Spotlight
Mark Heisterkamp wrote: > Kenneth Murchison stated in some mail on this list that user_deny.db is > used once per login, that's definitely not true, it is used every time > the client 'uses' an IMAP-folder and that can be pretty often! Some clients open a new login session every time they open a new folder. Enable telemetry if you want to check what these clients do. Joseph Brennan Columbia University Information Technology Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Cyrus vacation notice
> However, when I send to a user with a set vacation message using an > external email system (eg Hotmail) then it?s a bit hit and miss as to > whether an out of office message gets delivered to the sender. Check this by looking at your syslog or maillog, for an outgoing message from <> to the hotmail address. It will be within seconds of the incoming message from the hotmail address. Actual delivery to the hotmail inbox is not your concern, and from stories I've heard, don't count on it to work. The hotmail user may have a user-level configuration that throws the mail away, without realizing it. If there are any other rules in the sieve filter before the vacation rule, check whether they say to stop. For example, if I say put mail from f...@example.com in inbox and stop, and then have the vacation rule after that, f...@example.com won't get the vacation message. You know of course that vacation replies per sender only once a day, or some longer period, right? Just checking. Joseph Brennan Columbia University Information Technology Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: [cyrus-imapd] unexpunge folder problem
--On Thursday, April 15, 2010 3:06 PM +0200 Eric Luyten wrote: > While we're at it : what happens on a Cyrus server with two or more > partitions ? Does a mail folder delete imply a move to the 'default' > partition or can every partition have its own 'DELETED/user/...' > hierarchy ? DELETED is in same the partition the user is in. Joseph Brennan Columbia University Information Technology Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Cyrus vacation notice
> From: > To: > Subject: Absence notification This would be OK if the incoming message came from r...@server.domain. Are you doing something funny at the gateway, such that mail gets re-sent to the cyrus system with MAIL FROM ? If so, bounces don't go back to sender either. Have people reported that too? Look at the log records on the gateway and the cyrus system to see what the sender address is. 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
Re: Cyrus vacation notice
Andrew Nash wrote: > I?m not too sure, to be honest. I?ve just sent a test message from the > LAN to an invalid external user (eg asd...@btinternet.com), and I > received a ?non delivery? message from the mail server of the domain > saying the mailbox I was trying to send to was invalid. Is this what you > mean? I meant the opposite, but forget that. I am guessing that by LAN you mean a private network that is firewalled from the Internet. Right? I am guessing that mail from outside arrives on a gateway host that is on the Internet, and it re-sends the message into the private network. Right? Identify a message from outside that should have got a vacation reply but did not. For that message: -- Find the log record on the gateway that shows it coming in, and note the sender address. -- Find the log record for the same message on the cyrus host, and note the sender address. Is it the same, or "r...@server.domain"? If it has changed to "r...@server.domain", that is the problem. Joseph Brennan Columbia University Information Technology Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Odd Behavior w/ HTML Attachment
Gary Furash wrote: > Problem: when users pick up specific type of email from our CYRUS IMAP > server with Outlook 2007 as the client, the body of the mail is turned > into an attachment and there is no email body. It sounds like a bad interaction between the MIME formatting and Outlook 2007. If you want, send me an example directly and I'll examine the MIME format. Joseph Brennan Columbia University Information Technology Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Cyrus vacation notice
Andrew Nash wrote: > Return-Path: r...@server.domain So the vacation reply should go to r...@server.domain. > We have a multi-drop POP3 mailbox on the ISP, and our server uses a > program called Fetchmail to download all the messages, handing each > downloaded message to a program called Trestlemail which examines the > header before dropping it off to the correct recipient. Holy expletive. By the time cyrus gets the message, you have lost the envelope sender and envelope recipients. So you can't send any type of delivery status notice correctly, whether vacation replies, bounces, or receipts. It looks like you can't deliver bcc'd messages either, if you are trying to guess recipients by reading headers. Anyway none of this is a cyrus problem. I'm out of here. Joseph Brennan Columbia University Information Technology Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: sieve problem with vacation filter again.
Maria McKinley wrote: > The only thing unusual about this account, that I can think of, is that > he is forwarding mail to this account from other accounts. Did you put those other addresses in the sieve rule? Joseph Brennan Columbia University Information Technology Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Occasionally weird behaviour with mboxes
Dan White wrote: > For instance, creating the mailbox INBOX/Work/Jim without first creating > INBOX/Work would make INBOX/Work non selectable, with children. I tested that, and our cyrus server returns also NonExistent... * LIST (\NonExistent \Noselect \HasChildren) "." "alpha" not what he got which was only... * LIST (\Noselect \HasChildren) "." "Fornitori G-Z" Joseph Brennan Columbia University Information Technology Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: How to activate sieve script for users?
you dont need to known user passwords to set sieve scripts. The more interesting problem is how you will then maintain the scripts. Most users do not have the technical background to hand-edit sieve scripts. Instead they use a GUI to do this. But I'll grant that someone who could write .procmailrc recipes should be able to handle sieve. The GUI clients are write-only. That is, they can translate their own ruleset into sieve script, but they cannot translate back from sieve script. So you use the GUI, it stores its ruleset, and puts a sieve version to the server. When you want to update, the GUI reads its ruleset to show you what you have, and if you change something, it again puts a sieve version to the server. What we're doing here is implementing the web-based Ingo interface, and disallowing any other. This gets us at least the portability that the Ingo page can be accessed from anywhere, so that a user can update sieve rules from anywhere. (Actually the user is updating Ingo rulesets that are put to the server as sieve rules.) The down side is that some things you can really do with sieve itself are not available. Joseph Brennan Columbia University Information Technology 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: plus addressing with postfix
Stefano Santoro <[EMAIL PROTECTED]> wrote: ... and if you plan to deliver to subfolders DO make sure that the subfolder names are all lowercase. INBOX.junk not INBOX.Junk What makes this necessary? Joseph Brennan Columbia University Information Technology 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: more than one Sieve autoreply per day?
--On Thursday, April 6, 2006 17:28 -0400 Phil Durbin <[EMAIL PROTECTED]> wrote: My HR department is having a problem with their Sieve script. They want job applicants to receive an autoreply *every time* someone emails [EMAIL PROTECTED] Imagine if someone sent mail to apply-hr and had an equally uncontrolled autoreply. This is not a theoretical possibility. There are some client-side implementations of vacation that reply to all (even bounces!) and I have had to clean up the results. Sometimes we had to deny smtp connections from an IP temporarily to make it stop. Joseph Brennan Columbia University Information Technology 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: more than one Sieve autoreply per day?
--On Friday, April 7, 2006 12:29 -0400 Phil Durbin <[EMAIL PROTECTED]> wrote: Good point. Maybe there could be some throttling built into the "autoreply" extension that Ken says people have considered writing. 10 autoreplies per day per address or something. That would make it workable. I've been asked for the same thing, and would welcome a solution. Another aspect of it that has bothered me is that HR typically wants to say "your message has been received", but are there situations where the reply is sent and the message not delivered? Disk failure perhaps, or the recipient mailbox over quota. In such cases the message should bounce, but maybe not for a few days, and in the meantime the sender thinks it has been received. The consequences are different than they are for an ordinary vacation notice. It could be more of a legal question than an email question. Joseph Brennan Columbia University Information Technology 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: Outlook does not delete but displays deleted messages asstrike-trough
--On Monday, May 22, 2006 10:13 -0600 Warren Turkal <[EMAIL PROTECTED]> wrote: On Monday 22 May 2006 09:43, Simon Matter wrote: Isn't the default policy to move to trash in Outlook? I think that way you can handle it without having the people to purge messages by hand. No. The default in Outlook with an IMAP account is that it just strikes out the message in your message list. It's the most rediculous thing I have seen considering how every other email client out there works. Both clients I use show deleted messages with a line through them, and neither one is Outlook. Why would you call this ridiculous? It's easy to undelete by highlighting one and clicking undelete. And it reminds me they're still taking up space, which nudges me to expunge them every so often. I like controlling when my messages get wiped out. Joseph Brennan Columbia University Information Technology (asstrike-trough, n. Where donkeys dispose of their tricycles.) 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: Strip HTML
Shaun Bolling wrote: > Hello All, can Sieve strip the html from an email and if not > whats the best way to go about this? In the sendmail world this sounds like a milter function. It can be done by Mimedefang for example. I don't see anything in the sieve protocol that provides for changing message content. The available actions are reject, fileinto, redirect, keep, discard. By the way, you need to define the functionality a little better. Do you mean drop all text/html parts and deliver the rest? That will result sometimes in empty messages. Or rewrite text/html parts into plain text? In most cases that will get you two text/plain parts. More likely you want to proceed conditionally on whether there is a text/plain alternative and whether that alternative has the same content (some do not). This might even be most appropriately done by the client. IMP for example by default displays the text/plain part if available and otherwise no text, and the user has to click to see the text/html part. That's nice because you can still see the html when you want to. Joseph Brennan Columbia University Information Technology 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: performance issue (imap spool on san)
--On Thursday, July 27, 2006 2:58 -0700 Nikola Milutinovic <[EMAIL PROTECTED]> wrote: Say you have a GUI IMAP client XxX. Say you start it up and click on the INBOX. What would you desire/expect XxX to do? First I'd like it not to open inbox unless I do click on inbox (or unless I configured it to open inbox). That's a pop holdover. As if, what else would I be running a mail client for? Well, with imap I might be wanting to check some other folder. When opening inbox, a client is usually configured to list new messages. If so it really needs only to fetch headers of new messages. The rest do not matter unless the user wants to scroll back, and even then it might fetch only the next N messages back. Some clients actually open and cache headers of all subscribed folders. That does not scale on a system where users are advised to subscribe to many shared folders. My telnet client could do 'ls -lR /' when I log in, and cache it, but it doesn't :-) Joseph Brennan Columbia University Information Technology 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: Sieve: vacation does not work
--On Friday, August 4, 2006 18:23 +0200 Simon Matter <[EMAIL PROTECTED]> wrote: Hi Phil Thanks for your answer.. Don't forget that vacation messages are usually only sent once a week or so. That means testing is difficult because you get one response, and no more without cleaning up duplicate db. Simon And vacation messages are not sent to yourself. You're testing by sending from some other address, right? Joseph Brennan Columbia University Information Technology 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: mail lists and cyrus
--On Tuesday, September 5, 2006 10:21 -0800 barsalou <[EMAIL PROTECTED]> wrote: Maybe my google foo isn't very good, but I'm having a hard time finding information on how I might implement a mailling list using cyrus. Can someone give me a kick in the right direction? Using sendmail, ldap, cyrus. Mike B. Get yourself a nice mailing list software package. The only Cyrus-related idea might be to use a shared mailbox that everybody can read, instead of mailing a copy to everybody, but that only works well if all the list members read mail on the same system. Joseph Brennan Columbia University Information Technology 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: performance issue (imap spool on san)
--On Monday, September 11, 2006 14:14 +0200 Daniel Eckl <[EMAIL PROTECTED]> wrote: But it's nice, that everyone who doesn't care about looking and usability now has a suitable free IMAP client availiable. It is possible to state your preference without insulting everyone else. Joseph Brennan Columbia University Information Technology Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Problems with repeated download of messages from pop3
According to our field support here, this bug is fixed by downloading and applying all of the Service Pack updates. That is a really good idea anyway so harm done. I would like to know whether Outlook continues to have trouble after that. If so please let us know what version has the trouble. Cyrus is not doing anything wrong. Not only does the protocol allow numbers to vary in length, but the example in the RFC shows numbers of different lengths! Joseph Brennan Columbia University Information Technology --On Tuesday, September 26, 2006 21:50 +0200 Dan Ohnesorg <[EMAIL PROTECTED]> wrote: Even here was many times reported, that outlook has bug, which prevents users from using: leave message on pop3 server functionality. The problem seems be really related to length of UID of message. Occures on maiboxes, where are messages with mixed length, like: 1. 10. or 10. 100. It can be probably fixed on cyrus side. I have one idea, how to fix it and not break current mailboxes by changing UID format. If cyrus will in every NEW mailbox start with messages number 100., there will be possible to deliver 900 messages without changing the length of UID. Is it good idea? Will be possible to insert new configuration parametr like first_uid and fix the problem this way? cheers dan 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: Folders containing messages and subfolders
--On Tuesday, November 28, 2006 15:48 + Kevin Clark <[EMAIL PROTECTED]> wrote: Hi, Does Cyrus IMAP support the ability to have folders that may contain both messages and subfolders? The tdlp.org 'MS Outlook to Unix Mailbox Conversion' MINI-HOWTO suggests that no Linux IMAP server using the Mailbox format supports this feature. Does Cyrus IMAP use the Mailbox format and, if so, does it therefore NOT support folders containing both messages and subfolders? By 'Mailbox format' they seem to mean 'mbox' format. When that format is used, a 'mail folder' is either a directory containing other folders or a file containing messages. Cyrus does not use mbox format, and its 'mail folders' can contain both messages and other folders. 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
Re: Beyond rtcyrus2 (sendmail integration)
--On Wednesday, November 29, 2006 16:11 +0100 Andrzej Adam Filip <[EMAIL PROTECTED]> wrote: I would like to know who is interested in helping to develop next versions of advanced Sendmail and Cyrus IMAP integration methods. I would like to further improve methods available at links below: http://anfi.homeunix.net/sendmail/rtcyrus2.html http://anfi.homeunix.net/sendmail/#cyrus I have created google group for the purpose. Join it if you are interested: http://groups-beta.google.com/group/cyrus-sendmail Sounds good to me. 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
Re: Beyond rtcyrus2 (sendmail integration)
Andrzej Adam Filip <[EMAIL PROTECTED]> wrote: 2) Methods you suggest do not give a chance to reject messages to over quota mailboxes *in SMTP session*. ...which can be a good thing if you want to give users a chance to clean up or request more space. The trouble with smmapd is that it gives only a binary yes/no response, not distinguishing even 'user unknown' from 'user over quota'. Reject 'user unknown' in the smtp session-- absolutely-- but temp fail situations are handled more nicely by accepting and queueing locally. Joe Brennan 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
cyr_expire error
cyr_expire has started failing with this error: cyr_expire[4729]: IOERROR: bboard zero index/expunge record 4/1591 This is 2.3. Here's the info from cyradm: localhost.columbia.edu> info bboard {bboard}: expire: 180 lastpop: lastupdate: 17-Dec-2006 20:42:17 -0500 partition: default size: 8733755 So this is a top-level shared folder, not under user/, and articles should expire after 180 days. The error is this in mailbox.c: /* Copy over records for nondeleted messages */ for (msgno = 1; msgno <= exists; msgno++) { /* Copy index record for this message */ memcpy(buf, index_base + mailbox->start_offset + (msgno - 1) * mailbox->record_size, mailbox->record_size); /* Sanity check */ if (*((bit32 *)(buf+OFFSET_UID)) == 0) { syslog(LOG_ERR, "IOERROR: %s zero index/expunge record %u/%lu", mailbox->name, msgno, exists); return IMAP_IOERROR; } But bboard contains messages 309. to 704., not 4 to 1591. We are using delayed expunge. What should I look at? Joseph Brennan Columbia University Information Technology Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: cyr_expire error
Earlier I wrote: cyr_expire has started failing with this error: cyr_expire[4729]: IOERROR: bboard zero index/expunge record 4/1591 D'oh. I did "reconstruct bboard" and that fixed whatever it was. But this was repeatedly stopping cyr_expire from continuing. It is now running through all of the mailboxes it had missed since bboard got corrupted. 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
Re: A script for fixing bare newlines in mailbox files?
--On Thursday, January 11, 2007 17:35 -0500 Zachariah Mully <[EMAIL PROTECTED]> wrote: Howdy all- We've been bitten by migrating some of our people from Outlook to Thunderbird, and then using Tbird to move their mail off their local machines onto the IMAP server where it belongs. Unfortunately we've not patched Cyrus to accept bare newlines, nor intend to... Since I have access to the local mailboxes does anybody have a perl script or something of the like that would remove the bare newlines from the raw mailbox files? My perl-fu sucks this days, and I've not been able to figure where and how to remove them... When moving from U Wash to Cyrus we applied this rewrite to all mailboxes. Get rid of any nulls while you're at it. while(<>) { # The \000 character (NUL) is not allowed if ($line =~ s/\000//g) { print STDERR "WARNING: Removing NUL\n"; } # Change CRLF or bare CR to LF $endcr = $midcr = 0; $endcr++ if ($line =~ s/\015$//g); # \n already there $midcr++ if ($line =~ s/\015/\n/g); # add \n if ($endcr || $midcr) { print STDERR "WARNING: Correcting CR characters\n"; } print; } 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
Re: A script for fixing bare newlines in mailbox files?
--On Friday, January 12, 2007 12:18 -0500 Jorey Bump <[EMAIL PROTECTED]> wrote: Did any users report any further corruption of what is arguably already a corrupted message? I'm not familiar with the cause of this problem, but having encountered it before, mainly with messages that have large attachments, I'm wondering if attached files might be unusable after such a scrubbing (assuming they were not encoded properly). No. For a few years we have been refusing or rewriting messages with nulls or bare returns, so only mail at least 4 years old was involved. Many of the messages involved were 10 years old or more. Amateurish Windows-based mail-sending software is still in use that sends junk like this. From the lack of trouble reports, I think it is text parts that are mainly affected. Maybe to do encoding the software writers use standard modules that do it right. 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
Re: Moving mail into IMAP server and the Received date
--On Monday, February 19, 2007 16:32 +1000 RM <[EMAIL PROTECTED]> wrote: I've been experimenting with cyrus and some other imap servers which also exhibit this problematic behaviour: when I move the mail from a local folder to an imap folder under cyrus, my adjacent Windows/OutlookXp mail reader sorts the mail by "Received" date, and the date registered as "Received" is the time/date that the copy operation is carried out (ie: now) rather than the date that the mail was actually originally received. Outlook uses the internaldate attribute. RFC 3501 says: 2.3.3. Internal Date Message Attribute The internal date and time of the message on the server. This is not the date and time in the [RFC-2822] header, but rather a date and time which reflects when the message was received. In the case of messages delivered via [SMTP], this SHOULD be the date and time of final delivery of the message as defined by [SMTP]. In the case of messages delivered by the IMAP4rev1 COPY command, this SHOULD be the internal date and time of the source message. In the case of messages delivered by the IMAP4rev1 APPEND command, this SHOULD be the date and time as specified in the APPEND command description. All other cases are implementation defined. The relevant command is APPEND, and its description says: 6.3.11. APPEND Command Arguments: mailbox name OPTIONAL flag parenthesized list OPTIONAL date/time string message literal [ . . . ] If a date-time is specified, the internal date SHOULD be set in the resulting message; otherwise, the internal date of the resulting message is set to the current date and time by default. So when a client moves mail from local to server, it *could* send an internaldate. Cyrus honors this. When we moved from U Wash to Cyrus we were careful to get the internaldate from U Wash and send it in the append command to Cyrus. When the client does not send an internaldate, Cyrus follows the RFC and assigns the current date and time. There is no imap command to change internaldate once it has been assigned. Ideally you might be able to find a client that sends internaldate when it moves mail from local to server. The catch is that since so many clients, like Thunderbird, do not use internaldate to sort, they probably don't preserve it in local folders, and they probably don't try to reconstruct what it was from Received or Date headers when they append to a folder on server. It's not really a Cyrus or Outlook bug. 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
reconstruct deletes messages
We're running into cases where running reconstruct removes message files, sometimes all of the messages in a folder, leaving only the directory and the cyrus.cache, cyrus.header, cyrus.index files. This makes no sense to me at all. I thought the only purpose of reconstruct is to rebuild the index. Under what circumstances would it unlink files? 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
Re: reconstruct deletes messages
--On Tuesday, March 6, 2007 9:01 +0100 Michael Menge <[EMAIL PROTECTED]> wrote: Hi, which Version of Cyrus do you run. In 2.3.x is a new feature expunge_mode: delayed which leaves the deleted mails on disk, till they are deleted by cyr_expire. Till 2.3.8 reconstruct did not recognise these feature and removed the files. But this would only delete files if they where deleted in Cyrus before. Thank you. We're 2.3.something but not 2.3.8. This explains what is happening to messages after we restored from backup. 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
Exchange's handling of Sieve Reject
Users on two separate Exchange servers here have reported that they don't see the reason part of messages rejected by sieve. The Cyrus user has a reject rule. I can reproduce it simply as: ##INGO # sieve filter generated by Ingo (March 14, 2007, 8:51 am) require "reject"; # Sieve Reject Test if header :comparator "i;ascii-casemap" :contains "Subject" "please reject this message" { reject "You want it rejected, you get it rejected."; stop; } - To see precisely what is returned, send mail to [EMAIL PROTECTED] with the subject "please reject this message". The mime message looks syntactically correct to me, as follows: main message is multipart/report part 1 is text/plain part 2 is message/disposition-notification part 3 is message/rfc822 The Exchange messages were viewed with Outlook. Outlook users did not see any of the message sent by Sieve, but only a new text generated by Exchange or Outlook that looks like this: - From: Mail Sieve Subsystem [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 13, 2007 5:20 PM To: [EMAIL PROTECTED] Subject: Automatically rejected mail Your message To: [EMAIL PROTECTED] Subject: test Sent: 3/13/2007 5:19 PM was deleted without being read on 3/13/2007 5:20 PM. - One of our staff looked at one of the message also with Evolution, and reported a *variant* form of the above message, making me wonder what data Exchange is sending to the client. It looks like this: - Your message To: [EMAIL PROTECTED] Subject: test attachment Sent:Tue, 13 Mar 2007 17:18:41 -0400 was not readTue, 13 Mar 2007 17:20:06 -0400? mail disposition report attachment Content-Type: message/disposition-notification Content-Transfer-Encoding: 7bit Final-Recipient: RFC822; [EMAIL PROTECTED] Disposition: automatic-action/MDN-sent-automatically; deleted Original-Message-ID: <[EMAIL PROTECTED]> - Notice the changes in the line spacing, the Sent: line, the "was" line, and the inclusion here of the text from mime part 2. Evolution also indicated the presence of a dat attachment after this, which the Outlook users did not see. We did not yet test what Outlook shows when it reads as an imap client off the Cyrus server. All the above was read off an Exchange server. Possible fixes would be to format the rejection like a reply or a forwarded message, or plain text, but it would be pretty dumb. Has anyone else dealt with this at all? Any bright ideas? 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
Re: POP3 to CyrusIMAP migration howto ?
--On Wednesday, March 28, 2007 12:10 +0530 BipinDas <[EMAIL PROTECTED]> wrote: Hi All, I would like to migrate my existing POP3 inboxs to newly created Cyrus IMAP mailbox. Is anybody gone across this requirement. Please give me a right solution. POP3 inboxes are stored locally on each PC. Each user would have to run a client that can move messages from the local inbox to the Cyrus server. You cannot do it for them unless you have some kind of remote access to all the PCs (which might be the case in a controlled corporate environment). 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
Re: Bare newlines problem
--On Tuesday, April 3, 2007 13:27 +0200 Paul van der Vlis <[EMAIL PROTECTED]> wrote: Hello, When I move a message to another mailbox, I get a warning about bare newlines. How can I remove these bare newlines? It's a big message with foto's, 3.5 MB. I am not sure this warning is correct. I allready tried a perl-script of Joseph Brennan what I found in this list, but it did not change the message (checked with diff). The script prepares mbox-format mailboxes for mailutil, which complains if there are CR characters (\015) in the mbox-format files. It changes CRLF to LF and then changes remaining CR to LF. Bare LF is normal for unix files. Are you sure it says "bare newlines"? Newline is an ambiguous term. 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
Deleting mailboxes on master
We cut over from a primary to a replica, and then back again, all within one outage, because we got the primary going again pretty fast. Now we have an interesting situation. The replica told the master about some obsolete mailboxes that no longer exist on the primary. As a result the mupdate from the primary did not rewrite the location of these obsolete mailboxes. They really do exist only on the replica. The replica does not report to the master (if it did, it would fight with the primary about where mailboxes are). Therefore, the following do not change the master: running cyradm on the replica and doing deletemailbox; and deleting the mailbox with an imap client. I have a list of them from running ctl_mboxlist -d on the master. But I can't figure how to remove them from the master's mailbox list. Does anyone have an idea? 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
Re: Misdelivered messages
Recipient addresses don't have to appear anywhere in the message. And in spam the To: header is often garbage. Ignore that. Look at the system log records written by your MTA (Postfix?) to see who the recipients were. Joseph Brennan Lead Email Systems Engineer Columbia University Information Technology --On Wednesday, May 23, 2007 9:37 -0400 Dana Canfield <[EMAIL PROTECTED]> wrote: In the past week or so, we've had trouble with spam being delivered to the wrong recipients. It's difficult to explain, so I'll use an example: [EMAIL PROTECTED] and [EMAIL PROTECTED] are local users receiving hundreds of spam per hour. None of it is addressed to them. Their email addresses don't appear anywhere in the message source. The messages in hackxx's account appear to be the same messages that xxmelser is receiving. Most of the misdirected messages seem to be addressed to other local users, such as [EMAIL PROTECTED] or [EMAIL PROTECTED] To further confuse the issue, this only happens with spam. A legitimate message mailed to [EMAIL PROTECTED] goes through to xxmilton's account and doesn't appear in the other users' mailboxes. The *only* clue I have found is that most of these spams that get misdirected have a gap between the To: and the address in the message header, like this: To: <[EMAIL PROTECTED]> Does anyone have any clue what might be going on here? Thanks DC 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: better techniques to identify and remove zero-day viruses from cyrus store sought
John Crawford <[EMAIL PROTECTED]> wrote: > What's the best way, and second best way to react to zero-day virus > threats - messages that are delivered to the mail store before the > detection is in place? Refuse mail with executable attachments. List is at: http://support.microsoft.com/kb/262631 http://support.microsoft.com/kb/829982 This 100% effective and there are no zero-day or zero-hour problems. Done here since February 2003. 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
Re: problem with cyr_expire
--On Monday, September 3, 2007 2:01 PM +0200 Rudy Gevaert <[EMAIL PROTECTED]> wrote: On Mon, 03 Sep 2007 10:17:47 +0200, "Rudy Gevaert" <[EMAIL PROTECTED]> said: > Hello, > > I noticed that I'm having a problem with cyr_expire. I previously set > an expire annotation on a mailbox. (Some months ago.) > > I have now seen that cyr_expire goes upto that mailbox and then errors: > > Sep 2 04:40:07 himalaya mail1/cyr_expire[10145]: IOERROR: > ugent.be!user.rudy^gevaert.Spam zero index/expunge record 8/1183861181 We have had the same problem repeatedly on a folder that has an expire annotation: Sep 2 04:01:11 currywurst cyr_expire[7184]: IOERROR: spam zero index/expunge record 443/1247 The disk was fsck'd about three weeks ago and it did have some data errors that were repaired. We then went about a week without the error and now it is back, every few days. Running reconstruct definitely fixes it, but it does not stay fixed. 1247 is not the number of messages in the mailbox. There are about 19,000 messages. What does "443/1247" represent? The only other mailbox that has this problem is also the only other mailbox we have that has an expire annotation. But this other one has the problem much less often, and not at all since the fsck. It is on the same partition. I have wondered whether the bogus Date headers in spam tickle a bug in expiring by date. 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
Re: Relation of filesystem to Cyrus mailbox structure
--On Friday, September 14, 2007 8:27 -0700 Rick Kunkel <[EMAIL PROTECTED]> wrote: > Where I've been stuck recently is trying to figure out things like how to > manipulate mailboxes by using the file system. Maybe this isn't really > practical using mdir. > > Here's the latest: I have a user that we migrated from mbox. She has > her inbox folder, which migrated fine. Then she has a couple of other > folder, which migrated fine. Then she has folders within folders, and > those refuse to show up, and it won't let her subscribe to them. Here's > how it they're in the filesystem: > > /var/mail/j/user/janedoe <-- Inbox: Migrated fine > /var/mail/j/user/janedoe/folder1 <-- Also migrated fine > /var/mail/j/user/janedoe/folder1/folderA <-- I can't get to show > > I don't think the user really NEEDS the folder called folder1 above, but > wants the folders inside of it. So I tried to move folderA back one > level so that it was sitting inside the /var/mail/j/user/janedoe folder, > but that doesn't work. I figured I had to run a reconstruct command, > but no avail there either. > > I guess the fundamental question here are these: > > - If I make changes to the file system, how do I get these reflected in > Cyrus mailbox views? It's less painful if you can use Cyrus to do this stuff. I know :-) The main reason you might have to do this would be restoring entire mailboxes off backups. Given /var/mail/j/user/janedoe/folder1/folderA , Cyrus might have three mailboxes named user.janedoe, user.janedoe.folder, and user.janedoe.folder.folderA, but not necessarily. cyradm will show you what folders exist, in Cyrus's view, and it lets you create, delete, and rename mailboxes to make the Cyrus view be what you want it to be. Cyrus will move the files around in the filesystem accordingly. To do batch work a perl script can use Cyrus::IMAP::Admin to do what cyradm would do. When we migrated from mbox, we created Cyrus mailboxes for the directories too. For ~janedoe/mail/foo/bar (mbox file) we created both user.janedoe.foo and user.janedoe.foo.bar, even though the user had never stored mail in foo (since it was a directory). This seemed simpler than having to explain later that foo could be part of a mailbox name but not exist as a mailbox! 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
Re: Relation of filesystem to Cyrus mailbox structure
Jorey Bump <[EMAIL PROTECTED]> wrote: > This is one area migration tools failed me, as well. None of them were > able to automatically create the mailbox that corresponds to the > *directory* that held mbox files, even via IMAP. They were able to > preserve the structure, however. But analyzing the old file structure is not difficult to script. "find" gives a nice list. "if (-z $file || -d $file)", just create a Cyrus mailbox but skip the message moving tool. Detail will vary depending how the old mail was structured. We had to grab /var/spool/mail/user, ~user/mbox, and ~user/mail/* which might be common in U Wash for example. It might have been cool to test the first five characters in ~user/* for "From " to catch stray files not in the mail directory. You're right, it's amazing how many users have only inbox and sent and trash folders (of varying names). 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
Re: delete messages from INBOX.Trash INBOX.Junk
--On Thursday, September 20, 2007 11:47 -0400 Robert Banz <[EMAIL PROTECTED]> wrote: > They're the kind of folks that routinely ask for "important mail > we've deleted from their Trash folder" to be restored. > Ha! The same thing has happened here. Note, the client makes a Trash folder and provides a nice button to move things into it. Imagine if the client also made an Archive folder and had another button for that. 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
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
Re: LIST is slow for 35K mailboxes
--On Tuesday, October 9, 2007 14:19 +0100 Ian G Batten <[EMAIL PROTECTED]> wrote: > We have ~35K mailboxes (as reported by ctl_mboxlist -d | wc -l), and > the LIST takes upwards of 5 minutes. The imapd spins as much CPU as > it can get hold of, too. We have 1,117,961 mailboxes in a murder. It takes about 1 second to do LIST "" * and oddly enough it takes longer, 7 seconds, to do ctl_mboxlist -d | wc -l Sorry this doesn't help solve your problem but it proves it should be a lot faster than that. Joseph Brennan Columbia University Information Technology Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
alt namespace
We are planning to move to Cyrus and running a test server. Using altnamespace and unixhierarchysep, we see this as expected: c namespace * NAMESPACE (("" "/")) (("Other Users/" "/")) (("Shared Folders/" "/")) c OK Completed But this looks wrong: c list "" "%" * LIST (\Noinferiors) "/" "INBOX" * LIST (\HasChildren) "/" "mailbox2" * LIST (\Noselect \HasChildren) "/" "Other Users" * LIST (\Noselect \HasChildren) "/" "Shared Folders" c OK Completed (0.000 secs 10 calls) Clients that use namespace will list the contents of Other Users and Shared Folders twice if we use this configuration, once under "" and once under their namespaces. What's wrong here? Joseph Brennan Academic Technologies Group, Academic Information Systems (AcIS) Columbia University in the City of New York --- 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: change default mailbox names
--On Wednesday, April 20, 2005 11:03 -0500 Nick Trenary <[EMAIL PROTECTED]> wrote: At 10:07 AM 4/20/2005, Derrick J Brashear wrote: On Tue, 19 Apr 2005, Nick Trenary wrote: Is there a way to change the default mailbox names that are created in Cyrus? I'm using Cyrus on OS X.3 and cannot a config file that allows you to change the names. Can someone point me in the right direction? There answer may be "no" but unless you give an example of what you mean it's hard to know what you're really asking for. The default mailbox names created are Inbox, Deleted Messages, Drafts, and Sent Messages. I want to shorten the names to something like Inbox, Trash, Drafts and Out(box) respectively if I can. If Cyrus is creating them, change imapd.conf to change them. But those are usually created by clients. Joseph Brennan Academic Technologies Group, Academic Information Systems (AcIS) Columbia University in the City of New York --- 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
Non-personal users
We are converting to Cyrus later this year. We're currently trying to figure out how to organize non-personal mailboxes. Many departments and divisions like to have incoming mailboxes for official mail to the unit, and we'd like to keep that separate from any one user's mailbox. They usually ask for a user account and want to share the password. But as a single user, they'd not be able to track what each person has seen, and any person could delete and expunge. This might possibly work for two or three people sharing a job duty, where essentially as long as one of them has seen and acted on a message, the others don't need to see it. But in many cases what they really want to do is direct mail for some project or function to its own mailbox, and then get everyone to be able to read all the messages. So sharing with acl's is more appropriate. It seems like we'd want to set up a base mailbox per department, and set acl's so that some few people per department can manage a tree starting there. These few would be able to move messages around, delete and expunge, create and destroy sub-mailboxes, etc. We'd like to make it easy for each unit to manipulate this and not have to submit a request to us. Is it better to do this in "user." space or public folder space? We can see pros and cons to each, but we have no experience to draw on. What is actually being done on Cyrus systems, and how well does it work? Joseph Brennan Academic Technologies Group, Academic Information Systems (AcIS) Columbia University in the City of New York --- 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: Message contains NUL characters ...
--On Thursday, April 28, 2005 16:22 -0300 "Marc G. Fournier" <[EMAIL PROTECTED]> wrote: Someone mentioned that this was, in fact, not forbid'd in the RFCs ... could you point to the relevant RFC where it is? Considering how 'strict' postfix seems to be, having an RFC to back that up might show some changes over in that camp, at least ... RFC 2822, section 4.1, makes null an obsolete character. But same, section 2.3, does not explicitly forbid them in bodies. It does say the body must be US-ASCII characters, and following that appears to get to section 4.1 defining what characters are. Joseph Brennan Academic Technologies Group, Academic Information Systems (AcIS) Columbia University in the City of New York --- 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: Message contains NUL characters ...
It's pretty easy to stop messages with null characters if you use Mimedefang, a milter. A built-in function called SuspiciousCharsInBody tags messages with either nulls or bare CR or LF. We've let this go but since we're testing a Cyrus server it looked like we should stop them coming in. We started rejecting them about 5 hours ago and it's a remarkably effective spam filter. It got about 9,000 so far. There might be a legit message in there but I can't see one, just eyeballing the subject lines. It gets a lot of Chinese porn spam, and also pirate software, Viagra ads, bank phishing, etc. I cannot tell how many had nulls and how many had bare CR and LF so this might be tangential to the null discussion. But certainly legit mail with nulls appears to be very rare. Joseph Brennan Academic Information Systems Columbia University in the City of New York --- 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: EMBARRASSING TO THE LIST: Re: *WARNING* Your Email Account Will Be Closed
--On Tuesday, May 31, 2005 11:47 AM +0200 Marco Colombo <[EMAIL PROTECTED]> wrote: Server-side global content-based filtering is silly, unless of course it's your (private) server. Users are expected to do their own filtering, otherwise they're exposed anyway. Server-side filtering (on public servers) is just false sense of security. I strongly disagree. Users just want spam to go away. They do not want to configure filters. They're not very good at it either: they usually just add the sender address to a blacklist, and that does almost nothing for them. It's not a security issue. It's annoyance reduction. If this list could possibly restrict posting to subscribers that would go a long way. That is pretty routine for lists. At least I haven't been unsubscribed yet because of our mail system rejecting spam. Joseph Brennan --- 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: Retreiving folders size from clients
I wonder if there's a standard way for retreive folders size from the client side ? The protocol does not have a command for that, but the client could get the size of each message and add them. Many clients actually cache a local copy of the mailbox, and do their read and write from that, synching changes to the server. It's like they're always on offline mode to some extent. If a client does this, it can figure out mailbox size locally without asking the server. I believe Outlook is one of these. Joseph Brennan Columbia University Information Technology 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: Is there a limit to number of mailboxes in cyrus
--On Thursday, September 8, 2005 9:37 -0400 Ken Murchison <[EMAIL PROTECTED]> wrote: Remember, the number of mailboxes isn't as important as the number of concurrent connections. The number of mailboxes just impacts the amount of storage, the number of concurrent connections impacts both the amount of memory and the bandwidth to the storage. Unless you're doing a lot of SSL/TLS connections, the CPU is "relatively" unimportant. Ken, We've got the idea from somewhere that the size of the mailbox list does affect the memory used by each process. No? Joseph Brennan Columbia University Information Technology 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
CMU's graffiti
CMU has a tree called graffiti in which anyone can create new bboard mailboxes. How is this implemented? I see instructions for creating with Mulberry and cyradm, and it implies the C acl, but that would also allow anyone to delete mailboxes. Or is that how it works? Joseph Brennan Columbia University Information Technology 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
Tiger Mail.app
People using Apple Mail.app that comes with Tiger are not able to see messages in shared folders. By shared I mean both other users' folders and bboard-type folders. Shared folders are listed, and they can seemingly be opened, but only message numbers are shown. The same people could see these folders previously with Mail under Panther, and they can still see them now by using other clients. Have others here seen this problem? Joseph Brennan Columbia University Information Technology 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: Tiger Mail.app
Sebastian Hagedorn <[EMAIL PROTECTED]> wrote: I can't confirm that. I'm using Apple Mail under Mac OS X 10.4.2 against our Cyrus 2.2.10 server and I can see all kinds of shared mailboxes just fine. Thanks. It seems to be something local then, but it's very strange that only one version of one client has trouble with whatever it is. We're running a murder. Does it work with other murders, anyone? I'll post the solution when we find it. Joseph Brennan Columbia University Information Technology 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: Cyrus & Sendmail
Is there ANYONE on this list that has managed to get the latest sendmail and cyrus to work on either RHEL4 or CentOS4 or FC4? If so, would anyone be willing to share how they got it working ( specifically the sendmail relaying auth via saslauthd)? We've got sendmail with smtp auth working on Solaris and Cyrus working on RH. As an illustration of how separate the two things are, we don't even use the same servers. You probably should ask on a sendmail forum like comp.mail.sendmail. Joseph Brennan Columbia University Information Technology 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: ACLs
Ken Murchison <[EMAIL PROTECTED]> wrote: I know I had to give "anyone" "p" on shared folders. I tried giving "p" to user "cyrus", but it somehow did not work, not sure why. Delivery is done from Sendmail via LMTP and I did setup auth-info, so Sendmail should have authenticated itself as user "cyrus". Is that the right way? The MTA needs to use the AUTH= keyword with the MAIL FROM command. It is this authid which is used when checking the ACL. Yes yes, but that is the trick! Suppose one's sendmail smtp server has authenticated a sender, and we find that the the message should relay to our Cyrus server, how do we tell Cyrus it was auth'd as that user? We'd welcome reference to any document on the subject. Joseph Brennan Columbia University Information Technology 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: [POLL] pop3d/nntpd and IMAP flags
Ken Murchison <[EMAIL PROTECTED]> wrote: It would be fairly straightforward to have an option that updated \Seen state whenever a POP3 client issues a RETR command or an NNTP client issues a BODY or ARTICLE command. I'm on the fence whether this makes sense for POP. But we've used U Wash for a long time and marking them as seen has not raised any questions that I can recall, so that behavior must be what users expect or accept. My question is what do people think of the interaction between pop3d/nntpd and the \Deleted flag? Should these daemons ignore articles that have this flag set? Should a POP3 DELE command or a NNTP cancel message just set the \Deleted flag instead of expunging the message? The RFC for POP3 actually describes DELE to mean mark as deleted, and QUIT to mean expunge and quit. I have just learned after all these years that if QUIT is not sent, the server 'MUST' not expunge. But does any client make this optional? The braintwister is that POP mark deleted and IMAP mark deleted don't need to be the same thing, so maybe POP expunge and IMAP expunge don't need to be the same thing either. The practical problem is that POP-only users would have no way to really expunge if DELE and QUIT don't do it, so they'd accumulate mail until they run out of quota. And then what do they do? This touches on the infamous problem of users who blow away their inbox accidentally by using a POP3 client that defaults to DELE on server. It's tempting to mark deleted to solve that. But it seems to me only to trade one problem for another. What we need is user-controlled unexpunge, Ken! Joseph Brennan Columbia University Information Technology 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: [POLL] pop3d/nntpd and IMAP flags
Does UW simply mark the messages as \Seen after a RETR? I don't see any other way to determine if the user has actually read the message. imap first. message 131 is not \Seen. c fetch 131 flags * 131 FETCH (FLAGS (Junk)) c OK FETCH completed z logout * BYE okari.cc.columbia.edu IMAP4rev1 server terminating connection z OK LOGOUT completed pop. retr 131 +OK 7645 octets ...blablabla quit +OK Sayonara imap again-- now it is \Seen c fetch 131 flags * 131 FETCH (FLAGS (\Seen Junk)) c OK FETCH completed Joseph Brennan Columbia University Information Technology 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