Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ mailsetup(8) — OSF/1 3.0 αXP

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

sendmail(8)

bindsetup(8)

m4(1)

mail_intro(7)

netsetup(8)

mailsetup(8)  —  Maintenance

NAME

mailsetup − Configures the host’s mail system

SYNOPSIS

/usr/sbin/mailsetup [-f file]

FLAGS

-f fileSpecifies the name of the resulting configuration file. 

DESCRIPTION

The mailsetup command sets up the mail system on your host. You can use this command to do a quick setup where defaults are used or to do a more extensive setup. 

Before you run mailsetup your machine needs a local domain name and it should be established on a local area network (LAN).  If you have not run bindsetup you will be asked for the BIND domain name for your local area network.  For a quick setup, the only additional information you will be asked for is the name of the mail relay you will be using and which users are considered local.  On the more extensive setup you will also be asked for UUCP, DECnet, and UMC configuration information, aliases for your machine, local address formats and other domain information. 

You must run the mailsetup command as superuser and with the system in multiuser mode. 

When you run mailsetup a menu is displayed giving you a choice of responses.  You are then prompted for further information. 

If you do not use the −f flag, before mailsetup exits it asks if you wish to restart your mail with this new configuration.  If you answer no, your configuration file is saved in /var/adm/sendmail/sendmail.cf.tmp and will abort the install.  If you answer yes, your /var/adm/sendmail/sendmail.cf in /var/adm/sendmail/sendmail.cf.orig, if no file by this name exists.  If /var/adm/sendmail/sendmail.cf.orig exists, /var/adm/sendmail/sendmail.cf is moved to /var/adm/sendmail/sendmail.cf.n, where n is the version number (0 to 6 where 0 is the most recent).  The new configuration file is then moved to /var/adm/sendmail/sendmail.cf and sendmail is restarted. 

If you use the -f flag, the configuration file is saved with the file name specified and sendmail is not restarted. 

The mailsetup script produces the following three files in /var/adm/sendmail:

       •sendmail.m4

       •hostname.m4

       •Makefile.cf.hostname

You can fine tune your configuration by modifying the hostname.m4 and issuing a make -f Makefile.cf.hostname command, which produces a hostname.cf file. you can then copy the hostname.cf file to sendmail.cf and restart sendmail using the /sbin/init.d/sendmail restart command. 

FILES

/var/adm/sendmail/sendmail.cf
Specifies the sendmail configuration file. 

/var/adm/sendmail/sendmail.cf.pd
Specifies the mail setup product description for the configuration file.

/var/adm/sendmail/sendmail.cf.{0-6}
Specifies the backup configuration files.

/var/adm/sendmail/sendmail.cf.orig
Specifies the Original configuration file.

/var/adm/sendmail/sendmail.m4
Specifies the configuration file produced by mailsetup. 

/var/adm/sendmail/hostname.m4
Specifies the user configurable file produced by mailsetup. 

/var/adm/sendmail/Makefile.cf.hostname
Specifies the Makefile file produced by ∗Lmailsetup and used to make a hostname.cf file from the sendmail.cf and hostname.m4 files. 

RELATED INFORMATION

sendmail(8), bindsetup(8), m4(1), mail_intro(7), netsetup(8),

Network Configuration

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026