From owner-freebsd-questions@FreeBSD.ORG Sun Feb 8 06:51:06 2004 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 0A0BC16A4CE for ; Sun, 8 Feb 2004 06:51:06 -0800 (PST) Received: from smtp07.wxs.nl (smtp07.wxs.nl [195.121.6.39]) by mx1.FreeBSD.org (Postfix) with ESMTP id 99F7743D1D for ; Sun, 8 Feb 2004 06:51:05 -0800 (PST) (envelope-from freebsd@akruijff.dds.nl) Received: from kruij557.speed.planet.nl (ipd50a97ba.speed.planet.nl [213.10.151.186])18questions@freebsd.org; Sun, 08 Feb 2004 15:49:12 +0100 (MET) Received: from alex.lan (localhost [127.0.0.1]) by kruij557.speed.planet.nl (8.12.10/8.12.10) with ESMTP id i18Emjjs037669; Sun, 08 Feb 2004 15:48:45 +0100 Received: (from akruijff@localhost) by alex.lan (8.12.10/8.12.10/Submit) id i18EmiqR037477; Sun, 08 Feb 2004 15:48:44 +0100 Content-return: prohibited Date: Sun, 08 Feb 2004 15:48:44 +0100 From: Alex de Kruijff In-reply-to: To: zhangweiwu@realss.com Message-id: <20040208144844.GB61768@alex.lan> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Content-disposition: inline User-Agent: Mutt/1.4.1i References: X-Authentication-warning: alex.lan: akruijff set sender to freebsd@akruijff.dds.nl using -f cc: questions@freebsd.org Subject: Re: sendmail to a smarthost? 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: Sun, 08 Feb 2004 14:51:06 -0000 On Sun, Feb 08, 2004 at 09:31:10PM +0800, Zhang Weiwu wrote: > Hello. In my LAN the DNS server is my ADSL modem ... small device that > cannot do MX type of address lookup. I wish to configure a fax server > (FreeBSD 5.2 + Hylafax) in the LAN to send emails to a group of people upon > receiving fax. The problem is hylafax fax server can only use sendmail to > send fax notification, but sendmail can send out emails only when it knows > receipiant's MX ip. > > The only way I can think of is to let sendmail send mails by using my ISP's > smtp server (need login). But I read sendmail(8), I didn't find how to > configure sendmail to do this, nor did I find such information on the > handbook. I'm not familiar with sendmail config. > > I hope I'm clear:) What should I do now? Do you have something to suggest > me to read? Thank you. To create your own sendmail configure file: 1. cd /etc/mail/ 2. make && make install 3. vi /etc/mail/.mc This configuration has a example on how to use the SMART_HOST option. I'm not sure about how to login. Then after you have configured it all do: 1. cd /etc/mail/ 2. make && make install && make restart The website of sendmail is: www.sendmail.org Good luck, Alex