Date: Wed, 28 May 2003 14:02:16 -0400 From: "Kliment Andreev" <klimenta@futurebit.com> To: <freebsd-questions@FreeBSD.ORG> Subject: Re: Using squirrelmail with qmail, relaying problem Message-ID: <002701c32543$6da0ff10$ca0110ac@vinyl.tkvbp.com> References: <3360.192.168.0.1.1054140172.squirrel@webmail.tysken.un1x.la>
next in thread | previous in thread | raw e-mail | index | archive | help
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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?002701c32543$6da0ff10$ca0110ac>