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: "sato x" <gladiol4@gmail.com>
Date: Tue, 6 Mar 2007 19:40:59 +0700
Delivered-to: sp-com-lists@consult.net
Delivered-to: qmail-ldap-list@securepoint.com
Delivered-to: mailing list qmail-ldap@qmail-ldap.org
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=aGkmrj03z2D4COHRzh/nesF7XPM6Vx3buGWO7isY1g7NY4VRTSGXTOSUDXhW5ly6hqM0R3jRxJnZWKvJTX9RlKIRw6A7iEvbwjqNTL3MOoMPOJYyJb9m0Hw2Xt4Fm/oL3dOxupM8W4npxtRat9V50Kplg8VetZtwdw/ahfazxxU=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=Dh5S9QSOuV4XIKKmKXwb5mQI4+sVDT/f9hZU6EYuoqx0BhH8lxkM6F2jfSTZzpiTeBmo2aVdQJsoLvke0WNzTd1ZRSNonWFQN3tbs6hvE0fkC1U77mAqjDh/b0pVFfunH2PsSnaP6I7F3eHMtQV23p5qO1i0J+Of4GVO+600o4Y=
In-reply-to: <45ED4E38.4060300@proscrutiny.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>
The content of the ~/control/qmail-smtpd.rules is
           :allow,NOPBS=""

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

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

I even ran make in /service/smtpd/. The I tried to send email to other domain: still fail as the previous one.

( 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. )

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

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
'

I also tried with the old configuration (tcp.cdb instead of /var/qmail/control/qmail-smtpd.cdb) but it still failed. What could be wrong? FYI, my old mail server has /etc/tcp.smtp (and /etc/tcp.smtp.cdb). Is it replaced by ~control/qmail-smtp.{rules,cdb}? Thank you for your help.

Best regards

sato


On 3/6/07, Sameer N Ingole <strike@proscrutiny.com> wrote:
sato x wrote:
> - When I connect to the server it asks me for my password. First it
> failed because I used my mail address as the user name to login into
> it, but after I changed it to use my username instead, it worked there
> after!

Good to hear.. :)

>
>       An error occured while sending mail. The mail server responded:
>          sorry, relaying denied from your location [ 172.16.10.10
> <http://172.16.10.10>] (#5.7.1).                              Please
> verify that your email address is correct in your Mail preferences
>                and try again.
What does your ~/control/qmail-smtpd.rules file say? Which type of
authentication you are using? Perhaps you have not configured
qmail-smtpd.rules.

Did you configure it?
Did you compile qmail-smtpd.rules into qmail-smtpd.cdb?

--
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>