28.06.2014 Views

Postfix Overview - Introduction - SCN Research

Postfix Overview - Introduction - SCN Research

Postfix Overview - Introduction - SCN Research

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

POSTALIAS(1)<br />

POSTALIAS(1)<br />

Page 1 of 3<br />

NAME<br />

postalias - <strong>Postfix</strong> alias database maintenance<br />

SYNOPSIS<br />

postalias [-Ninrvw] [-c config_dir] [-d key] [-q key]<br />

[file_type:]file_name ...<br />

DESCRIPTION<br />

The postalias command creates or queries one or more <strong>Postfix</strong><br />

alias databases, or updates an existing one. The input<br />

and output file formats are expected to be compatible with<br />

Sendmail version 8, and are expected to be suitable for<br />

the use as NIS alias maps.<br />

While a database update is in progress, signal delivery is<br />

postponed, and an exclusive, advisory, lock is placed on<br />

the entire database, in order to avoid surprises in spectator<br />

programs.<br />

Options:<br />

-N Include the terminating null character that terminates<br />

lookup keys and values. By default, <strong>Postfix</strong><br />

does whatever is the default for the host operating<br />

system.<br />

-c config_dir<br />

Read the main.cf configuration file in the named<br />

directory instead of the default configuration<br />

directory.<br />

-d key Search the specified maps for key and remove one<br />

entry per map. The exit status is zero when the<br />

requested information was found.<br />

If a key value of - is specified, the program reads<br />

key values from the standard input stream. The exit<br />

status is zero when at least one of the requested<br />

keys was found.<br />

-i Incremental mode. Read entries from standard input<br />

and do not truncate an existing database. By<br />

default, postalias creates a new database from the<br />

entries in file_name.<br />

-n Don't include the terminating null character that<br />

terminates lookup keys and values. By default,<br />

<strong>Postfix</strong> does whatever is the default for the host<br />

operating system.<br />

-q key Search the specified maps for key and print the<br />

first value found on the standard output stream.<br />

The exit status is zero when the requested information<br />

was found.<br />

If a key value of - is specified, the program reads<br />

key values from the standard input stream and<br />

prints one line of key: value output for each key<br />

that was found. The exit status is zero when at<br />

least one of the requested keys was found.<br />

http://www.porcupine.org/postfix-mirror/postalias.1.html<br />

6/26/01

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!