info > postalias(1)

📛 NAME

postalias - Postfix alias database maintenance

🚀 Quick Reference

Use CaseCommandDescription
Create alias database postalias [file_type:]file_name Build a new alias database from source file
Query a single key postalias -q key [file_type:]file_name Look up and print the first value for a key
Delete a key postalias -d key [file_type:]file_name Remove one entry per map
List all entries postalias -s [file_type:]file_name Dump all key-value pairs in database order
Incremental update postalias -i [file_type:]file_name Read entries from stdin, do not truncate database
Force update existing entries postalias -r [file_type:]file_name Overwrite existing entries without warning

📋 SYNOPSIS

postalias [-Nfinoprsuvw] [-c config_dir] [-d key] [-q key]
        [file_type:]file_name ...

📝 DESCRIPTION

The postalias(1) command creates or queries one or more Postfix alias databases, or updates an existing one. The input and output file formats are expected to be compatible with Sendmail version 8, and are expected to be suitable for the use as NIS alias maps.

If the result files do not exist they will be created with the same group and other read permissions as their source file.

While a database update is in progress, signal delivery is postponed, and an exclusive, advisory, lock is placed on the entire database, in order to avoid surprises in spectator processes.

The format of Postfix alias input files is described in aliases(5).

By default the lookup key is mapped to lowercase to make the lookups case insensitive; as of Postfix 2.3 this case folding happens only with tables whose lookup keys are fixed-case strings such as btree:, dbm: or hash:. With earlier versions, the lookup key is folded even with tables where a lookup field can match both upper and lower case text, such as regexp: and pcre:. This resulted in loss of information with $number substitutions.

⚙️ Options

📁 Arguments

🔍 DIAGNOSTICS

Problems are logged to the standard error stream and to syslogd(8) or postlogd(8). No output means that no problems were detected. Duplicate entries are skipped and are flagged with a warning.

postalias(1) terminates with zero exit status in case of success (including successful postalias -q lookup) and terminates with non-zero exit status in case of failure.

🌐 ENVIRONMENT

⚙️ CONFIGURATION PARAMETERS

The following main.cf parameters are especially relevant to this program. The text below provides only a parameter summary. See postconf(5) for more details including examples.

📜 STANDARDS

RFC 822 (ARPA Internet Text Messages)

📚 SEE ALSO

📖 README FILES

Use postconf readme_directory or postconf html_directory to locate this information.

DATABASE_README, Postfix lookup table overview

📄 LICENSE

The Secure Mailer license must be distributed with this software.

👤 AUTHOR(S)

Wietse Venema
IBM T.J. Watson Research
P.O. Box 704
Yorktown Heights, NY 10598, USA

Wietse Venema
Google, Inc.
111 8th Avenue
New York, NY 10011, USA

postalias(1)
📛 NAME 🚀 Quick Reference 📋 SYNOPSIS 📝 DESCRIPTION
⚙️ Options 📁 Arguments
🔍 DIAGNOSTICS 🌐 ENVIRONMENT ⚙️ CONFIGURATION PARAMETERS 📜 STANDARDS 📚 SEE ALSO 📖 README FILES 📄 LICENSE 👤 AUTHOR(S)

Generated by phpman v4.9.26-1-g511901d Author: Che Dong Under GNU General Public License
2026-08-08 14:20 @216.73.216.150
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 Transitional!Valid CSS!
Enhanced by LLM: deepseek-v4-flash / taotoken.net / www.chedong.com - original format