In short with native courier, no, no and no.

1. is nothing to do with Maildirs, it's to do with Courier's IMAP implementation. I doubt that would change, but you can look at patching it if you like.

2. Courier esmtp can use any mail processing system that can write to Maildirs. Find one that supports sieve.

3. However you create it, add a hook to create the maildir as the info is added to the database. Wouldn't be that hard, just shell command. Otherwise, check esmtpd's routine where it creates the mbox file for a nonexistant destination. Likewise, replacing maildrop for #2 could do this, as final delivery is actually done by maildrop if it's active.

On 11/05/2004, at 5:46 PM, Ray Jackson wrote:

Hello all,

As i mentioned in a previous email, we are planning to move to courier for
IMAP/POP for our 70,000+ mailboxes. We are an ISP and currently drive
everything from a MySQL database. However, there are 3 issues with Courier
that I can see so far:

1. Maildir forces private mail folders to live under INBOX.folder - which means
unless the client supports the namespace RFC's fully - user's have to manually
set this up to avoid having their mail folders under their INBOX. Cyrus offers
the altnamespace=yes option to get around this... Can Courier offer anything?
(Unfortunately, we live in a Microsoft dominated world on the client-side - and
as an ISP I'm sure you can understand we want to avoid as few setup steps as
possible to get IMAP up-and-running for an end-user.)

2. Sieve rules. We are using IMP/Horde as our webmail and would love to get
server-side mail filters going. Unfortunately there is no 'maildrop' option.
I also like Sieve since it's a widely used RFC. Is there any Sieve
functionality in Courier. If not can anybody suggest how we might do Sieve
with Courier (i.e. using Sieve rules on the MTA perhaps?)

3. Auto creation of mailboxes. Again, as an ISP we drive everything from a
real-time replicated MySQL database. Of course we don't create 70,000 user
accounts on a server. Does Courier offer a feature that allows automatic
creation of a mailbox the first time a user authenticates? I can get Exim to
create a Maildir when the user first gets a mail, but can't see such an option
in Courier. As you can imagine when a user signs-up with the ISP - one of the
first steps is to setup their email. Of course they won't have any email yet,
so we'd like the first login to create the mailbox for them and avoid any nasty
error messages popping up in the client. I see such a patch exists at
http://www.commedia.it/ccontavalli/courier/doc/courier/courier.html - but I'm
always wary of using patches and prefer to stay with stable code. Has anybody
used this patch in a production env? Can anybody think of a better
work-around?

Cheers,
Ray
--
Phillip Hutchings
[EMAIL PROTECTED]
http://www.sitharus.com/

Attachment: smime.p7s
Description: S/MIME cryptographic signature



Reply via email to