From owner-freebsd-questions@FreeBSD.ORG Mon Feb 9 04:05:55 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 972F716A4CE for ; Mon, 9 Feb 2004 04:05:55 -0800 (PST) Received: from smtp08.wxs.nl (smtp08.wxs.nl [195.121.6.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6BFE043D1D for ; Mon, 9 Feb 2004 04:05:55 -0800 (PST) (envelope-from akruijff@dds.nl) Received: from kruij557.speed.planet.nl (ipd50a97ba.speed.planet.nl [213.10.151.186])18questions@freebsd.org; Mon, 09 Feb 2004 12:58:48 +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 i19C0GSn001642; Mon, 09 Feb 2004 13:00:16 +0100 (CET envelope-from akruijff@dds.nl) Received: (from akruijff@localhost) by alex.lan (8.12.10/8.12.10/Submit) id i19C0FLU001641; Mon, 09 Feb 2004 13:00:15 +0100 (CET envelope-from akruijff@dds.nl) Content-return: prohibited Date: Mon, 09 Feb 2004 13:00:15 +0100 From: Alex de Kruijff In-reply-to: <40270505.3030909@realss.com> To: Zhang Weiwu Message-id: <20040209120015.GA1612@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: <20040208144844.GB61768@alex.lan> <40270505.3030909@realss.com> X-Authentication-warning: alex.lan: akruijff set sender to 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: Mon, 09 Feb 2004 12:05:55 -0000 On Mon, Feb 09, 2004 at 11:56:53AM +0800, Zhang Weiwu wrote: > Alex de Kruijff wrote: > > >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 > > > > > Yes there is a SMART_HOST option, but where to config the login and > sender's address? > > My ISP restricts both smtp username/password and sender's email address. > According to http://www.sendmail.org/~ca/email/auth.html authentication is posible from 8.10. But it is nessesary to install a thirth partie software. This document should help you set it up. Alex