Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 07 Jun 2007 20:21:15 +1000
From:      Joel Hatton <freebsd-questions@auscert.org.au>
To:        Albert.Shih@obspm.fr
Cc:        freebsd-questions@freebsd.org
Subject:   Re: SMTP stupid question 
Message-ID:  <200706071021.l57ALFQr042296@app.auscert.org.au>
In-Reply-To: Your message of "Thu, 07 Jun 2007 11:58:31 %2B0200." <20070607095831.GA92893@pcjas.obspm.fr> 

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 7 Jun 2007 11:58:31 +0200, Albert Shih wrote:
>
>I want to configure a FreeBSD box without sendmail-daemon but I want all
>all mail sent to my smtp-server.
>
>For that I put
>
>sendmail_enable="NO"
>sendmail_submit_enable="NO"
>sendmail_outbound_enable="NO"
>sendmail_msp_queue_enable="YES"

I haven't used FEATURE(`msp') before, but you'll need to enable the last
three lines above. By default, FreeBSD should be configured properly if
you don't include _any_ of the above lines in your /etc/rc.conf at all.
Grep for 'sendmail' in /etc/defaults/rc.conf and you'll see what is already
configured.

On a new system, all you should have to do to set up mail is (if in single
user mode you have to set hostname first):

cd /etc/mail
make
edit your.host.name.submit.mc 
make install
make start

If you are running 'make' on a running system after editing
freebsd.submit.mc you won't actually be installing the right file....

cheers,
-- Joel Hatton --
Infrastructure Manager              | Hotline: +61 7 3365 4417
AusCERT - Australia's national CERT | Fax:     +61 7 3365 7031
The University of Queensland        | WWW:     www.auscert.org.au
Qld 4072 Australia                  | Email:   auscert@auscert.org.au



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