Re: Q: qmail + IMAP

1999-06-15 Thread Anonymous

Dave Teske wrote:
> 
> At 12:43 PM 6/14/99 , Christian Wiese wrote:
> >Hi Dave.
> 
> >Do you have a HOWTO for the Cyrus Imap configuration steps with qmail, or do
> >you know some websites, where I can get additional informations.
> 
> Not that I know of, but the docs for setting up the Cyrus server got me
> through that part. Just remember when you create a user their "name" is
> something like "users.Myname". As for setting up qmail to work with it the

user.myname.  Cyrus is a little quirky, but it's worked seamlessly for
me since the day I installed it.

> archives contain several solutions. I only have a few users so I just added
> the following to each users .qmail: | /usr/bin/qmail/preline -f
> /usr/cyrus/bin/deliver -e -a "$USER" "$USER"

What if you don't give it the preline?



RE: Q: qmail + IMAP

1999-06-14 Thread David Harris


Todd at NM Technet [mailto:[EMAIL PROTECTED]] wrote:
> howdy,
>
> sorry to disappoint, but i don't have any patches to distribute on this.
> most of the fixes were the result of extremely unscientific 'mucking' that
> i would probably not want to distribute (for example, at one point i
> deleted the mbox driver from the source tree entirely to get the Maildir
> used, even though the Maildir driver was specified as higher precedence).
>
> even in the 'fixed' state, the behavior is still sub-optimal (each Maildir
> shows up as both a folder and a folder of folders in all of the clients
> i've tried--some special exclusions of 'new', 'cur', and 'tmp' would need
> to be written to change this behavior.

Okay. You don't have a fully working patch yet. Nooo problem. I have way too
much experience patching systems that I didn't fully understand. :-) I'd
still appreciate getting my hands on you work, as it would give me a
starting point. I understand that you don't want to release it as a "patch"
because it's really now just a "hack". But perhaps you could release it with
a proviso that this is not a real solution to the problem? And if not to the
list, could you send me a copy so I can try to develop a real production
patch? I'd appreciate it.

> as far as i can tell, this issue simply wont get fixed properly until mark
> crispin (of UW) decides he can stop hating DJB long enough to formally
> incorporate the Maildir driver (i really dispise technical decisions made
> on personality grounds).

Oh, I didn't know. That's sad.

> so, in short:  no patches here.  just ill-conceived hacking that mostly
> works but would be trouble for anyone else.
>
> sorry,
>
>
> todd underwood
> [EMAIL PROTECTED]

Thanks,

 - David Harris
   Principal Engineer, DRH Internet Services




Re: Q: qmail + IMAP

1999-06-14 Thread Anonymous

At 12:43 PM 6/14/99 , Christian Wiese wrote:
>Hi Dave.

>Do you have a HOWTO for the Cyrus Imap configuration steps with qmail, or do
>you know some websites, where I can get additional informations.

Not that I know of, but the docs for setting up the Cyrus server got me 
through that part. Just remember when you create a user their "name" is 
something like "users.Myname". As for setting up qmail to work with it the 
archives contain several solutions. I only have a few users so I just added 
the following to each users .qmail: | /usr/bin/qmail/preline -f 
/usr/cyrus/bin/deliver -e -a "$USER" "$USER"

>thank you very much
>
>christian

One note of caution if you need to move messages in your existing Maildir 
to the Cyrus mailboxes be careful with re-injecting the messages. I got a 
whole bunch of people pissed at me when I accidentally sent the messages 
back to this list.

--Dave




RE: Q: qmail + IMAP

1999-06-14 Thread Todd at NM Technet

howdy,

sorry to disappoint, but i don't have any patches to distribute on this.
most of the fixes were the result of extremely unscientific 'mucking' that
i would probably not want to distribute (for example, at one point i
deleted the mbox driver from the source tree entirely to get the Maildir
used, even though the Maildir driver was specified as higher precedence).

even in the 'fixed' state, the behavior is still sub-optimal (each Maildir
shows up as both a folder and a folder of folders in all of the clients
i've tried--some special exclusions of 'new', 'cur', and 'tmp' would need
to be written to change this behavior.

as far as i can tell, this issue simply wont get fixed properly until mark
crispin (of UW) decides he can stop hating DJB long enough to formally
incorporate the Maildir driver (i really dispise technical decisions made
on personality grounds).  

so, in short:  no patches here.  just ill-conceived hacking that mostly
works but would be trouble for anyone else.

sorry,


todd underwood
[EMAIL PROTECTED]

On Mon, 14 Jun 1999, Dave Teske wrote:

> Date: Mon, 14 Jun 1999 14:21:56 -0400
> From: Dave Teske <[EMAIL PROTECTED]>
> To: David Harris <[EMAIL PROTECTED]>, qmail-list <[EMAIL PROTECTED]>
> Cc: [EMAIL PROTECTED]
> Subject: RE: Q: qmail + IMAP
> 
> At 12:50 PM 6/14/99 , David Harris wrote:
> 
> >Okay, I just looked back and read that thread (along with a few other
> >threads about the same issue), and I think I now understand the root of the
> >problem: sub-folders are created in Mbox format, so when the INBOX is in
> >Maildir format, moving messages from the INBOX to other folders is not
> >supported because of an inadequacy in the Maildir driver. Is this on target?
> 
> Yes that's they way I understand it.
> 
> 
> > From what I read, it almost looks like the problem has been fixed by "Todd
> >at NM Technet". He said:
> 
> I haven't tried or looked at the patch in question so I'll let Todd respond 
> to the rest of this
> 
> >  - David Harris
> >Principal Engineer, DRH Internet Services
> 
> --Dave
> 
> 



RE: Q: qmail + IMAP

1999-06-14 Thread Dave Teske

At 12:50 PM 6/14/99 , David Harris wrote:

>Okay, I just looked back and read that thread (along with a few other
>threads about the same issue), and I think I now understand the root of the
>problem: sub-folders are created in Mbox format, so when the INBOX is in
>Maildir format, moving messages from the INBOX to other folders is not
>supported because of an inadequacy in the Maildir driver. Is this on target?

Yes that's they way I understand it.


> From what I read, it almost looks like the problem has been fixed by "Todd
>at NM Technet". He said:

I haven't tried or looked at the patch in question so I'll let Todd respond 
to the rest of this

>  - David Harris
>Principal Engineer, DRH Internet Services

--Dave



RE: Q: qmail + IMAP

1999-06-14 Thread David Harris


Dave Teske [mailto:[EMAIL PROTECTED]] wrote:
> That's the server I was running too. The basic problem is that the UW
> server can't handle transferring messages to different types of mail
boxes.
> So if I have an "Inbox" that is in Maildir format and I create sub-folders
> (which are created in Mailbox format) the server won't let you copy stuff
> from the "inbox" to your sub-folders. If you check the archives this was
> discussed sometime in the last 3-4 weeks (look for messages in the thread
> "getting maildir + imap working").
>
> --Dave

Okay, I just looked back and read that thread (along with a few other
threads about the same issue), and I think I now understand the root of the
problem: sub-folders are created in Mbox format, so when the INBOX is in
Maildir format, moving messages from the INBOX to other folders is not
supported because of an inadequacy in the Maildir driver. Is this on target?

>From what I read, it almost looks like the problem has been fixed by "Todd
at NM Technet". He said:

From: Todd at NM Technet <[EMAIL PROTECTED]>
Date: Fri, 04 Jun 1999 11:16:57 -0600
Subject: Re: Getting Maildir + IMAP working
[snip]
> the result:  the maildir driver for the UW imap server is very
> rudimentary.  it works extremely well for inboxes, but not well for any
> other folders.  i have patched it a bit to handle creating new maildirs
> correclty and copying between the inbox and other folders, but it doesn't
> handle other folders very elegantly yet.
[snip]

If all the folders are kept in Maildir format (which I rather prefer) then
the function of moving messages between folders of different formats is not
required. Right? However, he says that this "doesn't handle other folders
very elegantly yet". What does this mean? That creation and usage of these
additional Maildir folders is messy? Or that he does not like being
restricted to just using Maildir folders?

(Kind of weird to be asking you what he meant... so that's why I cc'ed this
message to him.)

Todd: Could you post a copy of this patch to the list or send it to me?

This seems like a good solution - to only use Maildir folders. If Todd's
patch is kind of messy, perhaps I could take another hack at implementing
the same thing.

 - David Harris
   Principal Engineer, DRH Internet Services


-Original Message-
From:   Dave Teske [mailto:[EMAIL PROTECTED]]
Sent:   Monday, June 14, 1999 11:57 AM
To: qmail-list
Subject:RE: Q: qmail + IMAP


At 11:25 AM 6/14/99 , you wrote:

>Humph.
>
>I'm about to have a co-worker patch a the qmail-imap server to support
>virtual POP/IMAP users for each virtual domains using Maildirs, while still
>allow the UNIX users to pick up their mail from the /var/spool/mail mbox
>files. I need IMAP support, so I can't start from qmail-pop3d, but I'm
>planning to start from the UW server in David Summers' qmail-imap Linux RPM
>which is based on Mattias Larsson's patch to add maildir to the imap
server.
>(all mentioned at qmail.org) I'm looking at the qmail-imap-4.5.BETA version
>of this RPM which is at:
>  ftp://summersoft.fay.ar.us/pub/qmail

That's the server I was running too. The basic problem is that the UW
server can't handle transferring messages to different types of mail boxes.
So if I have an "Inbox" that is in Maildir format and I create sub-folders
(which are created in Mailbox format) the server won't let you copy stuff
from the "inbox" to your sub-folders. If you check the archives this was
discussed sometime in the last 3-4 weeks (look for messages in the thread
"getting maildir + imap working").

--Dave

>You say that this software has problems with Maildirs? If so, I would help
>if you could give me some descriptions of the problems that you've been
>experiencing. If there is stuff that needs to be fixed, I could have this
>guy go over the maildir support source code with a fine tooth comb to get
>any problems out. I took a brief skim over the patch and it didn't look too
>daunting.
>
>
>  - David Harris
>Principal Engineer, DRH Internet Services
>



Re: Q: qmail + IMAP

1999-06-14 Thread Christian Wiese

Hi Dave.

thank you for your quick response ...

Dave Teske wrote:

> Here's my 2cent's
>
> It depends on which mail box mode your using.
>

Sorry, I use the Maildir format.

>
> -Mailbox mode - then the patched UW IMap server works fine
>
> -Maildir mode - The UW Imap server dosne't work well with maildirs,
> particularly copying messages from the main Maildir to subfolders does not
> work. I recently switched to Cyrus Imap server and it works real nice for
> me (haven't had any problems yet), but it is a pain having to create both a
> user in both qmail and cyrus.

Do you have a HOWTO for the Cyrus Imap configuration steps with qmail, or do
you know some websites, where I can get additional informations.

thank you very much

christian



RE: Q: qmail + IMAP

1999-06-14 Thread Dave Teske


At 11:25 AM 6/14/99 , you wrote:

>Humph.
>
>I'm about to have a co-worker patch a the qmail-imap server to support
>virtual POP/IMAP users for each virtual domains using Maildirs, while still
>allow the UNIX users to pick up their mail from the /var/spool/mail mbox
>files. I need IMAP support, so I can't start from qmail-pop3d, but I'm
>planning to start from the UW server in David Summers' qmail-imap Linux RPM
>which is based on Mattias Larsson's patch to add maildir to the imap server.
>(all mentioned at qmail.org) I'm looking at the qmail-imap-4.5.BETA version
>of this RPM which is at:
>  ftp://summersoft.fay.ar.us/pub/qmail

That's the server I was running too. The basic problem is that the UW 
server can't handle transferring messages to different types of mail boxes. 
So if I have an "Inbox" that is in Maildir format and I create sub-folders 
(which are created in Mailbox format) the server won't let you copy stuff 
from the "inbox" to your sub-folders. If you check the archives this was 
discussed sometime in the last 3-4 weeks (look for messages in the thread 
"getting maildir + imap working").

--Dave

>You say that this software has problems with Maildirs? If so, I would help
>if you could give me some descriptions of the problems that you've been
>experiencing. If there is stuff that needs to be fixed, I could have this
>guy go over the maildir support source code with a fine tooth comb to get
>any problems out. I took a brief skim over the patch and it didn't look too
>daunting.
>
>
>  - David Harris
>Principal Engineer, DRH Internet Services
>



Re: Q: qmail + IMAP

1999-06-14 Thread Dave Teske

Here's my 2cent's

It depends on which mail box mode your using.

-Mailbox mode - then the patched UW IMap server works fine

-Maildir mode - The UW Imap server dosne't work well with maildirs, 
particularly copying messages from the main Maildir to subfolders does not 
work. I recently switched to Cyrus Imap server and it works real nice for 
me (haven't had any problems yet), but it is a pain having to create both a 
user in both qmail and cyrus.

Hope this helps
--Dave


At 10:52 AM 6/14/99 , Christian Wiese wrote:
>hi folks,
>
>i've installed qmail with pop3 support without any dificults.
>now I wanted to setup an IMAP server, but where should I start.
>I've followed several discussions about Qmail & IMAP.
>What IMAP server should I use and what additional software do I need to
>add IMAP support to my Qmail server ?
>Is there a "QMAIL-IMAP-HOWTO" ?
>
>Thank you very much
>
>best regards
>
>christian