HP-UX Mailing Services Administrator's Guide
Configuring and Administering Sendmail
Modifying the Default Sendmail Configuration File
Chapter 250
Restarting Sendmail
Issue the following commands, on a standalone system or on the mail
server, to restart Sendmail:
•
/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start
You must restart Sendmail if changes are made to any of the following:
• The Sendmail configuration file, /etc/mail/sendmail.cf.
• The UUCP configuration, as reflected in the output of the uuname
command.
Sendmail Configuration Options
This section describes Sendmail configuration options.
Maximum message size (option MaxMessageSize)
This option restricts the maximum message (in bytes) that sendmail will
accept from a remote system. If a message larger that this limit is
originated form the local system, the message will be truncated to the
limit.
To enable this feature uncomment the line:
O MaxMessageSize=100000
Forwarding Nondomain Mail to a Gateway
Mail that is being sent to a domain other than the sender’s domain can
be forwarded to a mail gateway. To have nondomain mail forwarded to a
mail gateway, edit the DS line in the /etc/mail/sendmail.cf file to
specify the host name of the mail gateway:
DSmailgw.hp.com
Setting Mail Header Lengths
You can set a limit for the mail header. The maximum header length by
default is 32768. To change the mail header length:
1. Open the sendmail.cf file.