postal-list(1)
π postal-list(1) β the Postal era π
okay bestie, welcome to postal-list, a lil program from the Postal fam (manual section 1, she's a user command, main character energy fr fr) β¨
β¨ NAME β¨
postal-list β a program that shows you exactly how postal expands user names π«Ά
π SYNOPSIS π
postal-list user-list-filename conversion-filename
like. two filenames. that's it. she's low maintenance π
πΈ DESCRIPTION πΈ
So basically this program shows you the expansion that the postal program does to email addresses. Why do you care?? Two reasons, bestie:
- it lets you make sure your configuration files do what you expect them to do β vibe check your config before it betrays you π
- it can produce a list of user-names for an account creation script, in case you wanna create a million test accounts in a convenient fashion π₯ (yes, a million. we love a productive queen π)
user-list-filename is the name of a file containing a list of users' email addresses. And it's flexible bestie β these can be just user-names, or fully qualified email addresses. Either one, we don't judge π
conversion-filename is the name of a file containing the conversions to apply to email addresses. Every line in that file is either:
- a comment (a line starting with
"#"), or - a line with two parameters βοΈ
Let's break the two parameters down:
- The first parameter is the regular expression. For each email that's to be sent, a randomly selected user-name gets checked against all the regular expressions, and the first match determines which translation gets applied. First come first served, periodt π
- The second parameter on the line is the translation. It'll contain a number of
"."characters specifying characters in the name that are not to be translated. To specify the translations, you can specify a range of characters inside square brackets π¦
For example β and this is the example, not me making stuff up β to have every address starting with "a" have a character from "01234567890abc" as its second character, and a character from "xyz" as its third character, you'd have the following:
^a .[0-9abc][xyz]
look at her go πβ¨
β RETURN CODES β
0β No Error π₯³ slay, it worked1β Bad Parameters π something you passed in was not it
π AUTHOR π
This program, its manual page, and the Debian package were written by Russell Coker <russell@coker.com.au> π«Ά iconic behavior, thank you for your service
π AVAILABILITY π
The source is available from http://doc.coker.com.au/projects/postal/ .
See http://etbe.coker.com.au/category/benchmark for further information π
π¦ SEE ALSO π¦
go read those too, they're the friend group π β¨
okay that's the whole page bestie!! this one's from russell@coker.com.au, version 0.70, and yeah β she's postal-list(1) through and through ππ stay hydrated, check your regexes, and remember: first match wins, no cap β¨π«Ά
π¦ where this page comes from
- debian bookworm: postal 0.76+nmu1
- debian trixie: postal 0.76+nmu2
- ubuntu jammy: postal 0.76+nmu1
- ubuntu noble: postal 0.76+nmu1build2
- ubuntu questing: postal 0.76+nmu2
- ubuntu resolute: postal 0.76+nmu2build1
- ubuntu stonking: postal 0.76+nmu2build1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms