Date: Wed, 20 Feb 2002 22:14:10 +0200 From: Richard =?utf-8?B?xIxlcGFz?= <rch@richard.eu.org> To: freebsd-questions@FreeBSD.ORG Subject: Re: Config. FreeBSD to use an external mail server Message-ID: <20020220201410.GE34174@richard.eu.org> In-Reply-To: <5.1.0.14.2.20020220150503.01f18490@pop.earthlink.net> References: <5.1.0.14.2.20020220121350.03569200@pop.earthlink.net> <5.1.0.14.2.20020220121350.03569200@pop.earthlink.net> <5.1.0.14.2.20020220150503.01f18490@pop.earthlink.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed Feb 20 15:06:16 2002 -0500 B.K. DeLong wrote: >At 09:53 PM 02/20/2002 +0200, Richard =?utf-8?B?xIxlcGFz?= wrote: >>Hi, >> >>Don't run sendmail as daemon. In /etc/rc.conf >>sendmail_enable="NO" # Run the sendmail inbound daemon (YES/NO). > >I already did that upon setting up the firewall. > >>Add sendmail -q to crontab at regular intervals to flush deferred messages. > >ok - but what I'm asking is how do I set it up so those queue'd messages go >out to my mail server brain-stream.com ? Is there a config file where I >define this? /etc/mail/sendmail.mc Documentation is here: /usr/src/contrib/sendmail/cf/README E.g., add: define(`SMART_HOST', `smart.foo.com') Don't forget 'make' in /etc/mail to regenerate files. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020220201410.GE34174>