mail_file.cfg

Package: WA2L/edrc 1.5.57
Section: Configuration Files (4)
Updated: 12 April 2013
Index Return to Main Contents

 

NAME

mail_file.cfg - configuration file for mail_file

 

SYNOPSIS

edrc/etc/mail_file.cfg

 

AVAILABILITY

WA2L/edrc

 

DESCRIPTION

This is the configuration file for the mail_file command.

 

FILEFORMAT

The fileformat is OPTION=VALUE

Between the OPTION, the = and the VALUE are no spaces.

Rows starting with a # are considered as comments.

You should not comment out any OPTION If you like to use default settings simply do not specify a VALUE.

 

OPTIONS

DEFAULT_SENDER
Default mail sender if the -f from option is not specified on the command line.

Example: DEFAULT_SENDER=fred.flintstone@acme.ch

Default: DEFAULT_SENDER=smc.base.services@eds.com

MAIL_HUB
Space separated list of hosts to relay the mail sending. The relay is done using a named pipe and not using mail server functionality.

If the local host name is part of the MAIL_HUB list, the mail will be sent locally; else the mail is sent from the first host in the list that is up.

Example: MAIL_HUB="acme001 acme002 acme003"

Default: MAIL_HUB=""

MAIL_HUB_USER
User to connect to the mail hub as root. Other user use the own unix user id and must ensure that no password is prompted on the remote system.

Example: MAIL_HUB_USER=edrc

Default: MAIL_HUB_USER=edrc

MAIL_CLIENT
Mail client to be used. Currently supported clients are sendmail and msmtp.

Example: MAIL_CLIENT=msmtp

Default: MAIL_CLIENT=sendmail

MAIL_CLIENT_OPTS
Additional options for the chosen mail client.

Example: MAIL_CLIENT_OPTS=""

Default: MAIL_CLIENT_OPTS=""

MAIL_SERVER_NAME
Mail server. This setting is relevant only, if MAIL_CLIENT is set to msmtp.

Example: MAIL_SERVER_NAME=exchange.int.acme.ch

Default: MAIL_SERVER_NAME=mail

MAIL_SERVER_PORT
Mailserver port to connect to. This setting is relevant only, if MAIL_CLIENT is set to msmtp.

Example: MAIL_SERVER_PORT=25

Default: MAIL_SERVER_PORT=25

 

SEE ALSO

mail_file(1), msmtp(3), random(3), edrcintro(1)

 

NOTES

-

 

BUGS

-

 

AUTHOR

mail_file.cfg was developed by Christian Walther. Send suggestions and bug reports to wa2l@users.sourceforge.net .

 

COPYRIGHT

Copyright © 2013 Christian Walther

This is free software; see edrc/doc/COPYING for copying conditions. There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


 

Index

NAME
SYNOPSIS
AVAILABILITY
DESCRIPTION
FILEFORMAT
OPTIONS
SEE ALSO
NOTES
BUGS
AUTHOR
COPYRIGHT

This document was created by man2html using the manual pages.
Time: 00:14:12 GMT, March 08, 2025