sympa_newaliases - Man Page

Alias database maintenance

Synopsis

  sympa_newaliases.pl --domain=dom.ain

Description

sympa_newaliases.pl is a program to maintain alias database.

It is typically invoked from Sympa::Aliases::Template module via sympa_newaliases-wrapper, then updates alias database.

Options

sympa_newaliases.pl may run with following options.

--domain=domain

Name of virtual robot on which aliases will be updated.

-h, ā€‰--help

Print this help message.

Configuration Parameters

Following site configuration parameters in /etc/sympa/sympa.conf will be referred. They may be overridden by robot.conf of each virtual robot.

sendmail_aliases

Source text of alias database.

Default value is $SENDMAIL_ALIASES.

aliases_program

System command to update alias database. Possible values are:

makemap

Sendmail makemap utility.

newaliases

newaliases(1) or compatible utility.

postalias

Postfix postalias(1) utility.

postmap

Postfix postmap(1) utility.

Full path

Full path to executable file. File will be invoked with the value of sendmail_aliases as an argument.

Default value is newaliases.

aliases_db_type

Type of alias database. This is meaningful when value of aliases_program parameter is makemap, postalias or postmap.

Possible values will be vary by system commands. For example, postalias and postmap can support any of btree, cdb, dbm, hash and sdbm.

Default value is hash.

Return Value

Returns with exit code 0. If invoked system command failed, returns with its exit code. On other failures, returns with 1.

Files

/etc/sympa/sympa.conf

Sympa site configuration.

$LIBEXECDIR/sympa_newaliases-wrapper

Set UID wrapper for sympa_newaliases.pl.

History

sympa_newaliases.pl appeared on Sympa 6.1.18. It was initially written by IKEDA Soji <ikeda@conversion.co.jp>.

See Also

Sympa::Aliases::Template.

Referenced By

Sympa::Aliases::Template.3Sympa(3), sympa_toc(1).

2023-07-22 sympa 6.2.72