Qmail-LDAP
[Top] [All Lists]

Re: qmail-ldap installation FAILURE again and again and .....

To: qmail-ldap@qmail-ldap.org
Subject: Re: qmail-ldap installation FAILURE again and again and .....
From: Sameer N Ingole <strike@proscrutiny.com>
Date: Tue, 06 Mar 2007 18:38:37 +0530
Delivered-to: sp-com-lists@consult.net
Delivered-to: qmail-ldap-list@securepoint.com
Delivered-to: mailing list qmail-ldap@qmail-ldap.org
In-reply-to: <f5ba7b270703060440t3af86a7br3ace83b8c5df5d56@mail.gmail.com>
Mailing-list: contact qmail-ldap-help@qmail-ldap.org; run by ezmlm
References: <f5ba7b270702271958x60fc5d0u1bf188440188bc3@mail.gmail.com> <f5ba7b270703010209o746b9727gfa37664d3a2ba171@mail.gmail.com> <45E6AE5B.9010008@proscrutiny.com> <45E6B116.6080704@proscrutiny.com> <f5ba7b270703010538x6d374420hd610f6fae81aa8ee@mail.gmail.com> <45E6E591.4010007@proscrutiny.com> <f5ba7b270703011804x3030502dm65597af6c26a51f4@mail.gmail.com> <45E7BD73.8070001@proscrutiny.com> <f5ba7b270703060309q731c64bkec74db7c8a17ce51@mail.gmail.com> <45ED4E38.4060300@proscrutiny.com> <f5ba7b270703060440t3af86a7br3ace83b8c5df5d56@mail.gmail.com>
User-agent: Thunderbird 1.5.0.5 (X11/20060719)
sato x wrote:
The content of the ~/control/qmail-smtpd.rules is
           :allow,NOPBS=""

I've just added it to become
            127.:allow,RELAYCLIENT=""
            :allow,NOPBS=""

Ok.


then ran the make command
          [root@mail smtpd]# make
           /usr/local/bin/tcprules tcp.cdb tcp.tmp < tcp

Ok, but you created tcp.cdb and you want to update /var/qmail/control/qmail-smtpd.cdb (look at your run file).
cd /var/qmail/control and then run make.
After that, relaying work only if you try to send mail from 127.*.*.*

( For now I don't use auth for smtp, but later I will. I see an application in /var/qmail/bin, named auth_smtp, I guess that what people usually use with their qmail-ldap server. I will learn how to use it. )

Update your run file to use auth_smtp.


Below is my /service/smtpd/run file:

#!/bin/sh

PBSTOOL=${PBSTOOL:="$QMAIL/bin/pbscheck"}
if [ X${NOPBS+"true"} = X"true" ]; then
       unset PBSTOOL
fi                               #  As you suggested

You don't need above lines with this run files as your run file is not referring to PBSTOOL


exec 2>&1 \
envdir ./env \
sh -c '
    case "$REMOTENAME" in h) H=;; p) H=p;; *) H=H;; esac
    case "$REMOTEINFO" in r) R=;; [0-9]*) R="t$REMOTEINFO";; *) R=R;; esac
    exec \
    envuidgid qmaild \
    softlimit ${DATALIMIT+"-d$DATALIMIT"} \
    /usr/local/bin/tcpserver \
        -vDU"$H$R" \
        ${LOCALNAME+"-l$LOCALNAME"} \
        ${BACKLOG+"-b$BACKLOG"} \
        ${CONCURRENCY+"-c$CONCURRENCY"} \
        -x/var/qmail/control/qmail-smtpd.cdb \
        -- "${IP-0}" "${PORT-25}" \
    /var/qmail/bin/qmail-smtpd
'

What does logs say? (just to ensure which IP you are trying from)

--
Best Regards,

Sameer N. Ingole
http://weblogic.noroot.org/gallery2/
--
Better to light one candle than to curse the darkness.


<Prev in Thread] Current Thread [Next in Thread>