From owner-freebsd-questions@FreeBSD.ORG Wed May 28 10:07:59 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 3511F37B401 for ; Wed, 28 May 2003 10:07:59 -0700 (PDT) Received: from mail-gw.globecom.net (mail-gw.globecom.net [212.116.65.149]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0848143F85 for ; Wed, 28 May 2003 10:07:57 -0700 (PDT) (envelope-from f00he@efd.lth.se) Received: from uniper ([212.116.92.101]) by mail-gw.globecom.net (8.9.3/8.9.1) with ESMTP id TAA24730 for ; Wed, 28 May 2003 19:07:53 +0200 Content-Type: text/plain; charset=iso-8859-15; format=flowed Received: from 192.168.0.1 (proxying for 192.168.0.201) (SquirrelMail authenticated user tysken) by webmail.tysken.un1x.la with HTTP; Wed, 28 May 2003 18:42:52 +0200 (CEST) Message-ID: <3360.192.168.0.1.1054140172.squirrel@webmail.tysken.un1x.la> Date: Wed, 28 May 2003 18:42:52 +0200 (CEST) From: =?iso-8859-15?Q?Mattias_Bj=F6rk?= To: f00he@efd.lth.se User-Agent: SquirrelMail/1.4.0 Importance: Normal Resent-To: freebsd-questions@freebsd.org Resent-From: Henrik Enquist MIME-Version: 1.0 Resent-Date: Wed, 28 May 2003 19:07:26 +0200 Resent-Message-ID: Subject: 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 17:07:59 -0000 Hi, I read the message on how to set up squirrelmail to use it with apache recently on this list. It works almost fine but I have one problem. I get this error when I try to send messeges if I have my rcphosts in /var/qmail/control. 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) I have tryed this as well: ( Im using tcpserver btw ). http://www.qmail.org/qmail-manual-html/misc/FAQ.html#5.4. My /var/qmail/rc does look like this: #!/bin/sh # Using splogger to send the log through syslog. # Using qmail-local to deliver messages to Maildir format by default case "$1" in start) exec env - PATH="/var/qmail/bin:$PATH" \ qmail-start '|preline maildrop' splogger qmail ./Maildir/ & # smtp daemon /usr/local/bin/tcpserver -v -x/etc/tcp.smtp.cdb -u 82 -g 81 0 smtp /var/qmail/bin/qmail-smtpd 2>&1 | setuidgid qmaill multilog t s1000000 n10 /var/log/qmail/qmail-smtpd/ & # pop3 daemon /usr/local/bin/tcpserver -v -x /etc/tcp.smtp.cdb 0 pop3 /var/qmail/bin/qmail-popup tysken.un1x.la /bin/checkpassword /var/qmail /bin/qmail-pop3d Maildir 2>&1 | setuidgid qmaill multilog t s1000000 n10 /var/log/qmail/qmail-pop3d & exit 0 ;; stop) exec killall -1 qmail-send tcpserver ;; reload) exec qmail-tcpok exec killall -14 qmail-send exec killall -1 qmail-send ;; *) echo "Usage: `basename $0` {start|stop|reload}" >&2 exit 64 ;; esac ---------------------EOF------------------------- My /etc/tcp.smtp.cdb is setup up like this: 192.168.0.:allow,RELAYCLIENT="" 127.:allow,RELAYCLIENT="" :allow ---------------------EOF------------------------- But I still can't get it to work even if I have rcphosts in place and I have setup the above hosts for relaying. Am I missing something importent? I would also like to have everyone that logs in to be allowed to send mail offcourse, can anybody help me out here with this? Let me know if you want more information on this bit to be able to help me out. Its quite futile to let everyone relay messages from my MTA... I know but that is the only working solution now. I also run courier-imap to and I get the same problem if I try to send mail via balsa in FreeBSD or opera in windows if I try to send mail that are none local, I mean that are not in the tysken.un1x.la domain. Thanks in advance Mvh Mattias Björk