From owner-freebsd-questions@FreeBSD.ORG Wed Feb 11 08:21:47 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 9AF1616A4CE for ; Wed, 11 Feb 2004 08:21:47 -0800 (PST) Received: from smtp02.wxs.nl (smtp02.wxs.nl [195.121.6.54]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7382943D1D for ; Wed, 11 Feb 2004 08:21:47 -0800 (PST) (envelope-from akruijff@dds.nl) Received: from kruij557.speed.planet.nl (ipd50a97ba.speed.planet.nl [213.10.151.186])18questions@freebsd.org; Wed, 11 Feb 2004 17:28:32 +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 i1BGLHwh004365; Wed, 11 Feb 2004 17:21:17 +0100 (CET envelope-from akruijff@dds.nl) Received: (from akruijff@localhost) by alex.lan (8.12.10/8.12.10/Submit) id i1BGLGbS004364; Wed, 11 Feb 2004 17:21:16 +0100 (CET envelope-from akruijff@dds.nl) Content-return: prohibited Date: Wed, 11 Feb 2004 17:21:12 +0100 From: Alex de Kruijff In-reply-to: <40270505.3030909@realss.com> To: Zhang Weiwu Message-id: <20040211162112.GA4310@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: Wed, 11 Feb 2004 16:21:47 -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. > I just happen to look trougth the handbook (always do this!) to fix one of my own problems and came accross the article about authentication and sendmail. www.freebsd.org/handbook/smtp-auth.html -- Alex