 |
» |
|
|
 |
|  |  |
The HP-UX 11.0 Extension Pack contains a new version of sendmail
(version 8.8.6) that provides a group of rulesets to obstruct mail
"spamming" (the sending of unsolicited mail to
large numbers of users) and to prevent mail "spammers"
from using your host as a mail relay. sendmail 8.8.6 provides four named rulesets
(in the sendmail.cf file) to check and reject
unsolicited mail messages: Other New sendmail Features |  |
The following new configuration options are provided in the
sendmail.cf file.
They must be enabled explicitly to be used. Enhancements have been made to the following existing Flags/options: Following are the new command line options: Miscellaneous Options: Changes to the sendmail Configuration
File |  |
Customers currently using sendmail version
8.7.5 or later (shipped with HP-UX 10.30 and later) and who do not
want to take advantage of the new features provided by version 8.8.6
can use the existing sendmail.cf configuration
file, which is still compatible with sendmail
8.8.6. However customers are urged to use /usr/newconfig/etc/mail/sendmail.cf
as the base with any required site-specific modifications. /usr/newconfig/etc/mail/sendmail.cf
contains documentation on how to make site-specific changes. The functionality of the DL macro found in version 8.7 sendmail.cf
file has changed in this new version: In version 8.7, if the DL macro was
specified, all mail messages for its specified domain were delivered
directly, rather than through the relay host specified in DS. As of version 8.8.6, the DL macro is used to specify
the address to which mail messages to unknown users are forwarded.
In version 8.7, if the DL macro was
specified, all mail messages for its specified domain were delivered
directly, rather than through the relay host specified in DS.
The old functionality of the DL macro is retained in sendmail.cf
through the use of the Dm macro. Even if Dm is not explicitly specified
in sendmail.cf, it derives its value from the
$j macro. Thus, sendmail 8.8.6 behaves as follows,
by default: If DS is set, sendmail
forwards all mail messages to the value of DS (that is, smart host). If the user wants sendmail to
deliver directly all messages destined for hosts in the local domain
(as defined by the value of the Dm macro) and to forward external
mail messages to the smart host, the user should uncomment the following
rule in ruleset 0:
# See if we are supposed to deliver to hosts in the local domain #R$* < @ $* > $* $: $>check_local <$m> $1 < @ $2 > $3 Local Domain? |
Also, the user should ensure that $m is defined. This can
be done by executing the following command: This should display the value of the local domain. If it is
not set, it must be specified in the sendmail.cf
file. For example, if your local domain is india.hp.com,
in the sendmail.cf file you
would define $m as Dmindia.hp.com. Effects on Use of OpenMail |  |
People using OpenMail will be affected due to a change in
the default end-of-string for all SMTP commands in sendmail 8.8.6.
Whereas the default end-of-string for the previous version of sendmail
was \n, all delivery
agents that communicate SMTP in sendmail 8.8.6
now have \r\n
for their default end-of-string. To ensure that sendmail-8.8.6
operates properly with OpenMail, make sure the mailer definition
for OpenMail in sendmail.cf denotes E=\n,
as follows: Mopenmail, P=/opt/openmail/bin/unix.in, F=DFLMXmnu, E=\n, S=15, R=25, A=unix.in |
Performance and Size Impacts |  |
The 8.8.6 version of sendmail does not
visibly change the system's performance, nor does it require
additional space. Further Information |  |
sendmail administrators may find the book
sendmail useful. It is by Bryan Costales
with Eric Allman, published by O'Reilly and Associates,
Inc. The second edition deals with version 8.7.
|