Thank you very much Syahid!!!
 It worked!! You are the best!! :)

For others who have help me out since the day I
started my post, including Sameer, hyperax, Hardik,
and to many people to mention, THANK YOU VERY MUCH!!!
I wouldn't be here without you guys...(*wink*) Keep up
the good work!! Let's make this world a better place
to live in:)

--- Syahid Ali <[EMAIL PROTECTED]> wrote:

> hi,
> i think i've encountered this problem b4. maybe u
> can change parameter in 
> qmail-ldap.h  (in qmail source)
> 
> #define LDAP_HOMEDIR            "homeDirectory"
> to
> #define LDAP_HOMEDIR            "nohomeDirectory"
> 
> recompile qmail-ldap,
> 
> make sure the permission for /var/vmail is
> vmail:vmail,
> 
> and try again.
> 
> dunno if it will work for you but hope this help a
> bit.
> 
> bye.
> 
> 
> Regards,
> 
> Syahid bin Ali
> 
> 
> 
> 
> jay alvarez <[EMAIL PROTECTED]> 
> 07/22/2005 11:11 AM
> 
> To
> Sameer N Ingole <[EMAIL PROTECTED]>,
> [email protected]
> cc
> 
> Subject
> Re: automaildirmake won't work(it finally worked but
> doesn't follow 
> Maildir format)
> 
> 
> 
> 
> 
> 
> Hi everyone,
> 
>  Its Friday morning here in the Philippines, last
> day
> of work. I wish I could make this thing work today
> but...
> 
> this trick won't work either.
>  
> > --< example ldap attr >--
> > homeDirectory: /var/vmail
> > mailMessageStore: bani
> > deliveryMode: noprogram
> > --< end example ldap attr >--
> 
> Look:
> 
> gaheris# ldapsearch -LLLb 'ou=staff,dc=preginet'
> uid=bani mail homeDirectory mailmessagestore
> deliverymode
> 
> dn: uid=bani,ou=staff,dc=preginet
> mail: [EMAIL PROTECTED]
> mailHost: gaheris.camlann.pergi.net
> homeDirectory: /var/vmail
> mailMessageStore: bani
> deliveryMode: noprogram
> 
> galahad#mail -s "testing" [EMAIL PROTECTED]
> just a test
> .
> EOF
> 
> gaheris#tail -f /var/qmail/log/qmail/current
> @4000000042e04d6009d6da2c new msg 300
> @4000000042e04d6009e925c4 info msg 300: bytes 1033
> from <[EMAIL PROTECTED]> qp 1084 uid
> 1003
> @4000000042e04d6009e93d34 starting delivery 35: msg
> 300 to local [EMAIL PROTECTED]
> @4000000042e04d6009e94cd4 status: local 1/10 remote
> 0/20
> @4000000042e04d600eed9dfc delivery 35: success:
> did_0+1+0/qp_1086/
>                                           ^
> what's the meaning of  success in here... ^
> here's the continuation...
> 
> @4000000042e04d600f02eb1c status: local 0/10 remote
> 0/20
> @4000000042e04d600f11eedc end msg 300
> @4000000042e04d600f244a14 new msg 324
> @4000000042e04d600f36c48c info msg 324: bytes 1141
> from <[EMAIL PROTECTED]> qp 1086 uid
> 1012
> @4000000042e04d600f36dbfc starting delivery 36: msg
> 324 to local [EMAIL PROTECTED]
> @4000000042e04d600f36eb9c status: local 1/10 remote
> 0/20
> @4000000042e04d601765c4dc delivery 36: failure:
> Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/
> 
> Now it says no mailbox here by that name. This error
> is exactly the same error being generated when the
> user is not even in ldap directory. 
> Watch:
> 
> galahad#mail -s "test" [EMAIL PROTECTED]
> just a test
> .
> EOT
> 
> 
> gaheris# tail -f /var/qmail/log/qmail/current
> 
> @4000000042e04e562dd4047c new msg 300
> @4000000042e04e562de8c4fc info msg 300: bytes 1037
> from <[EMAIL PROTECTED]> qp 1094 uid
> 1003
> @4000000042e04e562de8dc6c starting delivery 38: msg
> 300 to local [EMAIL PROTECTED]
> @4000000042e04e562de8ec0c status: local 1/10 remote
> 0/20
> @4000000042e04e5636073ed4 delivery 38: failure:
> Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/
> 
> On my very first setup above, it didn't even create
> a
> dir named "bani" inside /var/vmail which represents
> his home directory and will also contain the Maildir
> folder.
> 
> 
> Going back to my previous weird experiment, now if I
> set his homeDirectory to /var/vmail/bani and
> mailMessageStore as bani
> 
> 
> gaheris# ldapsearch -LLLb 'ou=staff,dc=preginet'
> uid=bani mail mailhost homeDirectory
> mailmessagestore
> deliverymode
> 
> dn: uid=bani,ou=staff,dc=preginet
> homeDirectory: /var/vmail/bani
> mail: [EMAIL PROTECTED]
> mailHost: gaheris.camlann.pregi.net
> mailMessageStore: bani
> deliveryMode: noprogram
> 
> 
> galahad#mail -s "testing" [EMAIL PROTECTED]
> just a test
> .
> EOT
> 
> 
> I got:
> gaheris#tail -f /var/qmail/log/qmail/current
> 
> @4000000042e057c73603dba4 new msg 300
> @4000000042e057c736162354 info msg 300: bytes 1020
> from <[EMAIL PROTECTED]> qp 1528 uid
> 1003
> @4000000042e057c736163eac starting delivery 106: msg
> 300 to local [EMAIL PROTECTED]
> @4000000042e057c736164a64 status: local 1/10 remote
> 0/20
> @4000000042e057c73b21fe2c delivery 106: success:
> did_0+1+0/qp_1530/
> @4000000042e057c73b32888c status: local 0/10 remote
> 0/20
> @4000000042e057c73b407ec4 end msg 300
> @4000000042e057c73b5dfd8c new msg 324
> @4000000042e057c73b74bdc4 info msg 324: bytes 1128
> from <[EMAIL PROTECTED]> qp 1530 uid
> 1012
> @4000000042e057c73b74d534 starting delivery 107: msg
> 324 to local [EMAIL PROTECTED]
> @4000000042e057c73b74e4d4 status: local 1/10 remote
> 0/20
> @4000000042e057c807f521dc delivery 107: failure:
> Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/
> @4000000042e057c808014354 status: local 0/10 remote
> 0/20
> @4000000042e057c808665a3c bounce msg 324 qp 1532
> @4000000042e057c80890a274 end msg 324
> 
> Looks like the same error generated from Sameer's
> suggestion where homeDirectory is set to /var/vmail
> and mailMessageStore set to bani, Only this time,
> when
> homeDirectory was set to /var/vmail/bani, the auto
> homedir maker worked.
> 
=== message truncated ===


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Reply via email to