Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 08 Feb 2004 15:48:44 +0100
From:      Alex de Kruijff <freebsd@akruijff.dds.nl>
To:        zhangweiwu@realss.com
Cc:        questions@freebsd.org
Subject:   Re: sendmail to a smarthost?
Message-ID:  <20040208144844.GB61768@alex.lan>
In-Reply-To: <LAW11-F9oli1l6aC6nI0005af2f@hotmail.com>
References:  <LAW11-F9oli1l6aC6nI0005af2f@hotmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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/<hostname>.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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040208144844.GB61768>