

![]() | Start a set with this search |
![]() | Include this search in one of my sets |
![]() | Exclude this search from one of my sets |
![]() | Permalink to these results Paste this link in email or IM: |
| Atom feed for tracking future search results Paste this URL into your reader: |
2 messages in net.sourceforge.lists.courier-maildrop[maildropl] Virtuals mailbox delivery| From | Sent On | Attachments |
|---|---|---|
| Test Fabelec | Mar 16, 2007 2:24 am | |
| Devin Rubia | Mar 16, 2007 6:36 am |

![]() | Permalink for this message Paste this link in email or IM: |
![]() | Permalink for this thread Paste this link in email or IM: |
| Atom feed for this thread Paste this URL into your reader: |
| Subject: | [maildropl] Virtuals mailbox delivery | Actions... |
|---|---|---|
| From: | Test Fabelec (test...@gmail.com) | |
| Date: | Mar 16, 2007 2:24:00 am | |
| List: | net.sourceforge.lists.courier-maildrop | |
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??
Thank you for reading, and sorry for my bad english ;o)
[1]There is my LDAP structure: dn:dc=domain,dc=org objectClass: top objectClass: dcObject objectClass: organization o: fabelec dc: ldap
dn:cn=admin,dc=domain,dc=org objectClass: simpleSecurityObject objectClass: organizationalRole cn: admin description: LDAP administrator userPassword: {crypt}Fx9esal87MjLU
dn:ou=people,dc=domain,dc=org objectClass: top objectClass: organizationalUnit ou: people description: Branche des utilisateurs
dn:ou=domain,dc=domain,dc=org objectClass: top objectClass: organizationalUnit objectClass: CourierDomainAlias ou: domain description: Branche des domaines supportes virtualdomainuser: domain.org/ virtualdomain: domain.dyndns.org virtualdomain: localdomain virtualdomain: localhost virtualdomain: localhost.localdomain
dn:cn=user,ou=people,dc=domain,dc=org cn: user givenName: user sn: user objectClass: top objectClass: inetOrgPerson objectClass: CourierMailAccount gidNumber: 5000 mail: us...@domain.org mail: us...@domain.dyndns.org mail: user@localhost mail: user@localdomain mail: user@localhost.localdomain uidNumber: 5000 homeDirectory: /home/vmail/ mailbox: domain/user/ userPassword: {CRYPT}q4qfcQZnUxcIE
[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 ii courier-maildr 0.53.3-1~bpo.1 Courier Mail Server - Mail delivery agent ii courier-pop 0.53.3-1~bpo.1 Courier Mail Server - POP3 server
[3]i created a file maildroprc with just this lines: DEFAULT="$HOME/$DEFAULT" logfile "mailfilter-log.txt"
[4]With this maildrop is working in root user! # maildrop -V 4 -d test...@fabelec.dyndns.org < /root/myMail maildrop: authlib: groupid=5000 maildrop: authlib: userid=5000 maildrop: authlib: logname=test...@fabelec.dyndns.org, home=/home/vmail/, mail=fabelec.org/testgen/ maildrop: Changing to /home/vmail/ Message start at 0 bytes, envelope sender=test...@fabelec.dyndns.org /etc/courier/maildroprc(7): Opening logfile /home/vmail/maildrop.log /etc/courier/maildroprc(8): DEFAULT="/home/vmail/fabelec.org/testgen/" maildrop: Attempting .mailfilter
[5]But not with the vmail user: $ maildrop -V 4 -d test...@fabelec.dyndns.org < /root/myMail maildrop: authlib: groupid=5000 maildrop: authlib: userid=5000 maildrop: authlib: logname=test...@fabelec.dyndns.org, home=/home/vmail/, mail=fabelec.org/testgen/ maildrop: Changing to /home/vmail Message start at 0 bytes, envelope sender=vmail /etc/courier/maildroprc(7): Opening logfile /home/vmail/maildrop.log /etc/courier/maildroprc(8): DEFAULT="/home/vmail/./Maildir" maildrop: Attempting .mailfilter maildrop: Delivering to /home/vmail/./Maildir







