From owner-freebsd-questions@FreeBSD.ORG Wed Mar 12 19:09:08 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 61FAF1065675 for ; Wed, 12 Mar 2008 19:09:08 +0000 (UTC) (envelope-from sdb@ssr.com) Received: from mailhost.ssr.com (mailhost.ssr.com [199.4.235.5]) by mx1.freebsd.org (Postfix) with SMTP id 074758FC24 for ; Wed, 12 Mar 2008 19:09:07 +0000 (UTC) (envelope-from sdb@ssr.com) Received: (qmail 5222 invoked by uid 103); 12 Mar 2008 18:30:25 -0000 Date: 12 Mar 2008 18:30:25 -0000 Message-ID: <20080312183025.5221.qmail@ssr.com> From: Scott Ballantyne To: freebsd-questions@freebsd.org In-reply-to: <47D81F25.70304@ongame.com.br> (message from Vinicius Vianna on Wed, 12 Mar 2008 15:21:25 -0300) References: <47D7FAD2.8010907@netmediaservices.net> <47D81160.2060301@datapipe.com> <47D81F25.70304@ongame.com.br> Subject: Re: QMail Help X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Mar 2008 19:09:08 -0000 > Paul A. Procacci wrote: > > Victor Farah wrote: > >> Hello > >> I'm running qmail and I created an smtproutes file, inside my > >> /var/qmail/control/ directory. I then sent a killall -ALRM > >> qmail-send, but it doesn't seem like it uses that smtproutes file I > >> made. I start qmail using supervise scripts. > >> > > Hello, > > > > This isn't the right place to ask this question. Irregardless of > > that, since you are using supervise to manage the daemon, try the > > following: > > > > svc -h /path/to/service/directory > > > > OR > > > > svc -a /path/to/service/directory > > ~Paul > > I Agree, this would be better posted to a qmail list, but anyway: > > I think -ALRM tells qmail to re-run the queue, what you need is to send > a HUP signal to the qmail-send, like "pkill -HUP qmail-send", so it will > read the control files again. > Have you read the Life With Qmail docs? See qmail-control(5) and qmail-remote(8). smtproutes is read by qmail-remote not qmail-send. qmail-remote doesn't require a signal since a new instance is started for each delivery. If smtproutes is not working, something else is wrong. Check the syntax of the file (it is described in qmail-remote man page). You may need to use wild cards to handle all instances for that domain name. If that's all fine, then perhaps there's a problem on the remote host. sdb -- sdb@ssr.com Todays Poem: ((12 + 144 + 20 + (3 * 4^(1/2))) / 7) + (5 * 11) = 9^2 + 0