mirror of
https://github.com/foxcpp/maddy.git
synced 2026-02-10 17:52:54 +02:00
* use <h3> and <hr> elements to separate configuration directives * use <code> elements to mark constants, fs paths, module names etc. * fix unneeded "\_" escaping * fix list formatting
519 B
519 B
Email local part
The module table.email_localpart extracts and unescapes local ("username") part
of the email address.
E.g.
test@example.org=>test"test @ a"@example.org=>test @ a
Mappings for invalid emails are not defined (will be treated as non-existing values).
table.email_localpart { }
table.email_localpart_optional works the same, but returns non-email strings
as is. This can be used if you want to accept both user@example.org and
user somewhere and treat it the same.