Sun Microsystems Logo
Products and Services
 
Support and Training
 
 

Previous Previous     Contents     Index     Next Next

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 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 Previous     Contents     Index     Next Next