Re: [gentoo-user] Nested Maildirs

2003-09-02 Thread Andy Smith
On Tue, Sep 02, 2003 at 04:52:30PM +0200, Sebastian Bergmann wrote:
> maildirmake /home/sb/.maildir
> 
> maildirmake /home/sb/.maildir/spam
> maildirmake /home/sb/.maildir/spam/probable
> maildirmake /home/sb/.maildir/spam/record
> maildirmake /home/sb/.maildir/spam/sure
> 
>   The mails are sorted into their correct maildir directory, but both
>   mutt (working directly on /home/sb/.maildir) and Mozilla Thunderbird
>   (accessing /home/sb/.maildir via courier-imap) only see the mails that
>   are stored in the
> 
> /home/sb/.maildir
> 
>   folder.
> 
>   What am I doing wrong? :)

In your .muttrc:

mailboxes /home/sb/.maildir /home/sb/.maildir/spam /home/sb/.maildir/spam/probable 
/home/sb/.maildir/spam/record /home/sb/.maildir/spam/sure

Dunno about Mozilla.

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Nested Maildirs

2003-09-02 Thread Jason Stubbs
On Tuesday 02 September 2003 23:52, Sebastian Bergmann wrote:
(B>   Hi,
(B>
(B>   I have set up fetchmail, procmail and postfix to sort my mail into
(B>   "nested maildir"s, for instance
(B>
(B> maildirmake /home/sb/.maildir
(B>
(B> maildirmake /home/sb/.maildir/spam
(B> maildirmake /home/sb/.maildir/spam/probable
(B> maildirmake /home/sb/.maildir/spam/record
(B> maildirmake /home/sb/.maildir/spam/sure
(B>
(B>   The mails are sorted into their correct maildir directory, but both
(B>   mutt (working directly on /home/sb/.maildir) and Mozilla Thunderbird
(B>   (accessing /home/sb/.maildir via courier-imap) only see the mails that
(B>   are stored in the
(B>
(B> /home/sb/.maildir
(B>
(B>   folder.
(B>
(B>   What am I doing wrong? :)
(B
(BI can't tell you the best way to do things, but...
(B
(Bcourier-imap doesn't support nested dirs. I use kmail which has a maildir-like 
(Bdirectory stucture. However, your structure in kmail would be stored as:
(B
(B.maildir/spam
(B.maildir/.spam.directory
(B.maildir/.spam.directory/probable
(B.maildir/.spam.directory/record
(B.maildir/.spam.directory/sure
(B
(BTry using mutt to create a nested dir and then use procmail to put it into 
(Bthat dir. Of course, that doesn't help with courier-imap tho..
(B
(BSorry I couldn't be of more help!
(B
(BRegards,
(BJason
(B
(B--
(B[EMAIL PROTECTED] mailing list

Re: [gentoo-user] Nested Maildirs

2003-09-02 Thread Robert Kruus
It is rumored that on Tue, 02 Sep 2003 16:52:30 +0200
Sebastian Bergmann <[EMAIL PROTECTED]> wrote:

>   Hi,
> 
>   I have set up fetchmail, procmail and postfix to sort my mail into
>   "nested maildir"s, for instance
> 
> maildirmake /home/sb/.maildir
> 
> maildirmake /home/sb/.maildir/spam
> maildirmake /home/sb/.maildir/spam/probable
> maildirmake /home/sb/.maildir/spam/record
> maildirmake /home/sb/.maildir/spam/sure
> 
>   The mails are sorted into their correct maildir directory, but both
>   mutt (working directly on /home/sb/.maildir) and Mozilla Thunderbird
>   (accessing /home/sb/.maildir via courier-imap) only see the mails that
>   are stored in the
> 
> /home/sb/.maildir
> 
>   folder.
> 
>   What am I doing wrong? :)
> 
>   Thanks in advance,
> Sebastian
> 
The newer form of nested maildirs is:
maildirmake /home/sb/.maildir/spam
maildirmake /home/sb/.maildir/.spam.probable
 maildirmake /home/sb/.maildir/.spam.record
 maildirmake /home/sb/.maildir/.spam.sure
etc.

Look at man maildirmake for details (an updated version is installed with
courier-imap I believe)

HTH
Rob

-- 
I am always doing that which I can not do, in order that I may learn how to do 
it.
Pablo Picasso (1881-1973)

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Nested Maildirs

2003-09-02 Thread Jason Stubbs
On Wednesday 03 September 2003 00:02, Jason Stubbs wrote:
(B> courier-imap doesn't support nested dirs.
(B
(BWell, according to Robert Kruus I am wrong. I guess my memory's going. Must be 
(Bage... pushing 25 and that.
(B
(BRegards,
(BJason
(B
(B--
(B[EMAIL PROTECTED] mailing list

RE: [gentoo-user] Nested Maildirs

2003-09-02 Thread Gwendolyn van der Linden
> On Wednesday 03 September 2003 00:02, Jason Stubbs wrote:
> > courier-imap doesn't support nested dirs.
>
> Well, according to Robert Kruus I am wrong. I guess my
> memory's going. Must be
> age... pushing 25 and that.

I think you are referring to the fact that courier-imap does not
support directories hat also hold mail.  A directory can hold mail
folders, but a mail folder cannot hold directories...

Gwendolyn.


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Nested Maildirs

2003-09-02 Thread Chris I
On 2003.09.02 11:20, Gwendolyn van der Linden wrote:
> On Wednesday 03 September 2003 00:02, Jason Stubbs wrote:
> > courier-imap doesn't support nested dirs.
>
> Well, according to Robert Kruus I am wrong. I guess my
> memory's going. Must be
> age... pushing 25 and that.
I think you are referring to the fact that courier-imap does not
support directories hat also hold mail.  A directory can hold mail
folders, but a mail folder cannot hold directories...
I have a subdirectory of a mail directory with courier-imap.

~/.maildir  = inbox
~/.maildir/.Spam= where my spam goes
~/.maildir/.Spam.not= where my false positives will be moved to
(for sa-learn)
the above are
INBOX (containing mail)
Spam (containing spam)
not (containing not-spam)
--

Chris I

I love mankind ... It's people I hate.
-- Schulz


pgp0.pgp
Description: PGP signature


RE: [gentoo-user] Nested Maildirs

2003-09-03 Thread Gwendolyn van der Linden
> > I think you are referring to the fact that courier-imap does not
> > support directories hat also hold mail.  A directory can hold mail
> > folders, but a mail folder cannot hold directories...
>
> I have a subdirectory of a mail directory with courier-imap.
>
> ~/.maildir= inbox
> ~/.maildir/.Spam  = where my spam goes
> ~/.maildir/.Spam.not  = where my false positives will be moved to
>   (for sa-learn)
>
> the above are
> INBOX (containing mail)
>   Spam (containing spam)
>   not (containing not-spam)

I'm (pleasantly) surprised.  How can mail be stored in a directory?
.maildir is a directory, so there must be a file somewhere that holds
your inbox mail (/var/spool/...?).

The naming convention .. I understand.  BTW, might the
difference be in the maildir format and MH format?  IIRC Sylpheed does
not let me make mail folders nested in mail folders on my (old RedHat
7.1) courier-imap server.


Gwendolyn.


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Nested Maildirs

2003-09-03 Thread Paweł Sikora
On Wednesday 03 of September 2003 09:09, Gwendolyn van der Linden wrote:

> I'm (pleasantly) surprised.  How can mail be stored in a directory?
> .maildir is a directory, so there must be a file somewhere that holds
> your inbox mail (/var/spool/...?).

it's very simple :)
maildir = one email per one file.

[pluto]-[~] # ll Maildir/.spam.blns/cur/
drwx-- 2 plutods14  16384 wrz  3 09:22 .
drwx-- 5 plutods14   4096 sie 31 01:54 ..
-rw--- 1 plutods14   4429 wrz  3 08:16 1062569766.22678_2.plus:2,S
-rw--- 1 plutods14   5865 wrz  3 08:18 1062569892.17976_2.plus:2,S
-rw--- 1 plutods14   2448 wrz  3 08:40 1062571250.29382_2.plus:2,S
-rw--- 1 plutods14   6347 wrz  3 09:11 1062573075.15266_2.plus:2,S

[pluto]-[~] # find Maildir/.spam.blns/cur/ | xargs file
Maildir/.spam.blns/cur/:directory
Maildir/.spam.blns/cur/1062569766.22678_2.plus:2,S: smtp mail text
Maildir/.spam.blns/cur/1062569892.17976_2.plus:2,S: smtp mail text
Maildir/.spam.blns/cur/1062571250.29382_2.plus:2,S: smtp mail text
Maildir/.spam.blns/cur/1062573075.15266_2.plus:2,S: smtp mail text

-- 
pub  1024D/FEA39C0F 2003-08-19 Paweł Sikora 
 Key fingerprint = 0327 8E49 4427 C9BE DAE1  4DB7 70E9 252A FEA3 9C0F
 http://www.ds14.agh.edu.pl/~pluto/download/pluto.gpg


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Nested Maildirs

2003-09-03 Thread Paweł Sikora
On Wednesday 03 of September 2003 09:09, Gwendolyn van der Linden wrote:

> (...) so there must be a file somewhere that holds
> your inbox mail (/var/spool/...?).

inbox = ~/Maildir/[cur,new,tmp]/

http://www.qmail.org/qmail-manual-html/man5/maildir.html

-- 
pub  1024D/FEA39C0F 2003-08-19 Paweł Sikora 
 Key fingerprint = 0327 8E49 4427 C9BE DAE1  4DB7 70E9 252A FEA3 9C0F
 http://www.ds14.agh.edu.pl/~pluto/download/pluto.gpg


--
[EMAIL PROTECTED] mailing list



RE: [gentoo-user] Nested Maildirs

2003-09-03 Thread Gwendolyn van der Linden
> > (...) so there must be a file somewhere that holds
> > your inbox mail (/var/spool/...?).
>
> inbox = ~/Maildir/[cur,new,tmp]/
>
> http://www.qmail.org/qmail-manual-html/man5/maildir.html

Thanks for the reply.  I don't use maildir /w courier-imap, hence my
confusion.

I'm planning to migrate my RedHat mailserver to Gentoo in the not so
far future, so it's good to know all this.

Gwendolyn.


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Nested Maildirs

2003-09-03 Thread Robert Kruus
It is rumored that on Wed, 3 Sep 2003 09:09:02 +0200
"Gwendolyn van der Linden" <[EMAIL PROTECTED]> wrote:



> The naming convention .. I understand.  BTW, might the
> difference be in the maildir format and MH format?  IIRC Sylpheed does
> not let me make mail folders nested in mail folders on my (old RedHat
> 7.1) courier-imap server.
> 
> 
> Gwendolyn.
> 
> 
> --
> [EMAIL PROTECTED] mailing list
> 
> 
Sylpheed-claws allows the proper creation of IMAP subfolders (that's what I am
using now along with procmail for sorting).  Not sure about sylpheed though..


-- 
[EMAIL PROTECTED]
Patience is the companion of wisdom
Saint Augustine (354-430)

--
[EMAIL PROTECTED] mailing list