Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 04 Jan 2005 17:03:50 +0000
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        Michael Madden <madden@cmsrtp.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Recommended Mail Transfer Agent
Message-ID:  <41DACC76.4060701@infracaninophile.co.uk>
In-Reply-To: <41D878DE.6070303@cmsrtp.com>
References:  <20050102202051.GA7603@cmsrtp.com> <20050102203631.GA3765@turingmachine.mentalsiege.net> <1104699579.63517.14.camel@owl2> <200501021648.17318.mistry.7@osu.edu> <41D878DE.6070303@cmsrtp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enigD92C347512213EB629237999
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Michael Madden wrote:

> The FreeBSD Handbook seems incomplete and glosses over details:
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mail.html

That's because to do sendmail configuration justice, you'ld end up 
writing something like O'Reilly's Bat Book, and as Costales & Allman 
already did that there isn't much point in doing it again.

> 1.) How do I edit /etc/rc.conf to start sendmail at boot.

Just like any other daemon or service:

     sendmail_enable="YES"

Well, actually, it's slightly more complicated than that:
sendmail_enable="YES" starts various sendmail daemons in a configuration
suitable for a mail server, ie. intended both to send and receive
messages.  See the  rc.sendmail(8) man page for the gory details.

> 2.) Most of the configurations files seem pretty normal, but
>     sendmail.cf seems quite obtuse.

Yes.  You should consider 'sendmail.cf' and 'submit.cf' as /compiled
code/ -- you aren't expected to be able to understand them.  What you,
as the admin, should be working on are the `hostname`.mc and
`hostname`.submit.mc files that are processed into sendmail.cf and
submit.cf.  The .mc files contain a load of macros intended for
processing by m4(1) -- generally, they are a lot more humanly-readable
than the resultant .cf files.

Look at /usr/share/sendmail/cf/README for a basic guide to what goes
into a .mc file.  The same information is available from the
sendmail.org website, except with prettier markup.  There's also the
Sendmail Operations Guide in /usr/share/doc/smm/08.sendmailop.  If you
need anything more than that (and you probably will unless you're
already halfway to sendmail guru-hood) then the Bat Book is your best
bet.

> I guess I'm looking for a document that would walk a newbie
> through setting up sendmail on FreeBSD without being too arcane
> or not detailed enough. My experience with some of the other
> Oreilly books leads me to believe they're pretty generic;
> I doubt I'd find information on how to setup sendmail for FreeBSD.

Actually, so long as you skip over all the stuff about how to compile
sendmail, which 'make buildworld' takes care of for you on FreeBSD, and
you absorb the information in rc.sendmail(8) and mailwrapper(8) which
are the FreeBSD specific bits involved in starting up your MTA of choice
on reboot, then all the rest -- how to write a sendmail.mc file etc.
pretty much is just generic on FreeBSD.

	Cheers,

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.                       8 Dane Court Manor
                                                       School Rd
PGP: http://www.infracaninophile.co.uk/pgpkey         Tilmanstone
Tel: +44 1304 617253                                  Kent, CT14 0JL UK

--------------enigD92C347512213EB629237999
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (FreeBSD)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iQCVAwUBQdrMfZr7OpndfbmCAQJiVwP9Fw+j6Fw183piFomeBB3HJofZvRubCnm/
W3pnZSkZL1nySxhZgXvFg+QnBo9MCIzlR3SE9CbtUDhEU/eGO3cLzELtteGr0BwN
O8YQbCK+6FYGQxr7XwfkLt8FgQ/8ihDkTAVxR9cwaNA6bbi0wd7JRDYBure4bwWp
n/Q63MKJsx0=
=BeZ2
-----END PGP SIGNATURE-----

--------------enigD92C347512213EB629237999--



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