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
regards
christoph
---------- Forwarded Message ----------
Date: Freitag, 28. September 2001 09:01 +0200
From: Christoph Neukirch <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Re: qmail-ldap fails to start external wrapper
hi again,
thanks for your first help.
and sorry, in my /var/qmail/alias/.qmail
| preline /usr/local/maildeliver/wrapper.pl "$USER" "$EXTENSTION" "$SENDER"
"$RECIPIENT" "$MATCH"
ldap now:
objectClass : top
person
qmailUser
sn : Christoph Neukirch
cn : Christoph Neukirch
uid : [EMAIL PROTECTED]
mail : [EMAIL PROTECTED]
mailMessageStore : gamesurf/bully
userPassword : {crypt}Eq78.HtBNN/n6
mailHost : test.gamesurf.de
deliveryProgramPath : /usr/local/maildeliver/wrapper.pl
qmailDotMode : ldapwithprog
deliveryMode : normal
accountStatus : nopop
log with debugoutput:
Sep 28 08:57:00 mail1 qmail: 1001660220.178253 status: local 0/20 remote
0/40
Sep 28 08:57:00 mail1 qmail: 1001660220.179201 starting delivery 1: msg
401608 to local [EMAIL PROTECTED]
Sep 28 08:57:00 mail1 qmail: 1001660220.179432 status: local 1/20 remote
0/40
Sep 28 08:57:01 mail1 qmail: 1001660221.725306 delivery 1: deferral:
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=gamesurf/bull
y_(from_server)/_using_/var/qmail/maildirs/_as_prefix/homeDirectory=(null_p
ointer)_&_mailMessageStore=
Sep 28 08:57:01 mail1 qmail:
1001660221.725306+/var/qmail/maildirs//gamesurf/bully/ldap_get_extrainfo:_m
ailQuota:__nothing_found/ldap_get_extrainfo:_mailForwardingAddress:__nothin
g_found/ldap_get_extrainfo:_deliveryProgramPath:__/usr/local/maildeliver/wr
apper.pl/ldap_get_extrainfo:_deliveryMode:__normal/ldap_get_extrainfo:_mail
ReplyText:__nothing_found/ldap_get_extrainfo:_qmailDotMode:__ldapwithprog/f
ound:_user='[EMAIL PROTECTED]'_uid=508_gid=508_homedir='(null_pointer)
'_mms='/var/qmail/maildirs//gamesurf/bully'_host='test.gamesurf.de'_status=
1/QMAILQUOTA:_/QMAILDELIVERYPROGRAM:_/usr/local/maildeliver/wrapper.pl/QMAI
LMODE:_normal/QMAILDOTMODE:_ldapwithprog/LDAP_lookup_succeeded/executing_'q
[EMAIL PROTECTED]/var/qmail/maildirs//gamesurf/bully_bu
[EMAIL PROTECTED]/'_under
Sep 28 08:57:01 mail1 qmail:
1001660221.725306+_uid=508,_gid=508/Unable_to_switch_to_/var/qmail/maildirs
//gamesurf/bully:_file_does_not_exist._(LDAP_ERR_#2.2.4)/
Sep 28 08:57:01 mail1 qmail: 1001660221.825568 status: local 0/20 remote
0/40
it finds the deliverprogram, but wants to deliver local to maildir. i dont
have an idea why.
hope this helps anyone to can help me.
thanks and regards
christoph
--On Donnerstag, 27. September 2001 18:49 +0200 Claudio Jeker
<[EMAIL PROTECTED]> wrote:
> On Thu, Sep 27, 2001 at 09:36:05AM +0200, Christoph Neukirch wrote:
>> hi all,
>>
>> im new here an missing the index-function from ezmlm for this list so i
>> must ask my question directly.
>>
>> qmail-ldap delivers all mail's for pop-accounts into the right location
>> on harddisk. it works fine and im happy with this.
>>
>> next step was to deliver mails with imap_wrapper written by myself, which
>> work fine in an single cyrus-environment.
>>
>> for ldap entry's i use qldapadmin-0.40beta.
>>
>> the ldap-entry:
>>
>> objectClass : top
>> person
>> qmailUser
>> uid : [EMAIL PROTECTED]
>> mail : [EMAIL PROTECTED]
>> userPassword : {crypt}g0.tdkDPD9DIk
>> mailHost : test.gamesurf.de
>> deliveryProgramPath : preline /usr/local/maildeliver/wrapper.pl
>> sn : Christoph Neukirch
>> cn : Christoph Neukirch
>> qmailDotMode : dotonly
>> deliveryMode : normal
>> accountStatus : nopop
>>
>
> Your qmailDotMode is wrong. You need either "ldapwithprog" or "both".
> Dotonly ignores all settings in ldap :)
>
> --
> :wq Claudio
>
> tail -23 QLDAPINSTALL
>
______________________________
Christoph Neukirch
Webmaster
GameSurf
[EMAIL PROTECTED]
Tiscali Games GmbH
Amsinckstra�e 71
D-20097 Hamburg
fon +49 (040) 80804 - 1371
fax +49 (040) 80804 - 1997
http://www.gamesurf.de/
______________________________
---------- End Forwarded Message ----------
______________________________
Christoph Neukirch
Webmaster
GameSurf
[EMAIL PROTECTED]
Tiscali Games GmbH
Amsinckstra�e 71
D-20097 Hamburg
fon +49 (040) 80804 - 1371
fax +49 (040) 80804 - 1997
http://www.gamesurf.de/
______________________________