

![]() | 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] Trouble in maildrop with ...| From | Sent On | Attachments |
|---|---|---|
| hzqbbc | Aug 27, 2002 9:22 am | |
| Devin Rubia | Aug 27, 2002 12:59 pm |

![]() | 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] Trouble in maildrop with Postfix + LDAP!Help! | Actions... |
|---|---|---|
| From: | hzqbbc (hzq...@96333.net) | |
| Date: | Aug 27, 2002 9:22:41 am | |
| List: | net.sourceforge.lists.courier-maildrop | |
Hi all: Is anybody successfully running postfix with ldap and make maildrop be the VDA(virtual delivery agent, for deliver mail to the virtual user 's home) , using Maildir ??? I am working for accomplishing this for N hours but not success!!!:-(
my mail system is make up of: postfix 1.1.11 openldap 2.0.23 maildrop 1.3.9 sqwebmail 3.3.7 Using VirtualDomain & VirtualAccount and NONE unix mail account exists,All are Virtual!! All work fine except maildrop,it always give me error like" unable to open mailbox ","tempatery failure,xxxx,0x0B".
It get me mad !!!!:-( THe most "BIG" problem is it complains " C19BEBAB53: to=<hzq...@redhut.net>, relay=maildrop, delay=3041, status=deferred (temporary failure. Command output: maildrop: mailbox is /home/domains/redhut.net/hzqbbc /usr/bin/maildrop: Unable to open mailbox. )" And the "mailbox is /home/domains/redhut.net/hzqbbc" message is my littel modification to deliver.C and verify the homedir is correct or not.Homedir seems ok, and i have check the permission of maildrop itself, homedir of user hzqbbc@redhut and all right!! The following is my result: [root@mail maildrop]# ls -l /home/domains/redhut.net/hzqbbc total 4 drwx------ 8 vuser vgroup 4096 Aug 27 20:46 Maildir
[root@mail maildrop]# id vuser uid=1000(vuser) gid=1000(vgroup) groups=1000(vgroup)
maildrop in master.cf of postfix: ######################################## maildrop unix - n n - - pipe flags=Ru user=vuser argv=/usr/bin/maildrop -d $recipient
maildrop's ldap rc file: /etc/maildropldap.config,and i configure it as sqwebmail does ,sqwebmail work fine but it does not: #cat /etc/maildropldap.conf # hostname localhost
# basedn - base DN by which to search for LDAP entries basedn o=Postfix,dc=MailServer,dc=CN filter &(&(objectclass=MailAccount)) search_method mail
# default_uid - default uid (number only) to use incase uidnumber attribute not # found in users ldap entry default_uidnumber 1000
# default_gid - default gid (number only) to use incase gidnumber attribute not # found in users ldap entry default_gidnumber 1000
maildir_attr mailbox
# HOMEDIRECTORY_ATTR - LDAP attribute which contains the path to the users # home directory homedirectory_attr mailbox
########### my sample user's information store in ldap: #cat user.ldif # hzq...@redhut.net, redhut.net, Postfix, MailServer, CN dn: mail=hzq...@redhut.net,vd=redhut.net,o=Postfix,dc=MailServer,dc=CN objectClass: top objectClass: MailAccount accountActive: TRUE mail: hzq...@redhut.net mailbox: /home/domains/redhut.net/hzqbbc userPassword:: e2NyeXB0fVQwTER1QlZxRUJtR00=
According to my little code added to deliver.C , it indicate that homedir or mailbox is correct (from the log).But it still "unable to open mailbox".How can i do????????????????????????? I almostly cry!
---------------------------------------------- 欢迎使用 96333.net 电子邮件系统 http://www.96333.net Thank you for using 96333.net Email system







