From owner-freebsd-questions@FreeBSD.ORG Sun Feb 8 19:57:04 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 443B216A4CE for ; Sun, 8 Feb 2004 19:57:04 -0800 (PST) Received: from mail27.cn4e.com (unknown [218.107.207.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 09A8F43D2F for ; Sun, 8 Feb 2004 19:57:04 -0800 (PST) (envelope-from zhangweiwu@realss.com) Received: from realss.com (unknown [218.85.102.230]) by mail27.cn4e.com (WorldPost) with ESMTP id AF62E8051B74; Mon, 9 Feb 2004 12:16:42 +0800 (CST) Message-ID: <40270505.3030909@realss.com> Date: Mon, 09 Feb 2004 11:56:53 +0800 From: Zhang Weiwu User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.5) Gecko/20040120 X-Accept-Language: zh-cn, en-us, en MIME-Version: 1.0 To: Alex de Kruijff References: <20040208144844.GB61768@alex.lan> In-Reply-To: <20040208144844.GB61768@alex.lan> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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 03:57:04 -0000 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.