> On Mon, Jan 10, 2005 at 08:07:17PM -0700, Stewart Walker wrote:
>>
>> I've got
>>
>> 127.0.0.1:allow,RELAYCLIENT="",SMTPAUTH="",NOPBS=""
>> :allow,SMTPAUTH="",RCPTCHECK="",REJECTEXEC="",NOPBS=""
>>
>> in /etc/tcp.smtp
>
> This means that users on that server can send to anyone (RELAYCLIENT="")
> but that everyone else can only send to people listed in the rcpthost
> and locals file.  You might want to add something like
>   10.0.0.:allow,RELAYCLIENT=""
> to let 10.0.0.x people send email to anyone.
>
>> Have spent a good deal of time on google but can't seem to get
>> this to work.
>
> To debug this I would capture the packets:
>   tethereal -w /tmp/blah.out -f "port 25 and host 10.0.0.5" -i eth0
> and then look at them:
>   ethereal /tmp/blah.out
>
> To see what's going wrong.  Your clients might not even be connecting to
> the server -- have them do a
>   telnet your.server.name 25
> and see if they can connect.  A firewall might be blocking you.
>
> Chris
>

Still am unable to make a working imap connection from
a remote client.

Confirmed connections are being made with etherreal. No info on why they
are being refused.. Disabled the firewall and I'm not doing anything with
wrapper yet.

Don't think it is a qmail-ldap problem and maybe I
should post to another list.

Started over with LWQ. As far as I can tell every thing is working
on the server.

                Location           Port
thunderbird     127.0.0.1       imap:143        works & send
thunderbird     127.0.0.1       pop:110         works & send
squirrelmail    127.0.0.1       imap:143        works & send
smtp            127.0.0.1       smtp:25         works

/etc/tcp.smtp.cdb

127.0.0.1:allow,RELAYCLIENT=""
10.18.1.:allow,RELAYCLIENT=""
:allow

LDAP authinacation, connecting to and sending from a remote Thunderbird
client configured as pop:110 works great.

Would the smtp after pop patch make this work?

Going thru the mail archives at

http://marc.theaimsgroup.com/?l=qmail&r=1&w=2

Ran across several /var/qmail/qmail-smtpd/run configurations
like

/usr/local/bin/tcpserver -v -H -R -l 0 -x
 /etc/tcp.smtp.cdb -c 20 -u 89 -g 89 0 smtp /var/qmail/bin/qmail-smtpd
 mail1.sfigroupinc.com /sfig/home/vpopmail/bin/vchkpw /bin/true

Got my run file from LWQ. I don't have any thing like.

 mail1.sfigroupinc.com /sfig/home/vpopmail/bin/vchkpw /bin/true

Is this necessary or have I missed something?

/var/qmail/supervise/qmail-smtp/run

#!/bin/sh

QMAILDUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
LOCAL=`head -1 /var/qmail/control/me`

if [ -z "$QMAILDUID" -o -z "$NOFILESGID" -o -z "$MAXSMTPD" -o -z "$LOCAL"
]; then
    echo QMAILDUID, NOFILESGID, MAXSMTPD, or LOCAL is unset in
    echo /var/qmail/supervise/qmail-smtpd/run
    exit 1
fi

if [ ! -f /var/qmail/control/rcpthosts ]; then
    echo "No /var/qmail/control/rcpthosts!"
    echo "Refusing to start SMTP listener because it'll create an open relay"
    exit 1
fi

exec /usr/local/bin/softlimit -m 8000000 \
    /usr/local/bin/tcpserver -v -R -l "$LOCAL" -x /etc/tcp.smtp.cdb -c
"$MAXSMTPD" \
        -u "$QMAILDUID" -g "$NOFILESGID" 0 smtp /var/qmail/bin/qmail-smtpd
2>&1

Any help would be greatly appreciated.

[EMAIL PROTECTED]

Reply via email to