Thanks for the reply Dave,

I don't have a problem with sqwebmail.  I guess I did a lousy job of
describing this problem.  Sqwebmail log in's work fine.  The problem is
now I've got some people who want to use their mail clients rather than
the web interface - and when they do they can pick up mail from the pop
server ok - but when they try to send mail they get an error message
that says "recipient not in allowed recpts hosts".  Which I believe
means that their IP is not being written into the tcp.smtp.cdb file to
allow them to relay.

So I'm thinking I missed a step here, but I don't see it in the docs or
archives.  Meanwhile I'll keep trying to tweak the smtp/run file and
hope I can find the right combination!


On Tue, 2002-09-24 at 19:57, Dave Ellsworth wrote:
> Personally I'd probably try to reconfigure and recompile sqwebmail.  I'm not
> sure if that'll solve the problem though.
> -----Original Message-----
> From: rm [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, September 24, 2002 6:10 PM
> To: vchkpw mailing list
> Subject: [vchkpw] more roaming user problems
> After several months of getting by with sqwebmail for remote users,
> we've decided to add the "enable roaming users" option.  It seemed
> simple enough in reading the docs and the archive messages on this
> subject.  But I seem to have missed something.
> My configure line is:
> ./configure  --enable-roaming-user=y
> --enable-tcpserver-file=/home/vpopmail/etc/tcp.smtp
> --enable-relay-clear-minutes=60 --enable-mysql-logging=y
> --enable-clear-passwd=y --enable-incdir=/usr/include
> --enable-libdir=/usr/lib --enable-mysql=y --enable-mysql-replication=y
> --enable-valias=y
> I modified the smtp run file to use the correct path to
> /home/vpopmail/etc/tcp.smtp - originally I used the "life with qmail"
> example - so the modified file looks like this:
> #!/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
> exec /usr/local/bin/softlimit -m 4000000 \
>     /usr/local/bin/tcpserver -v -R -l "$LOCAL" -x
> /home/vpopmail/etc/tcp.smtp.cdb -c "$MAXSMTPD" \
>         -u "$QMAILDUID" -g "$NOFILESGID" 0 smtp
> /var/qmail/bin/qmail-smtpd 2>&1
> I copied the tcp.smtp and the tcp.smtp.cdb file from /etc into
> /home/vpopmail/etc
> I also tried to add > /dev/null &  at the end of the smtp run file, as
> shown in the FAQ example; but when I add that - the smtp server won't
> start.
> In any event - remote logins keep getting the error message "recipient
> not in allowed rcpt hosts" when they try to send mail.
> Any ideas on what I've missed here?
> Thanks,
> Regis

Reply via email to