cvm-qmail(8)
π cvm-qmail β the qmail configuration lookup module π
okay so this is cvm-qmail, page 8 of the System Manager's Manual, and she's a lil lookup module bestie. no cap, that's the whole job. let's get into it π¦
β¨ SYNOPSIS β¨
cvm-qmail
that's it. that's the whole synopsis. iconic behavior honestly π
π CREDENTIALS π
none. literally none. she's just a lookup module doing her lil lookup thing, she doesn't need privileges, she's not that kind of girl π
πΈ DESCRIPTION πΈ
okay so here's the tea β β this module reads the standard qmail configuration files to figure out if an address is valid, and it does it using the exact same lookups qmail itself would do. same energy, same answers, no surprises fr fr.
here's the order of operations, bestie, pay attention:
- first she checks
control/locals, thencontrol/virtualdomainsβ this tells her whether the domain is even valid, and also gives her the prefix she needs to slap onto virtual domain usernames. - then she looks up the resulting username in
users/cdbto find the correct home directory. and if that CDB file doesn't exist? she falls back to the system password table instead. flexible queen π - and if the address would need a
.qmail-somethingfile? she makes sure that file actually exists, doing-defaultchecks as necessary. no missing-file shenanigans allowed π
βοΈ CONFIGURATION VARIABLES βοΈ
these are the environment variables she reads, and they're all optional, so don't stress π«Ά
CVM_QMAIL_MISSINGDOMAIN(optional) β if you set this and the domain name is not a local or virtual qmail domain, then this domain name gets substituted in and the lookup succeeds anyway. this is for those setups where domains listed incontrol/rcpthostsandcontrol/morercpthosts.cdb(you know, the ones the SMTP receiver happily accepts) are not listed as local or virtual domains. and if you set it to an empty value, she substitutes"localhost"instead. cute πCVM_QMAIL_MISSINGUSER(optional) β when missing domain substitution is happening, the value of this variable replaces the username. β οΈ heads up: the value must exist as a valid system user, fr. it defaults to"alias", which will normally exist on all qmail systems. so like, usually you're fine πQMAIL_ROOT(optional) β the root directory where all the qmail configuration files are expected to live. defaults to"/var/qmail", which is the normal qmail install path. the standard, the classic, the moment β¨
π SEE ALSO π
go read these too, they're all part of the family:
cvm-pwfile(8)cvm-unix(8)cvm-sql(8)cvm-vmailmgr(8)cvm-benchclient(8)cvm-checkpassword(8)cvm-testclient(8)
and the website, if you wanna vibe:
http://untroubled.org/cvm/cvm.html
bestie reminder: keep the .qmail- files real and the system users valid, or she will simply not find what you're looking for π
okay and that's the whole page!! the footer at the bottom just says cvm-qmail(8) again β that's it, that's the sign-off, she said her own name and dipped. main character energy, periodt π
πβ¨
π¦ where this page comes from
- debian bookworm: cvm 0.97-3 Β· GPL-2.0-or-later
- ubuntu jammy: cvm 0.97-2 Β· GPL-2.0-or-later
- ubuntu noble: cvm 0.97-3.1build1 Β· GPL-2.0-or-later
- ubuntu questing: cvm 0.97-4
- ubuntu resolute: cvm 0.97-4build1 Β· GPL-2.0-or-later
- ubuntu stonking: cvm 0.97-4build1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms