Check all the appropriate files. The commands are on one line, they appear
on two lines only because of the word wrapping caused by my mail client.

There is a tcp file is created, here is what is included in the file.

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

Here is the file that contains the run command in /service/qmail-smtp

#!/bin/sh
exec \
envuidgid qmaild \
/usr/local/bin/softlimit -m "`cat env/DATALIMIT`" \
/usr/local/bin/tcpserver -H -R -U -v -p -x tcp.cdb \
        -c "`cat env/MAXSMTPD`" 0 smtp /usr/local/bin/rblsmtpd \
        /var/qmail/bin/qmail-smtpd 2>&1

I understand I need to give relay access to my internal clients, which I
have. However when an external client connects to mail server and
pop3-record runs, my internal clients no longer have the ability to send
messages, unless they make a pop3 connection first...

As well after 2 runs of pop3-delete, the external client still has access to
send messages, not until someone else connects via pop3 does that client get
removed.

Again any assistance would be greatly appreciated.

Paul.
----- Original Message -----
From: "Henning Brauer" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, February 01, 2002 3:27 AM
Subject: Re: qmail + smtp after pop


> On Thu, Jan 31, 2002 at 11:33:49PM -0700, Paul Andrews wrote:
> > I have tested to see if the everything worked and it did, however when
I
> > run the delete script to remove the user's IP records after 15 minutes,
my
> > computers on the inside can no longer connect to the smtp without first
> > connecting via POP3.
>
> > pop3-record
> > #!/bin/sh
> > echo "$TCPREMOTEIP:allow,RELAYCLIENT=\"\",TCPREMOTEINFO=\"$AUTHUSER\"">>
> > /service/qmail-smtpd/tcp.filter.newer
>
> is this all one line? if not -> fix that.
>
> > cat /service/qmail-smtpd/tcp.filter.* /service/qmail-smtpd/tcp |
tcprules
> > /service/qmail-smtpd/tcp.cdb /service/qmail-smtpd/tcp.cdb.$$
>
> is this all one line? if not -> fix that.
> does /service/qmail-smtpd/tcp exist?
> is your tcpserver invocation pointed to /service/qmail-smtpd/tcp.cdb
>
> > pop3-delete
> > #!/bin/sh
> > mv /service/qmail-smtpd/tcp.filter.newer
> > /service/qmail-smtpd/tcp.filter.older
>
> is this all one line? if not -> fix that.
>
> > cat /service/qmail-smtpd/tcp.filter.* /service/qmail-smtpd/tcp |
tcprules
> > /service/qmail-smtpd/tcp.cdb /service/qmail-smtpd/tcp.cdb.$$
>
> is this all one line? if not -> fix that.
> again, check for the files.
>
> > Any suggestions would be great... I would like to have it so that the
> > internal clients can always connect whether they autheticate via POP3 or
> > IMAP, and only allow the external clients access when the authenticate
with
> > a 15 min window of opportunity after which their access is removed until
> > they authenticate again.
>
> You need to give relay access for internal clients within
> /service/qmail-smtpd/tcp.
> External ones will be allowed to replay for the period of t .. 2*t, where
t
> is the time between two pop3-delete runs.
>
> --
> * Henning Brauer, [EMAIL PROTECTED], http://www.bsws.de    *
> * BS Web Services, Roedingsmarkt 14, 20459 Hamburg, Germany *
> Unix is very simple, but it takes a genius to understand the simplicity.
> (Dennis Ritchie)
>
>


Reply via email to