On Fri, Mar 16, 2007 at 10:24:23AM +0100, Test Fabelec wrote:
Hello
I've installed a new mail server on a Debian sarge (Postfix + OpenLDAP +
Courier) and it worked very well.
I've got a vmail user who get back the mails of all virtual user in
/home/vmail/domain/user.
(where '/home/vmail/' is the homeDirectory attribut in the LDAP, and
'domain/user/' is the mailbox attribut) [1]
But now i want to remplace the Postfix-mda by Courier-Maildrop. I made a
debian backport for courier's paquages to have more recent versions. [2]
I created a file maildroprc with just a new definition of $DEFAULT to
$HOME/$DEFAUTL; and where to put the logfile. [3]
With this configuration, maildrop works well with my root user. The $DEFAULT
is well initialised to /home/vmail/domain/user/ [4]. But not with my vmail
user. The $DEFAULT is initialised with the values of vmail ($DEFAULT =
'/home/vmail/.Maildir) and not with the values of my virtual user. [5]
Is there anybody who see why??
Yes.
[2]My debian paquages
# dpkg -l | grep courier
ii courier-authda 0.58-4~bpo.1 Courier authentication daemon
ii courier-authli 0.58-4~bpo.1 Courier authentication library
ii courier-authli 0.58-4~bpo.1 LDAP support for the Courier
authentication
ii courier-authli 0.58-4~bpo.1 userdb support for the Courier
authenticatio
ii courier-base 0.53.3-1~bpo.1 Courier Mail Server - Base system
ii courier-imap 4.1.1.20060828 Courier Mail Server - IMAP server
ii courier-ldap 0.53.3-1~bpo.1 Courier Mail Server - LDAP support
You don't need the above three packages.
ii courier-maildr 0.53.3-1~bpo.1 Courier Mail Server - Mail delivery
agent
This is the wrong maildrop package. The one you are looking for is
just named "maildrop-xxx", not "courier-maildrop-xxx"
ii courier-pop 0.53.3-1~bpo.1 Courier Mail Server - POP3 server
Don't need this either.
[3]i created a file maildroprc with just this lines:
DEFAULT="$HOME/$DEFAULT"
Don'd need this line.
logfile "mailfilter-log.txt"
[4]With this maildrop is working in root user!
# maildrop -V 4 -d test...@fabelec.dyndns.org < /root/myMail
[SNIP]
You still have to configure Authlib. Check the installation docs for it.
You can find more information at:
http://www.courier-mta.org/authlib/
Or for more specific configuration information:
http://www.courier-mta.org/authlib/README_authlib.html