Re: IMAP Mail server question

2007-03-08 Thread Andrew Sackville-West
On Wed, Mar 07, 2007 at 03:18:00PM -0800, John L Fjellstad wrote:
 [EMAIL PROTECTED] (Chris Bannister) writes:
 
  Folders are simply subdirectories inside the main maildir whose names
  start with a period, and which are themselves maildirs.  For example,
  the command maildirmake -f Drafts mail/Maildir creates
  mail/Maildir/.Drafts, that has the usual tmp, new and cur.  You MUST
  use the -f option, instead of specifying mail/Maildir/.Drafts
  directly, in order to correctly initialize certain enhanced maildir
  features.
 
 I have always just created the maildirs using the command
 maildirmake Maildir/.Drafts
 without any problems.  Totally forgot about the -f option

I always find that I need a folder *after* I've fired up my MUA, so I
just use it to make my folders. In mutt

s=newfolder_name/

A


signature.asc
Description: Digital signature


Re: IMAP Mail server question

2007-03-08 Thread John L Fjellstad
Andrew Sackville-West [EMAIL PROTECTED] writes:

 I always find that I need a folder *after* I've fired up my MUA, so I
 just use it to make my folders. In mutt

 s=newfolder_name/

If you want maildir folder, then you should probably set
mbox_type=Maildir, otherwise I think it defaults to mbox

-- 
John L. Fjellstad
web: http://www.fjellstad.org/  Quis custodiet ipsos custodes


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: IMAP Mail server question

2007-03-08 Thread Andrew Sackville-West
On Thu, Mar 08, 2007 at 11:21:56AM -0800, John L Fjellstad wrote:
 Andrew Sackville-West [EMAIL PROTECTED] writes:
 
  I always find that I need a folder *after* I've fired up my MUA, so I
  just use it to make my folders. In mutt
 
  s=newfolder_name/
 
 If you want maildir folder, then you should probably set
 mbox_type=Maildir, otherwise I think it defaults to mbox

yes. sorry I neglected to mention that. Don't need the trailing slash
either...

A

 
 -- 
 John L. Fjellstad
 web: http://www.fjellstad.org/  Quis custodiet ipsos custodes
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
 
 


signature.asc
Description: Digital signature


Re: IMAP Mail server question

2007-03-07 Thread Chris Bannister
On Mon, Mar 05, 2007 at 11:54:11PM +, Hans du Plooy wrote:
 On Mon, 2007-03-05 at 22:43 +1300, Chris Bannister wrote:
  There is one(?) caveat though. Don't create your Maildir directory by
  hand. USE the maildirmake program and then create your mailboxes using
  the -f switch of maildirmake. Believe me, it can save you lots of grief.
  Otherwise courier-imap-ssl works out of the box.
 
 Why?

I dunno. I tried doing it manually and mutt wouldn't see it.

I suppose courier-imap needs a special layout.
Must be something to do with INBOX being virtual.

$ ls -al Maildir/
total 116
drwx-- 27 chrisb chrisb 4096 2007-03-01 09:30 .
drwxr-xr-x 88 chrisb chrisb 8192 2007-03-07 02:46 ..
drwx--  6 chrisb chrisb 4096 2007-03-01 09:44 .IN-Chess-L
drwx--  6 chrisb chrisb 4096 2007-03-01 07:55 .IN-Personal
drwx--  6 chrisb chrisb 4096 2007-03-01 09:30 .IN-Peter
drwx--  6 chrisb chrisb 4096 2007-03-01 09:30 .IN-crafty
drwx--  6 chrisb chrisb 4096 2007-03-04 16:12 .IN-debian-amd64
drwx--  6 chrisb chrisb 4096 2007-03-04 14:23 .IN-debian-devel
drwx--  6 chrisb chrisb 4096 2007-03-04 13:25 .IN-debian-devel-announce
[..]
drwx--  6 chrisb chrisb 4096 2007-03-04 14:22 .IN-ding
drwx--  6 chrisb chrisb 4096 2007-03-04 14:18 .IN-fvwm
drwx--  6 chrisb chrisb 4096 2007-03-04 13:27 .IN-mutt
drwx--  6 chrisb chrisb 4096 2007-03-01 09:44 .IN-slrn
drwx--  2 chrisb chrisb 4096 2007-03-01 07:55 courierimapkeywords
-rw-r--r--  1 chrisb chrisb   15 2007-03-01 07:55 courierimapuiddb
drwx--  2 chrisb chrisb 4096 2007-03-01 07:44 cur
drwx--  2 chrisb chrisb 4096 2007-03-01 07:44 new
drwx--  2 chrisb chrisb 4096 2007-03-07 02:35 tmp

from man maildirmake
[..]

Folders  are  simply subdirectories inside the main maildir whose names
start with a period, and which are themselves maildirs.   For  example,
thecommandmaildirmake-f   Drafts   mail/Maildir   creates
mail/Maildir/.Drafts, that has the usual tmp, new and  cur.   You  MUST
use the -f option, instead of specifying mail/Maildir/.Drafts directly,
in order to correctly initialize certain enhanced maildir features.

Folders cannot be  created  directly  within  other  folders.   Running
maildirmake -f Urgent mail/Maildir/.Drafts will not work.  Instead, the
period  character  is  designated  as  a   hierarchy   separator,   run
maildirmake   -f  Drafts.Urgent  mail/Maildir  instead.   This  creates
mail/Maildir/.Drafts.Urgent,  and  all  mail  software  that   supports
enhanced maildirs will interpret it as a subfolder Urgent of the Drafts
folder.
-- end snippet from man maildirmake --

-- snippet from .mailfilter --

DEFAULT=$HOME/Maildir/.IN-Personal/
###
#Filter debian-user list messages #
###
if (/^X-Loop: [EMAIL PROTECTED]/)
{
  to $HOME/Maildir/.IN-debian-user/
}
-- end snippet from .mailfilter --

Couldn't get it work with 
[..]
to $HOME/Maildir/INBOX.IN-debian-user/
[..]

Which I'd seen other in other posts.

Must be something to do with INBOX being virtual.

Comments appreciated.

-- 
Chris.
==
Don't forget to check that your /etc/apt/sources.lst entries point to 
etch and not testing, otherwise you may end up with a broken system once
etch goes stable.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: IMAP Mail server question

2007-03-07 Thread John L Fjellstad
[EMAIL PROTECTED] (Chris Bannister) writes:

 Folders are simply subdirectories inside the main maildir whose names
 start with a period, and which are themselves maildirs.  For example,
 the command maildirmake -f Drafts mail/Maildir creates
 mail/Maildir/.Drafts, that has the usual tmp, new and cur.  You MUST
 use the -f option, instead of specifying mail/Maildir/.Drafts
 directly, in order to correctly initialize certain enhanced maildir
 features.

I have always just created the maildirs using the command
maildirmake Maildir/.Drafts
without any problems.  Totally forgot about the -f option

-- 
John L. Fjellstad
web: http://www.fjellstad.org/  Quis custodiet ipsos custodes


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: IMAP Mail server question

2007-03-05 Thread Chris Bannister
On Sun, Mar 04, 2007 at 01:25:13AM +, Hans du Plooy wrote:
 On Wed, 2007-02-28 at 07:56 -0700, Kelly wrote:
  Just a request for opinions here guys.  I have read several articles
  about Courier and Dovecot.  What is your opinions about which to go
  with.
 
 There's really very little difference.  Dovecot is supposedly a little
 faster, but if you reached the point where that becomes an issue you
 need to look at cyrus anyway.
 
 Haven't done Dovecot on Debian (do it all the time on RHEL tho).  For
 Courier, just apt-get install courier-imap (I think that's the package
 name).  There's nothing to configure unless you want to use virtual
 users/domains and/or ldap/mysq.  Plenty of good documentation about that
 on the web.

There is one(?) caveat though. Don't create your Maildir directory by
hand. USE the maildirmake program and then create your mailboxes using
the -f switch of maildirmake. Believe me, it can save you lots of grief.
Otherwise courier-imap-ssl works out of the box.

-- 
Chris.
==
Don't forget to check that your /etc/apt/sources.lst entries point to 
etch and not testing, otherwise you may end up with a broken system once
etch goes stable.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: IMAP Mail server question

2007-03-05 Thread Hans du Plooy
On Mon, 2007-03-05 at 22:43 +1300, Chris Bannister wrote:
 There is one(?) caveat though. Don't create your Maildir directory by
 hand. USE the maildirmake program and then create your mailboxes using
 the -f switch of maildirmake. Believe me, it can save you lots of grief.
 Otherwise courier-imap-ssl works out of the box.

Why?

I've only ever had permission issues when creating them by hand, but
that was due to my own sloppyness.

Hans


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: IMAP Mail server question

2007-03-04 Thread Hans du Plooy
On Wed, 2007-02-28 at 07:56 -0700, Kelly wrote:
 Just a request for opinions here guys.  I have read several articles
 about Courier and Dovecot.  What is your opinions about which to go
 with.

There's really very little difference.  Dovecot is supposedly a little
faster, but if you reached the point where that becomes an issue you
need to look at cyrus anyway.

Haven't done Dovecot on Debian (do it all the time on RHEL tho).  For
Courier, just apt-get install courier-imap (I think that's the package
name).  There's nothing to configure unless you want to use virtual
users/domains and/or ldap/mysq.  Plenty of good documentation about that
on the web.

Hans


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: IMAP Mail server question

2007-03-04 Thread Roberto C. Sanchez
On Sun, Mar 04, 2007 at 01:25:13AM +, Hans du Plooy wrote:
 
 Haven't done Dovecot on Debian (do it all the time on RHEL tho).  For
 Courier, just apt-get install courier-imap (I think that's the package
 name).  There's nothing to configure unless you want to use virtual
 users/domains and/or ldap/mysq.  Plenty of good documentation about that
 on the web.
 
Also, don't forget courier-imap-ssl.

Regards,

-Roberto

-- 
Roberto C. Sanchez
http://people.connexer.com/~roberto
http://www.connexer.com


signature.asc
Description: Digital signature


IMAP Mail server question

2007-02-28 Thread Kelly
Just a request for opinions here guys.  I have read several articles
about Courier and Dovecot.  What is your opinions about which to go
with.

Thanks

Kelly


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: IMAP Mail server question

2007-02-28 Thread Ron Johnson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 02/28/07 08:56, Kelly wrote:
 Just a request for opinions here guys.  I have read several articles
 about Courier and Dovecot.  What is your opinions about which to go
 with.

What is the purpose/scale of your proposed mail server?

Dovecot is supposed to be faster/more efficient, but both should be
adequate until you get A Whole Lot of users.  And then you use Cyrus.

 
 Thanks
 
 Kelly
 
 

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFF5aBxS9HxQb37XmcRAvDQAJ43wKVtxIccK69yrH03TaAgl9s/BgCgzLLJ
CH8dSPUWhHakhR4ilFAAWeU=
=JbQ2
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Απ: IMAP Mail server question

2007-02-28 Thread Nick Demou

2007/2/28, Kelly [EMAIL PROTECTED]:

Just a request for opinions here guys.  I have read several articles
about Courier and Dovecot.  What is your opinions about which to go
with.


Disclaimer:
- I have no experience with dovecot
- I have used only the basic functionality of courier-IMAP

courier-IMAP was easy to install and setup

works fine with many users accessing the same maildir about 20
maildirs in a low spec server. Hundreds of folders per maildir with
some of them having up to 3 emails

With outlook express I have some problems now and then that get fixed
by doing a clear local cache on OE. Only once had a problem with
thunderbird (started constantly complaining that it could not save the
email it just sent to the INBOX folder while at the same time it HAD
saved it). Worked around this annoyance and didn't try to fix it


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: IMAP Mail server question

2007-02-28 Thread Andrew Sackville-West
On Wed, Feb 28, 2007 at 09:32:01AM -0600, Ron Johnson wrote:
 On 02/28/07 08:56, Kelly wrote:
  Just a request for opinions here guys.  I have read several articles
  about Courier and Dovecot.  What is your opinions about which to go
  with.
 
 What is the purpose/scale of your proposed mail server?
 
 Dovecot is supposed to be faster/more efficient, but both should be
 adequate until you get A Whole Lot of users.  And then you use Cyrus.

I use dovecot and its simple and works. But I've only got 5 users on
my system. But it seems fast  and I've had no problems.

A


signature.asc
Description: Digital signature


Re: UNS: IMAP Mail server question

2007-02-28 Thread Steffan Davies

Kelly wrote:

Just a request for opinions here guys.  I have read several articles
about Courier and Dovecot.  What is your opinions about which to go
with.


I have no experience with Courier, but I use Dovecot on Maildirs here 
with OpenLDAP for auth, talking to Squirrelmail and assorted IMAP(S) 
clients. Thus far, it Just Works(tm). As a data point, du -hs on the 
biggest Maildir is 4.7G.


S
--
Steff Davies, Network Sysadmin - [EMAIL PROTECTED]
t: 020 7501 1916 m: 07771 887 366 skype: steffandavies


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: ??: IMAP Mail server question

2007-02-28 Thread Roberto C. Sanchez
On Wed, Feb 28, 2007 at 05:29:22PM +0200, Nick Demou wrote:
 
 courier-IMAP was easy to install and setup
 
 works fine with many users accessing the same maildir about 20
 maildirs in a low spec server. Hundreds of folders per maildir with
 some of them having up to 3 emails
 
 With outlook express I have some problems now and then that get fixed
 by doing a clear local cache on OE. Only once had a problem with
 thunderbird (started constantly complaining that it could not save the
 email it just sent to the INBOX folder while at the same time it HAD
 saved it). Worked around this annoyance and didn't try to fix it
 
The main gotcha with Courier, is that by default it only allows 4
connections per IP, but T-bird tries to make 5.  You can fix that in
either place (probably the server if you have lots of users).

Regards,

-Roberto

-- 
Roberto C. Sanchez
http://people.connexer.com/~roberto
http://www.connexer.com


signature.asc
Description: Digital signature


Re: IMAP Mail server question

2007-02-28 Thread Kelly
We are looking at about 100 users connected at our office.  There will 
also be about 30 or so sites w/email hosted for our agents.  in total 
about 200 users or so.


Thanks

Kelly


Ron Johnson wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 02/28/07 08:56, Kelly wrote:


Just a request for opinions here guys.  I have read several articles
about Courier and Dovecot.  What is your opinions about which to go
with.



What is the purpose/scale of your proposed mail server?

Dovecot is supposed to be faster/more efficient, but both should be
adequate until you get A Whole Lot of users.  And then you use Cyrus.



Thanks

Kelly





-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFF5aBxS9HxQb37XmcRAvDQAJ43wKVtxIccK69yrH03TaAgl9s/BgCgzLLJ
CH8dSPUWhHakhR4ilFAAWeU=
=JbQ2
-END PGP SIGNATURE-






--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: ??: IMAP Mail server question

2007-02-28 Thread Greg Folkert
On Wed, 2007-02-28 at 11:17 -0500, Roberto C. Sanchez wrote:
 On Wed, Feb 28, 2007 at 05:29:22PM +0200, Nick Demou wrote:
  
  courier-IMAP was easy to install and setup
  
  works fine with many users accessing the same maildir about 20
  maildirs in a low spec server. Hundreds of folders per maildir with
  some of them having up to 3 emails
  
  With outlook express I have some problems now and then that get fixed
  by doing a clear local cache on OE. Only once had a problem with
  thunderbird (started constantly complaining that it could not save the
  email it just sent to the INBOX folder while at the same time it HAD
  saved it). Worked around this annoyance and didn't try to fix it
  
 The main gotcha with Courier, is that by default it only allows 4
 connections per IP, but T-bird tries to make 5.  You can fix that in
 either place (probably the server if you have lots of users).

I've change the number of connections from a single IP to 75, especially
when running X-Terminal supporting 10+ people at the same time. Usually
it just works otherwise. The only thing I have to change is causing
exim4 to use $HOMEDIR/Maildir delivery vs. /var/spool/mail.

And this bit about not being able to handle large amounts of mail?

[EMAIL PROTECTED]:~$ du -ks Maildir/
313998560   Maildir/

All served up via courier-imap-ssl. Hope that clears it up.

Also, I've scaled courier-imap upto ~700 users with ~100 continuous
users accessing, using a single processor with 4G of memory, a single FC
SCSI card to a SAN.
-- 
greg, [EMAIL PROTECTED]

Novell's Directory Services is a competitive product to Microsoft's
Active Directory in much the same way that the Saturn V is a competitive
product to those dinky little model rockets that kids light off down at
the playfield. -- Thane Walkup


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]