18.07.2013 Views

Sidewinder G2 6.1.2 Administration Guide - Glossary of Technical ...

Sidewinder G2 6.1.2 Administration Guide - Glossary of Technical ...

Sidewinder G2 6.1.2 Administration Guide - Glossary of Technical ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 12: Electronic Mail<br />

Editing the mail configuration files<br />

Editing the mail<br />

configuration<br />

files<br />

354<br />

Figure 154: <strong>Sidewinder</strong><br />

<strong>G2</strong> mailertables<br />

Sendmail stores its configuration information in sendmail.cf files. These files<br />

contain information such as which delivery agents to use and how to format<br />

message headers. You should change your configuration options only if you<br />

are directed to do so by Secure Computing, or if you are an experienced<br />

sendmail user and want to customize the files for your site.<br />

Sendmail allows you to create configuration files using macros written for the<br />

m4 preprocessor. Sections 19.5 and 19.6 in the UNIX System <strong>Administration</strong><br />

Handbook describe these macros. You can also refer to the book sendmail by<br />

Bryan Costales (O’Reilly & Associates, Inc.).<br />

You set up two mailertables on the <strong>Sidewinder</strong> <strong>G2</strong>: one internal and one<br />

external. The external mailertable, /etc/mail/mailertable.mta# (# = the number<br />

<strong>of</strong> the external burb), processes the mail and directs it to the internal<br />

mailertable. The internal mailertable, /etc/mail/mailertable.mta#<br />

(# = the number <strong>of</strong> a trusted burb), sorts the mail by host name, and sends the<br />

mail to the correct internal mail host. Figure 8-1 shows an example <strong>of</strong> the route<br />

along which incoming mail messages travel.<br />

Incoming e-mail<br />

charlie@foo.com <strong>Sidewinder</strong> <strong>G2</strong><br />

lucy@sales.foo.com<br />

linus@corp.foo.com<br />

sally@ads.foo.com<br />

<strong>Sidewinder</strong> <strong>G2</strong> external mailertable<br />

(/etc/mail/mailertable.mta#)<br />

foo.com burbmailer-burb:localhost<br />

.foo.com burbmailer-burb:localhost<br />

Message destination<br />

corphub<br />

linus@corp.foo.com<br />

foohub<br />

sally@ads.foo.com<br />

charlie@foo.com<br />

saleshub<br />

lucy@sales.foo.com<br />

<strong>Sidewinder</strong> <strong>G2</strong> internal mailertable<br />

(/etc/mail/mailertable.mta#)<br />

foo.com smtp:foohub<br />

.foo.com smtp:foohub<br />

corp.foo.com smtp:corphub<br />

sales.foo.com smtp:saleshub<br />

The <strong>Sidewinder</strong> <strong>G2</strong> provides several different editors that you can use when<br />

manually editing your mail files. The easiest method <strong>of</strong> modifying these files is<br />

using the Admin Console. You may also use vi, emacs, or pico if you prefer.<br />

To edit the mail configuration files using the Admin Console, follow these steps:<br />

Caution: Only experienced administrators should modify sendmail configuration<br />

files.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!