Next: , Previous: , Up: Top   [Contents][Index]


4 Configuration Files.

If you have a set of commonly used wyslij-po options, it is convenient to keep them in a configuration file, instead of typing them again each time you invoke the program. Wyslij-po uses the Mailutils concept of configuration files, which is described in detail in Mailutils Configuration File in GNU Mailutils Manual.

There are two possible locations for the wyslij-po configuration. System-wide configuration is kept in the main configuration file (see Main site-wide configuration file in GNU Mailutils Manual), in section program wyslij-po, or in the file named wyslij-po in the configuration include directory, if the include statement is used (see Include Statement in GNU Mailutils Manual). Per-user configuration is kept in file ~/.wyslij-po.

To set default mailer (similar to --mailer option, see mailer), use the mailer statement, See Mailer Statement in GNU Mailutils Manual.

Configuration: compress command

Set command line of the utility used for file compression. For example:

compress "/usr/bin/bzip2 -c";

See gzip, for a detailed discussion of file compression.

See also –compress, for another way to set this value.

Configuration: langtab file

Set the name of the language table file. See Langtab.

Configuration: to email

Set TP robot (recipient) email address. See Sending.

Configuration: cc email

Set emails of carbon copy recipients. Email may contain multiple email addresses, separated by commas:

cc "<tp@localhost>,<bitbucket@remote.tld>";

Notice the use of quote characters.

See also –cc, for another way to set this value.

Configuration: bcc email

Set emails of carbon copy recipients.

See also –bcc, for another way to set this value.

Configuration: fcc folder

Store a copy of the sent message in the specified mail folder. Folder can be any valid mailbox URL (see URL in GNU Mailutils Manual). The following example instructs wyslij-po to keep copies of the messages it sends in a MH folder ‘+po-out’:

fcc "mh:~/Mail/po-out";
Configuration: from email

Set sender e-mail address. See Message, for a detailed description. See also –from, for another way to set this value.

Configuration: from-po bool

Read sender e-mail address from the value of Last-Translator PO header. It is equivalent to specifying the --from (-F) command line option without argument.

Configuration: verify-po-time bool

Controls whether to verify PO modification time before sending the message.

See revision date, for a description of this test.

Configuration: verify-version string

Controls whether to verify package version before sending the message.

See Package version, for a description of this test.

Configuration: tp-url template

Sets template for the textual domain URL. See textual domain url, for a description of its purpose.

Template must be a valid HTTP URL. It must contain at least one occurrence of ${domain}, which will be replaced by the actual name of the textual domain.

Configuration: pot-regex regex

Set the regular expression matching the name of the last POT file for the textual domain. See regular expression, for a detailed description of its purposes.

Regex must be an extended regular expression (see Extended regular expressions in GNU sed) with exactly one parenthesized group.


Next: , Previous: , Up: Top   [Contents][Index]