Skip to Main Content
Linux Server Security, Second Edition
book

Linux Server Security, Second Edition

by Michael D. Bauer
January 2005
Intermediate to advanced content levelIntermediate to advanced
544 pages
23h 44m
English
O'Reilly Media, Inc.
Content preview from Linux Server Security, Second Edition
This is the Title of the Book, eMatter Edition
Copyright © 2007 O’Reilly & Associates, Inc. All rights reserved.
288
|
Chapter 9: Securing Internet Email
bound email, and it can be pointed to by our domain’s “MX” DNS record (i.e., it can
be advertised to the outside world as a mail server for email addressed to our
domain). Pretty good return on the investment of about 10 minutes of typing, no?
This may be enough to get Postfix working, but it probably isn’t
enough to secure it fully. Don’t stop reading yet!
Succinct though the seven-step method is, it may not be enough to get Postfix to do
what needs to be done for your network. Even if it is, it behooves you to dig a little
deeper: ignorance nearly always leads to bad security. Let’s take a closer look at what
we just did and then move on to some Postfix tricks.
Conguring Postx
Like Sendmail, Postfix uses a .cf text file as its primary configuration file (logically
enough, it’s called main.cf). However, .cf files in Postfix use a simple
parame-
ter=$value
syntax. What’s more, these files are extremely well commented and use
highly descriptive variable names. If your email needs are simple enough, it’s possi-
ble for you to figure out much of what you need to know by editing main.cf and
reading its comments as you go.
You may wonder why, in our little seven-step procedure, so little information needed
to be entered in main.cf. The only thing we
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Linux: Powerful Server Administration

Linux: Powerful Server Administration

Uday Sawant, Oliver Pelz, Jonathan Hobson, William Leemans
Linux Server Hacks

Linux Server Hacks

Rob Flickenger
Linux Server Hacks, Volume Two

Linux Server Hacks, Volume Two

William von Hagen, Brian K. Jones

Publisher Resources

ISBN: 0596006705Supplemental ContentCatalog PageErrata