SMTP stupid question
Joel Hatton
freebsd-questions at auscert.org.au
Thu Jun 7 10:54:42 UTC 2007
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 at auscert.org.au
More information about the freebsd-questions
mailing list