In setting up a mail server, I have found that I am able to send and receive
email with IMAP.  However, with POP, I can receive emails, but I cannot send any
to remote addresses.  Everytime I try, it gives me this error:

553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)

I have looked through the web, but have not found anything to fix the problem.
Here are my settings:

tcp.smtp

127.0.0.:allow,RELAYCLIENT=""
128.187.0.:allow,RELAYCLIENT=""
10.x.0.:allow,RELAYCLIENT=""
10.x.0.:allow,RELAYCLIENT=""
:allow


hosts.allow

tcp-env: 128.187.0.0/255.255.255.0, 10.x.0.0/255.255.255.0,
10.x.0.0/255.255.255.0: setenv = RELAYCLIENT


qmail-smtpd (invoked by qmailctl start)

#!/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 3000000 \
        /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


xinetd.d/smtp

service smtp
{
        disable         = no
        flags           = REUSE NAMEINARGS
        socket_type     = stream
        protocol        = tcp
        wait            = no
        user            = qmaild
        server          = /usr/sbin/tcpd
        server_args     = /var/qmail/bin/tcp-env /var/qmail/bin/qmail-smtpd
}


qmailctl stat returns:
/service/qmail-send: up (pid 13539) 150 seconds
/service/qmail-send/log: up (pid 13541) 150 seconds
/service/qmail-smtpd: up (pid 13546) 150 seconds
/service/qmail-smtpd/log: up (pid 13548) 150 seconds
/service/qmail-pop3d: up (pid 13551) 150 seconds
/service/qmail-pop3d/log: up (pid 13553) 150 seconds
messages in queue: 0
messages in queue but not yet preprocessed: 0


I am able to telnet into the server remotely and locally on the smtp port.

And the email client has the correct settings.


Does anyone see what I am overlooking here?  Thanks for the help!

____________________
BYU Unix Users Group 
http://uug.byu.edu/ 
___________________________________________________________________
List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list

Reply via email to