For each rule, you must filled a screen composed of theses fields.
You can deactivate one rule without erasing it. You must regenerate
the sendmail.cf
file and restart Sendmail (Linuxconf will
tell you to do so anyway).
The to field contain the original email destination including the full domain name.
It is possible to redirect a full domain by only entering the domain name with the @ character as a prefix (@domain.com). While redirecting a domain is normally done with the special domain routing facility of linuxconf, using complex user routing allow you to redirect a complete domain to a single user account into another domain: Handy!
You must enter the new email destination. If you wish to redirect the email to another local user, you can simply enter the user account without domain.
This looks like a simple aliases (see "Setting user aliases"
. While
it is not a replacement for it, it is more general. For large
user base, the normal user aliases is more efficient as it uses a
database. The complex user routing should be used to handle exceptions
which can't be solved by normal user aliases. For example, normal
user aliases can't solved this.
Normally Sendmail will find the proper server based on the Rewritten to field. Sometime, you may want to impose a server. You just write the fully qualified name here.
If you specify a server, you must specify the protocol to use. Normally esmtp should be used. You can also select uucp-dom when forwarding email through a uucp gateway. This is one case where you will always specify a destination server.
This is a free form comment. You write whatever you want here.
Previous Chapter
Table of contents of this chapter, General table of contents
Top of the document, Beginning of this Chapter