> >>>>> "Marlon" == Marlon Costa <[EMAIL PROTECTED]> writes:
>
>     Marlon> delivery 1: failure: Unable_to_run_qmail-remote.
>
> As a bug report, this sucks :)
>
> Please run/compile QmailLDAP/Controls with debuing turned on...
I'm using the same versions of qmail/-ldap/-control and having the same
problems. The server concerned is going to act as an alias server, accepting
mail for [EMAIL PROTECTED] and forwarding on to
[EMAIL PROTECTED] where mailserver may or may not
be a qmail server. I also have problems with an SMTP relay that was compiled
with qmail-ldap-control. The only server that works correctly with the
control patch is one of the end points, however auth_pop seems to be
throwing auth errors on previously valid uids. I'm probably doing something
really stupid, but here we go.

I'm starting qmail-send as follows:

exec env - PATH="/var/qmail/bin:$PATH" DEBUGLEVEL=255 \
qmail-start "`cat /var/qmail/control/defaultdelivery`" splogger qmail-send

called by /var/qmail/supervise/qmail-send/run as follows:
#!/bin/sh
exec /var/qmail/rc

As you can see the system is setup as "Life with Qmail", except I'm using
splogger.

The relevant syslog entries are:
May 16 12:44:56 incoming1 qmail-send: 990013496.194393 new msg 452355
May 16 12:44:56 incoming1 qmail-send: 990013496.195045 info msg 452355:
bytes 1008 from <[EMAIL PROTECTED]> qp 97376 uid 82
May 16 12:44:56 incoming1 qmail-send: 990013496.287737 starting delivery 1:
msg 452355 to local [EMAIL PROTECTED]
May 16 12:44:56 incoming1 qmail-send: 990013496.288854 status: local 1/10
remote 0/20
May 16 12:44:56 incoming1 qmail-send: 990013496.546265 delivery 1: success:
mailaddr:[EMAIL PROTECTED]/ldapfilter:_'(|(mail
[EMAIL PROTECTED])([EMAIL PROTECTED]))'/ldap_looku
p:_init_successful_(ldap.srv.poptel.org.uk:389)/ld
ap_lookup:_bind_successful_(as_'')/Search_filter:_(|([EMAIL PROTECTED]
t)([EMAIL PROTECTED]))/Sear
ch_base:_ou=customers,_dc=poptel,_dc=org,_dc=uk/ldap_lookup:_2/ldap_lookup:_
search_for_(|([EMAIL PROTECTED])(mailAltern
[EMAIL PROTECTED]))_succeeded/ldap_get_userinfo:_qmailUID:_1008
_(default)/ldap_get_userinfo:_qmailGID:_1003_(defa
ult)/ldap_get_userinfo:_uid:_pete_(from_server)/ldap_get_userinfo:_accountSt
atus:_active_(from_server)/ldap_get_userinfo:_mail
Host:_undefined/ldap_get_userinfo:_mailMessageStore_&_homeDirectory:_/homeDi
rectory=undefined/mail
May 16 12:44:56 incoming1 qmail-send:
990013496.546265+MessageStore=/var/mail/random_(from_server)/homeDirectory=(
null_pointer
)_&_mailMessageStore=/var/mail/random/ldap_get_extrainfo:_mailQuota:__nothin
g_found/ldap_get_extrainfo:_mailForwardingAddress:
[EMAIL PROTECTED]/ldap_get_extrainfo:_deliveryProgramPa
th:__nothing_found/ldap_get_extrainfo:_deliveryMod
e:__normal/ldap_get_extrainfo:_mailReplyText:__nothing_found/ldap_get_extrai
nfo:_qmailDotMode:__nothing_found/found:_user='pet
e'_uid=1008_gid=1003_homedir='(null_pointer)'_mms='/var/mail/random'_host='(
null_pointer)'_status=0/QMAILQUOTA:_/QMAILFORWARDS
:[EMAIL PROTECTED]/QMAILMODE:_normal/QMAILDOTMODE:_ldapo
nly/LDAP_lookup_succeeded/executing_'qmail-local_-
[EMAIL PROTECTED]/Maildir/'_un
der_uid=1008,_gid=1003
May 16 12:44:56 incoming1 qmail-send: 990013496.546265+/did_0+1+0/qp_97378/
May 16 12:44:56 incoming1 qmail-send: 990013496.556966 status: local 0/10
remote 0/20
May 16 12:44:56 incoming1 qmail-send: 990013496.557528 end msg 452355
May 16 12:44:56 incoming1 qmail-send: 990013496.602334 new msg 452356
May 16 12:44:56 incoming1 qmail-send: 990013496.602998 info msg 452356:
bytes 1124 from <[EMAIL PROTECTED]> qp 97378 uid 1008
May 16 12:44:56 incoming1 qmail-send: 990013496.731525 starting delivery 2:
msg 452356 to remote [EMAIL PROTECTED]
.org.uk
May 16 12:44:56 incoming1 qmail-send: 990013496.732278 status: local 0/10
remote 1/20
May 16 12:44:56 incoming1 qmail-send: 990013496.733515 delivery 2: failure:
Unable_to_run_qmail-remote./
May 16 12:44:56 incoming1 qmail-send: 990013496.781951 status: local 0/10
remote 0/20
May 16 12:44:56 incoming1 qmail-send: 990013496.902676 bounce msg 452356 qp
97380
May 16 12:44:56 incoming1 qmail-send: 990013496.957811 end msg 452356
May 16 12:44:57 incoming1 qmail-send: 990013497.013047 new msg 452355
May 16 12:44:57 incoming1 qmail-send: 990013497.013726 info msg 452355:
bytes 1691 from <> qp 97380 uid 87
May 16 12:44:57 incoming1 qmail-send: 990013497.219805 starting delivery 3:
msg 452355 to remote [EMAIL PROTECTED]
May 16 12:44:57 incoming1 qmail-send: 990013497.220654 status: local 0/10
remote 1/20
May 16 12:44:57 incoming1 qmail-send: 990013497.221644 delivery 3: failure:
Unable_to_run_qmail-remote./
May 16 12:44:57 incoming1 qmail-send: 990013497.293080 status: local 0/10
remote 0/20
May 16 12:44:57 incoming1 qmail-send: 990013497.479574 bounce msg 452355 qp
97383
May 16 12:44:57 incoming1 qmail-send: 990013497.534736 end msg 452355

When I reinstall qmail-ldap, there are no problems with the relaying onward.

The output of uname -a is:
FreeBSD incoming1.srv.poptel.org.uk 4.2-RELEASE FreeBSD 4.2-RELEASE #0: Mon
Nov 20 13:02:55 GMT 2000
[EMAIL PROTECTED]:/usr/src/sys/compile/GENERIC  i386

If you need any further information (Makefile, control files, LDAP entries
etc.) please let me know.

Thanks for any help you can give me,
pete

Reply via email to