Re: Re: Maildir with uw-imapd
Shane Hickey wrote: Ok, now to my question. I can't seem to find anywhere in the docs how to change uw-imapd to deliver to ~/Maildir. It's delivering mail just fine at this point to ~/mbox, but I'm accessing my mail from multiple clients, and if I leave a client open, I get mailbox locking problems. As far as your problem, this is what I found in the documentation: From /usr/share/doc/uw-imapd-ssl/README.Debian.gz: 5. mbox driver This package has the mbox driver enabled which means that if there is a file in your $HOME directory called mbox it will be treated as your inbox and all mail in your system inbox (/var/mail/your login) will immediately be transfered there on access. My guess is that the mere existence of ~/mbox causes uw-imap to use it. If you remove the mbox file, it won't use it anymore. I run uw-imap for my users in a lab at school and all mail ends up in ~/mail/. That appears to be the default for uw-imap. Hope this helps, -Roberto Well, I removed the ~/mbox file, and now all the mail goes to /var/mail/username, which is to be expected, however I can't get it to deliver to ~/Maildir. Is there a config file for uw-imapd that I need to edit, to tell it to deliver to Maildir? Thanks again! -Shane -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Re: Maildir with uw-imapd
On Thu, 2 Oct 2003, Shane Hickey wrote: Well, I removed the ~/mbox file, and now all the mail goes to /var/mail/username, which is to be expected, however I can't get it to deliver to ~/Maildir. Is there a config file for uw-imapd that I need to edit, to tell it to deliver to Maildir? /etc/c-client.cf See the documentation in /usr/share/doc/libc-client2001 (or 2002 or whatever you've got.) -- Jaldhar H. Vyas [EMAIL PROTECTED] La Salle Debain - http://www.braincells.com/debian/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Re: Maildir with uw-imapd
On Thu, Oct 02, 2003 at 09:34:20AM -0500, Shane Hickey wrote: Well, I removed the ~/mbox file, and now all the mail goes to /var/mail/username, which is to be expected, however I can't get it to deliver to ~/Maildir. Is there a config file for uw-imapd that I need to edit, to tell it to deliver to Maildir? AFAIK there is no config file for uw-imapd. Also, uw-imapd does not deliver mail, that is done by the MTA (if this is on a debian box that probably is exim). You will have to change the mta configuration to use maildir. You may also want to look at courier-imapd, which uses only maildir, and is more configurable. Frank -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Maildir with uw-imapd
Frank Gevaerts wrote: On Thu, Oct 02, 2003 at 09:34:20AM -0500, Shane Hickey wrote: Well, I removed the ~/mbox file, and now all the mail goes to /var/mail/username, which is to be expected, however I can't get it to deliver to ~/Maildir. Is there a config file for uw-imapd that I need to edit, to tell it to deliver to Maildir? AFAIK there is no config file for uw-imapd. Also, uw-imapd does not deliver mail, that is done by the MTA (if this is on a debian box that probably is exim). You will have to change the mta configuration to use maildir. And AFAIK UW-IMAP can *only* work with mbox files, *not* with Maildirs. You may also want to look at courier-imapd, which uses only maildir, and is more configurable. Right. Cheers, Juri -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Maildir with uw-imapd
On Thu, 2 Oct 2003, Juri Haberland wrote: And AFAIK UW-IMAP can *only* work with mbox files, *not* with Maildirs. The Debian uw-imapd was patched to support maildir. However recently that support was removed so the original poster may or may not have it. You may also want to look at courier-imapd, which uses only maildir, and is more configurable. ...or Dovecot which is even more configurable. (It supports mailbox and maildir for instance.) -- Jaldhar H. Vyas [EMAIL PROTECTED] La Salle Debain - http://www.braincells.com/debian/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Maildir with uw-imapd
Juri Haberland wrote: And AFAIK UW-IMAP can *only* work with mbox files, *not* with Maildirs. That is simply not true: $ apt-show-versions |grep uw-imap uw-imapd-ssl/stable uptodate 4:2001adebian-6 $ ls ~/mail/ Fall 2003 Personal School Trash You may also want to look at courier-imapd, which uses only maildir, and is more configurable. Right. This I agree with, courier is far more configurable. Cheers, Juri -Roberto pgp0.pgp Description: PGP signature
Re: Maildir with uw-imapd
On Thu, Oct 02, 2003 at 08:03:52PM -0400, Roberto Sanchez wrote: Juri Haberland wrote: And AFAIK UW-IMAP can *only* work with mbox files, *not* with Maildirs. That is simply not true: $ apt-show-versions |grep uw-imap uw-imapd-ssl/stable uptodate 4:2001adebian-6 $ ls ~/mail/ Fall 2003 Personal School Trash Are these directories containing the folders: cur new tmp and with each of these containing individual message files with names like: 1065141220.1077_1.server:2,s or are these individual mbox files. Because I know people who use uw-imapd with hundreds of folders with 1000s of mboxen, but they don't use Maildir. Bijan -- Bijan Soleymani [EMAIL PROTECTED] http://www.crasseux.com signature.asc Description: Digital signature
Re: Maildir with uw-imapd
Bijan Soleymani wrote: On Thu, Oct 02, 2003 at 08:03:52PM -0400, Roberto Sanchez wrote: Juri Haberland wrote: And AFAIK UW-IMAP can *only* work with mbox files, *not* with Maildirs. That is simply not true: $ apt-show-versions |grep uw-imap uw-imapd-ssl/stable uptodate 4:2001adebian-6 $ ls ~/mail/ Fall 2003 Personal School Trash Are these directories containing the folders: cur new tmp and with each of these containing individual message files with names like: 1065141220.1077_1.server:2,s or are these individual mbox files. Because I know people who use uw-imapd with hundreds of folders with 1000s of mboxen, but they don't use Maildir. Bijan Individual files. There are no directories below ~/mail -Roberto pgp0.pgp Description: PGP signature
Re: Maildir with uw-imapd
On Thu, Oct 02, 2003 at 09:38:55PM -0400, Roberto Sanchez wrote: Bijan Soleymani wrote: On Thu, Oct 02, 2003 at 08:03:52PM -0400, Roberto Sanchez wrote: Juri Haberland wrote: And AFAIK UW-IMAP can *only* work with mbox files, *not* with Maildirs. That is simply not true: $ apt-show-versions |grep uw-imap uw-imapd-ssl/stable uptodate 4:2001adebian-6 $ ls ~/mail/ Fall 2003 Personal School Trash Are these directories containing the folders: cur new tmp and with each of these containing individual message files with names like: 1065141220.1077_1.server:2,s or are these individual mbox files. Because I know people who use uw-imapd with hundreds of folders with 1000s of mboxen, but they don't use Maildir. Bijan Individual files. There are no directories below ~/mail So you mean that Personal, School and Trash are files? That would indicate than they are standard mbox files. Maildir format doesn't work that way. With maildir each mailbox *is* a folder, with three standard subfolders: new (for new message), cur (for old messages), tmp (I don't know what this is for, probably temporary storage of some kind). And each message goes in a seperate file and they all have weird names so that they are guaranteed to be unique, I think they use a timestamp, the inode number, and the hostname or something like that. Maildir has certain technical advantages, and certain not so technical advantages. For example there is no need for locking, no rewriting of entire mailbox, all this boosts performance and reduces risk of corruption even in the event of a bad crash. The performance advantages made me switch from uw-imapd to courier-imap at work. People were getting huge attachments that crippled uw-imapd. I think once I saw someone get a single email with 37 megs of attachments. Bijan -- Bijan Soleymani [EMAIL PROTECTED] http://www.crasseux.com signature.asc Description: Digital signature
Re: Maildir with uw-imapd
Bijan Soleymani wrote: So you mean that Personal, School and Trash are files? That would indicate than they are standard mbox files. Maildir format doesn't work that way. With maildir each mailbox *is* a folder, with three standard subfolders: new (for new message), cur (for old messages), tmp (I don't know what this is for, probably temporary storage of some kind). And each message goes in a seperate file and they all have weird names so that they are guaranteed to be unique, I think they use a timestamp, the inode number, and the hostname or something like that. Maildir has certain technical advantages, and certain not so technical advantages. For example there is no need for locking, no rewriting of entire mailbox, all this boosts performance and reduces risk of corruption even in the event of a bad crash. The performance advantages made me switch from uw-imapd to courier-imap at work. People were getting huge attachments that crippled uw-imapd. I think once I saw someone get a single email with 37 megs of attachments. Bijan OK. I misunderstood what you said in the beginning. I also don't understand mailboxes as well as I thought I did. Time to go educate myself :-) -Roberto pgp0.pgp Description: PGP signature
Re: Maildir with uw-imapd
Shane Hickey wrote: Hey all, First off, I am a fairly experienced unix/linux user, and want to say that I switched from RedHat to Debian after security update rpm hell, and Debian has more than impressed. From start to finish this is the BEST linux I've seen. Ok, now to my question. I can't seem to find anywhere in the docs how to change uw-imapd to deliver to ~/Maildir. It's delivering mail just fine at this point to ~/mbox, but I'm accessing my mail from multiple clients, and if I leave a client open, I get mailbox locking problems. Thanks in advance for the help. -Shane First off, please don't screw up the threading. I.e., if you have a new subject to discuss, just compose a new message and send it to the list, rather than responding to another message and changing the subject line. As far as your problem, this is what I found in the documentation: From /usr/share/doc/uw-imapd-ssl/README.Debian.gz: 5. mbox driver This package has the mbox driver enabled which means that if there is a file in your $HOME directory called mbox it will be treated as your inbox and all mail in your system inbox (/var/mail/your login) will immediately be transfered there on access. My guess is that the mere existence of ~/mbox causes uw-imap to use it. If you remove the mbox file, it won't use it anymore. I run uw-imap for my users in a lab at school and all mail ends up in ~/mail/. That appears to be the default for uw-imap. Hope this helps, -Roberto pgp0.pgp Description: PGP signature