NAME

mail - LCFG mail component.

DESCRIPTION

This component configures the sendmail (client only) service.

RESOURCES

aliasfile

The full pathname of the AliasFile parameter for the sendmail.cf file.

daemon

If this option if non-null, then the sendmail daemon will listen on the SMTP port for connections. The run_daemon option must be set for this option to be useful.

daemonportoptions

Normally used by the sendmail.cf template to set the DaemonPortOptions field. The default is to only accept connections from localhost.

local

Normally used by the sendmail.cf template to set the DH field.

masquerade_as

Using the supplied m4 file, this sets the MASQUERADE_AS sendmail macro.

mctmpl

If this resource is present, the sendmail.cf template (smtmpl) is created by first passing this file through sxprof and then m4.

mode

Normally used by the sendmail.cf template to set the delivery_mode (default "background"). Set this to "q" to have mail dumped in the queue rather than being delivered immediately. Useful for portables when talking to SMTP servers that are very slow to respond.

poll

If this option is set, then the sendmail daemon will poll the mail queue at the specified intervals (default "1h"). You probably want to set this to some small value (30s?) when using queued delivery mode. The run_daemon option must be non-null for this option to be useful.

relay

Normally used by the sendmail.cf template to set the DS field.

run_daemon

Set this non-null to run a sendmail daemon. This is required if either the daemon or poll options are set.

smtmpl

The sendmail.cf template. The sendmail.cf file is created by passing this template through sxprof with all mailng resources defined. If this is null, then the sendmail.cf is not changed.

smconfig

Where to put the processed sendmail template file. If this is null, then a warning is logged and no sendmail.cf file is produced.

Dealing with root mail

rootmail

A space separated list of email addresses that root mail should be copied to. This only has an affect if the mail server that actually receives root mail is running the rootredirect script.

cluster

The identifying spanning map cluster that this rootmail belongs to.

SEE ALSO

rootredirect(8)

AUTHORS

Paul Anderson <paul@dcs.ed.ac.uk>
Neil Brown <neilb@inf.ed.ac.uk>