<my 0.02>
Honestly this sounds like a bad idea.
You are really opening up a can of worms since you could potentially have an
unlimited number of subdirectories.
New mail only originates in one place ./Maildir/new/
./Maildir/cur/ is checked in case mail is left on the server or checked by
imap, webmail, locally first (someone correct me if im wrong)

pop3 is truthfully/originlly only made to check the new mail
imap, webmail, etc is meant for those people who like to keep stuff server
side and need the organization that subfolders provides there.

you cant have your cake and eat it too...
</my 0.02>

-- Tim

----- Original Message -----
From: "Michael Boyiazis" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, May 17, 2001 9:24 PM
Subject: pulling mail from other than new/cur (sorry again...better reply
address)


> Greetings,
>    We've got a POP3 setup working just fine, but there is a desire to
> add IMAP servers so that web mail might be added also.  The problem
> I see is that users will be making misc new subdir's in their Maildir
> on the same level as new and cur, such as stuff_from_joe, spam, whatever.
>
> So I've been asked to munge up qmail-pop3d so it can pull mail from
> all these potential directories, not just new and cur, just in case that
> user
> decides to use our POP3 server at a later date to check mail.
>
> Think this would be a major undertaking?
>
> Snooping around qmail-pop3d.c I see a call to maildir_scan which seems
> to look in new and cur for mail during its getlist process.  Perhaps I
could
> have that code first do a lookup for other directories besides new and cur
> (and tmp) and loop through that list of directories looking for mail to
give
> to getlist.
>
> Am I just making a mess of things here?  Is there an easier way to do
this?
>
> Thanks for any thoughts, good or bad.
>
> --
> Michael Boyiazis
> [EMAIL PROTECTED]
> Mail Architect, NetZero, Inc.
>
>
>

Reply via email to