From owner-freebsd-questions@FreeBSD.ORG Wed May 28 11:00:11 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9F5B637B401 for ; Wed, 28 May 2003 11:00:11 -0700 (PDT) Received: from aibo.runbox.com (cujo.runbox.com [193.71.199.138]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5DDB343F85 for ; Wed, 28 May 2003 11:00:10 -0700 (PDT) (envelope-from klimenta@futurebit.com) Received: from [10.9.9.9] (helo=fetch-bak.runbox.com) by lufsen.runbox.com with esmtp (Exim 4.14) id 19L5Dc-00070U-Se for freebsd-questions@FreeBSD.ORG; Wed, 28 May 2003 20:00:08 +0200 Received: from [12.33.76.83] (helo=klimenta) (Authenticated Sender=klimenta@runbox.com) by fetch.runbox.com with asmtp (Exim 4.14) id 19L5Cp-0004bJ-R1 for freebsd-questions@FreeBSD.ORG; Wed, 28 May 2003 19:59:19 +0200 Message-ID: <002701c32543$6da0ff10$ca0110ac@vinyl.tkvbp.com> From: "Kliment Andreev" To: References: <3360.192.168.0.1.1054140172.squirrel@webmail.tysken.un1x.la> Date: Wed, 28 May 2003 14:02:16 -0400 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0014_01C32521.BEF4D250" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Sender: 202020 Subject: Re: Using squirrelmail with qmail, relaying problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 May 2003 18:00:12 -0000 This is a multi-part message in MIME format. ------=_NextPart_000_0014_01C32521.BEF4D250 Content-Type: text/plain; charset="iso-8859-5" Content-Transfer-Encoding: 7bit > Requested action not taken: mailbox name not allowed > Server replied: 553 sorry, that domain isn't in my list of allowed > rcpthosts (#5.7.1) Try with this rc script. Just change the hostname.domain inside the script. ------=_NextPart_000_0014_01C32521.BEF4D250 Content-Type: text/plain; name="rc.txt" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="rc.txt" #!/bin/sh=0A= =0A= #=0A= # This script starts and stops the qmail mail functions.=0A= #=0A= =0A= # Suck in the configuration variables.=0A= if [ -r /etc/defaults/rc.conf ]; then=0A= . /etc/defaults/rc.conf=0A= source_rc_confs=0A= elif [ -r /etc/rc.conf ]; then=0A= . /etc/rc.conf=0A= fi=0A= =0A= case "$1" in=0A= start)=0A= case ${qmail_smtp_enable} in=0A= [Yy][Ee][Ss])=0A= # Start the qmail smtp daemon=0A= /usr/local/bin/tcpserver -H -R -c 255 -x = /etc/tcp.smtp.cdb \=0A= -u 82 -g 81 0 25 /var/qmail/bin/qmail-smtpd &=0A= echo -n " qmail-smtp"=0A= ;;=0A= esac=0A= =0A= case ${qmail_pop_enable} in=0A= [Yy][Ee][Ss])=0A= # Start the qmail pop daemon=0A= /usr/local/bin/tcpserver -H -R -c 255 0 110 \=0A= /var/qmail/bin/qmail-popup goatrance.chombe.org \=0A= /usr/local/bin/checkpassword = /var/qmail/bin/qmail-pop3d \=0A= Maildir &=0A= echo -n " qmail-pop"=0A= ;;=0A= esac=0A= =0A= case ${qmail_enable} in=0A= [Yy][Ee][Ss])=0A= # Start qmail=0A= exec env - PATH=3D"/var/qmail/bin:$PATH" \=0A= qmail-start ./Maildir splogger qmail &=0A= echo -n " qmail"=0A= ;;=0A= esac=0A= ;;=0A= stop)=0A= # Stop the smtp daemon=0A= smtppid=3D`ps -axw | grep tcpserver | grep smtp | grep -v grep | = awk '{ print $1 }'`=0A= if [ "$smtppid" !=3D "" ]; then=0A= kill $smtppid=0A= echo -n " qmail-smtp"=0A= fi=0A= =0A= # Stop the pop daemon=0A= poppid=3D`ps -axw | grep tcpserver | grep popup | grep -v grep | = awk '{ print $1 }'`=0A= if [ "$poppid" !=3D "" ]; then=0A= kill $poppid=0A= echo -n " qmail-pop"=0A= fi=0A= =0A= # Stop qmail=0A= qmailpid=3D`ps -axw | grep qmail-send | grep -v grep | awk '{ = print $1 }'`=0A= if [ "$qmailpid" !=3D "" ]; then=0A= kill $qmailpid=0A= echo -n " qmail"=0A= fi=0A= ;;=0A= *)=0A= echo "Usage: `basename $0` {start|stop}" >&2=0A= ;;=0A= esac=0A= =0A= exit 0=0A= ------=_NextPart_000_0014_01C32521.BEF4D250--