Sun Microsystems, Inc.
spacerspacer
spacer www.sun.com docs.sun.com |
spacer
black dot
 
 
27.  What's New With Mail Services (Reference) Changes to sendmail New Rule Sets  Previous   Contents   Next 
   
 

Changes to Files

Note the following changes.

  • The helpfile is now located in /etc/mail/helpfile. The old name (/etc/mail/sendmail.hf) has a symbolic link that points to the new name.

  • The trusted-users file is now located in /etc/mail/trusted-users. During an upgrade, if the old name (/etc/mail/sendmail.ct) is detected, but not the new name, a hard link from the old name to the new name is created. Otherwise, no change is made. The default content is root.

  • The local-host-names file is now located in /etc/mail/local-host-names. During an upgrade, if the old name (/etc/mail/sendmail.cw) is detected, but not the new name, a hard link from the old name to the new name is created. Otherwise, no change is made. The default content is zero length.

  • The new name for /usr/lib/mail/cf/main-v7sun.mc is /usr/lib/mail/cf/main.mc.

  • The new name for /usr/lib/mail/cf/subsidiary-v7sun.mc is /usr/lib/mail/cf/subsidiary.mc.

IPv6 Addresses in Configuration

In version 8.12 of sendmail, IPv6 addresses that are used in configuration should be prefixed with the IPv6: tag to identify the address properly. If you are not identifying an IPv6 address, a prefix tag is not used.

Changes to mail.local

The following table describes the new command-line options for the mail.local program, which is used by sendmail as a delivery agent for local mail.

Table 27-22 New Command-Line Options for mail.local

Option

Description

-7

Prevents the Local Mail Transfer Protocol (LMTP) mode from advertising 8BITMIME support in the LHLO response

-b

Causes a permanent error instead of a temporary error if a mailbox exceeds its quota

mail.local is the default for LMTP mode. However, for this release, if you choose to use mail.local as the local delivery agent without being in LMTP mode, you need to do one of the following to set the S flag.

Use the following syntax for the configuration file.

MODIFY_MAILER_FLAGS(`LOCAL', `+S')      # for the configuration file

Alternately, perform the following two steps for m4 configuration.

define(`MODIFY_MAILER_FLAGS', `S')dnl   # first step
MAILER(local)dnl                        # second step

Note - MODIFY_MAILER_FLAGS is a new macro that is used to build the configuration file. For details, refer to "New Macros Used to Build the sendmail Configuration File".


For a complete review, refer to the mail.local(1M) man page.

Changes to mailstats

The mailstats program, which provides statistics on mailer usage, is packaged with the sendmail program. The following table describes new options in mailstats.

Table 27-23 New mailstats Options

Option

Description

-C filename

Specifies a sendmail configuration file

-p

Provides clear statistics in a program-readable mode

-P

Also provides clear statistics in a program-readable mode, but this option does not truncate the statistics file

For more information, refer to the mailstats(1) man page.

Changes to makemap

The makemap command creates keyed database files for sendmail. The following table describes new makemap options. When you declare options, use the following syntax.

makemap options class filename

When you use the preceding syntax, remember the following.

  • options are preceded by a dash (for example, -dN).

  • class refers to the type of database (for example, btree, dbm, or hash).

  • filename refers to the full path (or relative name) for the database file.

Table 27-24 New makemap Options

Option

Description

-C

Uses the specified sendmail configuration file for finding the TrustedUser option

-c

Uses the specified hash and btree cache size

-e

Allows an empty value from the right-hand side (RHS)

-l

Lists map types that are supported

-t

Specifies a different delimiter, instead of white space

-u

Dumps (unmaps) the contents of the database to standard output


Note - If makemap is running as root, the ownership of the generated maps is automatically changed to the TrustedUser, as specified in the sendmail configuration file. For more information about the TrustedUser option, refer to Table 27-2.


For more information, refer to the makemap(1M) man page.

New Command, editmap

Use the new maintenance command, editmap, to query and edit single records in keyed database maps for sendmail. From the command line, use the following syntax.

editmap options maptype mapname key "value"
  • options are preceded by a dash (for example, -Nf). The man page provides a list of options and explains how each option functions.

  • maptype refers to the type of database. editmap can use btree, dbm, and hash.

  • mapname refers to the full path (or relative name) for the database file.

  • key refers to a single string or multitoken string that you can use for searches.

  • "value" refers to the string that appears to the right of the key in a keyed database file. In the following example, man is the key and man@example.com is the assigned value for that key.

    man   man@host.com

For a detailed description and a list of options, refer to the editmap(1M) man page.

Other Changes and Features of Interest

The following list describes other changes and features of interest.

  • As noted in RFC 2476, sendmail now listens for submissions on port 587.

  • As was noted in the Release Notes that are part of the sendmail distribution at ftp://ftp.sendmail.org, the XUSR SMTP command is deprecated. Mail user agents should begin using RFC 2476 Message Submission for initial user message submission.

  • The Content-Length: header is no longer provided in messages that are piped to programs with any version of the Sun configuration files. However, this header is still provided for appended messages and ordinary mailbox deliveries that use any version of the Sun configuration files.

  • sendmail now accepts connections when disk space is low, but in such situations it allows only ETRN commands.

  • Entries in the alias file can be continued by putting a backslash directly before the new line.

  • The timeout for sending a message by way of SMTP has been changed to check for delivery progress every five minutes. This change detects an inability to send information more quickly and reduces the number of processes that are waiting to time out.

  • You can now copy the contents of a class to another class by using the syntax of the following example.

    C{Dest} $={Source}

    In the preceding example, all items in class $={Source} are copied into class $={Dest}.

  • The maps are no longer optional by default. Also, if a problem occurs with a map, you receive an error message.

  • Canonification is no longer attempted for any host or domain in class P ($=P).

  • The = equate is not included in an option expansion if no value is associated with the option.

  • Route addresses are stripped. For example, <@a,@b,@c:user@d> is converted to <user@d>.

 
 
 
  Previous   Contents   Next