Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Feb 2004 17:21:12 +0100
From:      Alex de Kruijff <akruijff@dds.nl>
To:        Zhang Weiwu <zhangweiwu@realss.com>
Cc:        questions@freebsd.org
Subject:   Re: sendmail to a smarthost?
Message-ID:  <20040211162112.GA4310@alex.lan>
In-Reply-To: <40270505.3030909@realss.com>
References:  <LAW11-F9oli1l6aC6nI0005af2f@hotmail.com> <20040208144844.GB61768@alex.lan> <40270505.3030909@realss.com>

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



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