|
Lines 397-403
Link Here
|
| 397 |
the local host name. Place any domains or hosts that |
397 |
the local host name. Place any domains or hosts that |
| 398 |
<application>sendmail</application> is to be receiving mail for. |
398 |
<application>sendmail</application> is to be receiving mail for. |
| 399 |
For example, if this mail server was to accept mail for the |
399 |
For example, if this mail server was to accept mail for the |
| 400 |
domain example.com and the host |
400 |
domain <hostid role="domainname">example.com</hostid> and the host |
| 401 |
<hostid>mail.example.com</hostid>, its |
401 |
<hostid>mail.example.com</hostid>, its |
| 402 |
<filename>local-host-names</filename> might look something like |
402 |
<filename>local-host-names</filename> might look something like |
| 403 |
this:</para> |
403 |
this:</para> |
|
Lines 406-412
Link Here
|
| 406 |
mail.example.com</programlisting> |
406 |
mail.example.com</programlisting> |
| 407 |
|
407 |
|
| 408 |
<para>When this file is updated, &man.sendmail.8; needs to be |
408 |
<para>When this file is updated, &man.sendmail.8; needs to be |
| 409 |
restarted for it to read the changes.</para> |
409 |
restarted to read the changes.</para> |
| 410 |
|
410 |
|
| 411 |
</sect2> |
411 |
</sect2> |
| 412 |
|
412 |
|
|
Lines 416-429
Link Here
|
| 416 |
<para><application>sendmail</application>'s master configuration |
416 |
<para><application>sendmail</application>'s master configuration |
| 417 |
file, <filename>sendmail.cf</filename> controls the overall |
417 |
file, <filename>sendmail.cf</filename> controls the overall |
| 418 |
behavior of <application>sendmail</application>, including everything |
418 |
behavior of <application>sendmail</application>, including everything |
| 419 |
from rewriting e-mail addresses to printing reject messages for |
419 |
from rewriting e-mail addresses to printing rejection messages to |
| 420 |
remote mail servers. Naturally, with such a diverse role, this |
420 |
remote mail servers. Naturally, with such a diverse role, this |
| 421 |
configuration file is quite complex and its details are a bit |
421 |
configuration file is quite complex and its details are a bit |
| 422 |
out of the scope of this section. Fortunately, this file rarely |
422 |
out of the scope of this section. Fortunately, this file rarely |
| 423 |
needs to be changed for standard mail servers.</para> |
423 |
needs to be changed for standard mail servers.</para> |
| 424 |
|
424 |
|
| 425 |
<para>The master <application>sendmail</application> configuration |
425 |
<para>The master <application>sendmail</application> configuration |
| 426 |
file can be built from &man.m4.1; macros that define features |
426 |
file can be built from &man.m4.1; macros that define the features |
| 427 |
and behavior of sendmail. Please see |
427 |
and behavior of sendmail. Please see |
| 428 |
<filename>/usr/src/contrib/sendmail/cf/README</filename> for |
428 |
<filename>/usr/src/contrib/sendmail/cf/README</filename> for |
| 429 |
some of the details.</para> |
429 |
some of the details.</para> |
|
Lines 436-446
Link Here
|
| 436 |
<sect2> |
436 |
<sect2> |
| 437 |
<title><filename>/etc/mail/virtusertable</filename></title> |
437 |
<title><filename>/etc/mail/virtusertable</filename></title> |
| 438 |
|
438 |
|
| 439 |
<para>The <filename>virtualusertable</filename> maps mail for |
439 |
<para>The <filename>virtualusertable</filename> maps mail addresses for |
| 440 |
virtual domains and |
440 |
virtual domains and |
| 441 |
mailboxes to real mailboxes. These mailboxes can be local, |
441 |
mailboxes to real mailboxes. These mailboxes can be local, |
| 442 |
remote, an alias defined in |
442 |
remote, aliases defined in |
| 443 |
<filename>/etc/mail/aliases</filename> or a file.</para> |
443 |
<filename>/etc/mail/aliases</filename> or files.</para> |
| 444 |
|
444 |
|
| 445 |
<example> |
445 |
<example> |
| 446 |
<title>Example Virtual Domain Mail Map</title> |
446 |
<title>Example Virtual Domain Mail Map</title> |