Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Nov 2001 11:34:40 -0500
From:      "Blake Crosby" <dev@samurai.com>
To:        "Ahsan Ali" <ahsan@khi.comsats.net.pk>, <freebsd-isp@FreeBSD.ORG>
Subject:   RE: antivirus, webmail and virtual domain hosting on a mail server
Message-ID:  <JAEEIJKIHAONENKPFCCPAEJDCBAA.dev@samurai.com>
In-Reply-To: <006201c17829$29f79c10$0100a8c0@ahsanalikh>

next in thread | previous in thread | raw e-mail | index | archive | help
Mbox stores all of the mail in one single file (doesn't really matter where
that file is)

Maildir stores all of the mail in induvidual files, inside directories:

ls -al Maildir:

drwx------   2 bcrosby  wheel  66560 Nov 28 11:06 cur
drwx------   2 bcrosby  wheel    512 Nov 28 11:06 new
drwx------   2 bcrosby  wheel    512 Nov 28 11:27 tmp

new mail is stored in new, read mail is stored in cur and tmp is for, well,
I'm not quite sure.

ls -al cur:

-rw-------  1 bcrosby  wheel    806 Sep  1 20:00
999388732.22875_1.infiniteloop.ca:2,S
-rw-------  1 bcrosby  wheel    612 Sep  1 23:02
999399767.23537_0.infiniteloop.ca:2,RS

There is some debate as to which is more efficient, Maildir drastically
reduces file locking issues (escpecially if you are using NFS).

Blake

> -----Original Message-----
> From: owner-freebsd-isp@FreeBSD.ORG
> [mailto:owner-freebsd-isp@FreeBSD.ORG]On Behalf Of Ahsan Ali
> Sent: November 28, 2001 11:25 AM
> To: freebsd-isp@FreeBSD.ORG
> Subject: Re: antivirus, webmail and virtual domain hosting on a mail
> server
>
>
> I cant resist asking this here - whats the basic difference
> between maildir
> and mbox? I'm assuming /var/spool/mail/username is mbox... so how does
> maildir work?
>
> I know, I'm going to RTFM in depth tonight! :)
>
> Thanks!
>
> -Ahsan
> ----- Original Message -----
> From: "Blake Crosby" <dev@samurai.com>
> To: "Ahsan Ali" <ahsan@khi.comsats.net.pk>; <freebsd-isp@FreeBSD.ORG>
> Sent: Wednesday, November 28, 2001 9:15 PM
> Subject: RE: antivirus, webmail and virtual domain hosting on a
> mail server
>
>
> >
> > > As for your pop/imap daemon, either the courier suite (includes a
> webmail
> > > app) which uses maildir to store mail, or qpopper (maildir, by
> qualcomm).
> > >
> >
> > whoops, that should be "qpopper (mbox, by qualcomm)."
> >
> > Blake
> >
> > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > with "unsubscribe freebsd-isp" in the body of the message
> >
> >
>
>
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-isp" in the body of the message
>


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?JAEEIJKIHAONENKPFCCPAEJDCBAA.dev>