On Fri, Sep 28, 2001 at 11:18:53AM +0200, Christoph Neukirch wrote:
> without mailMessageStore in ldap entry comes the following debug output:
> 
> Sep 28 11:12:50 mail1 qmail: 1001668370.559648 starting delivery 2: msg
> 401608 to local [EMAIL PROTECTED]
> Sep 28 11:12:50 mail1 qmail: 1001668370.559728 status: local 1/20 remote
> 0/40
> Sep 28 11:12:52 mail1 qmail: 1001668372.178747 delivery 2: success:
> mailaddr:[EMAIL PROTECTED]/ldapfilter:_'(|([EMAIL PROTECTED]
> e)([EMAIL PROTECTED]))'/ldap_lookup:_init_success
> ful,_set_option_successful,_bind_successful/ldap_lookup:_search_for_(|(mail
> [EMAIL PROTECTED])([EMAIL PROTECTED]))_succ
> eeded/ldap_get_userinfo:_qmailUID:_508_(default)/ldap_get_userinfo:_qmailGI
> D:_508_(default)/ldap_get_userinfo:_uid:[EMAIL PROTECTED](from_serve
> r)/ldap_get_userinfo:_accountStatus:_nopop_(from_server)/ldap_get_userinfo:
> _mailHost:_test.gamesurf.de_(from_server)/ldap_get_userinfo:_mailMessageSto
> re_&_homeDirectory:_/homeDirectory=undefined/mailMessageStore=undefined/hom
> eDirectory=(null_pointer)_&_mailMessageStore=(null_pointer)/ldap_get_extrai
> nfo:_mailQuota:__nothing_fou
> Sep 28 11:12:52 mail1 qmail:
> 1001668372.178747+nd/ldap_get_extrainfo:_mailForwardingAddress:__nothing_fo
> und/ldap_get_extrainfo:_deliveryProgramPath:__/usr/local/maildeliver/wrappe
> r.pl/ldap_get_extrainfo:_deliveryMode:__normal/ldap_get_extrainfo:_mailRepl
> yText:__nothing_found/ldap_get_extrainfo:_qmailDotMode:__ldapwithprog/found
> :_user='[EMAIL PROTECTED]'_uid=508_gid=508_homedir='(null_pointer)'_mm
> s='(null_pointer)'_host='test.gamesurf.de'_status=1/QMAILQUOTA:_/QMAILDELIV
> ERYPROGRAM:_/usr/local/maildeliver/wrapper.pl/QMAILMODE:_normal/QMAILDOTMOD
> E:_ldapwithprog/LDAP_lookup_succeeded/executing_'qmail-local_--_bully@test.
> gamesurf.de_/var/qmail/alias_bully___test.gamesurf.de_christoph.neukirch@ti
> scaligames.de_|sh_-c_"cat_>_/dev/null"'_under_uid=508,_gid=508/did_0+0+1/
> Sep 28 11:12:52 mail1 qmail: 1001668372.243474 status: local 0/20 remote
> 0/40
> 
First of all, if all or most of your users use your imap wrapper then why
not setting the wrapper as default delivery method (aliasempty) in
~qmail/rc?
Would make your life much easier :)

If you do not define neither mMS nor homeDir you end up with a forward
only account. The |sh_-c_"cat_>_/dev/null" is the default delivery for
those accounts. In other words, if there are no forwarding addresses it
will just dump the message. (please have a look at QLDAPINSTALL,
QLDAPNEWS and http://www.lifewithqmail.org/ldap)

For programmdelivery you NEED a valid homedir set with either mMS or
homeDir. Or set both (again see the Docu how they work together).

-- 
:wq Claudio

tail -23 QLDAPINSTALL

Reply via email to