I'm trying to figure out how to access the local part and the domain part of an email address in postfix's main.cf.
For example, firstname.lastname@example.org
has myname as the local part and mydomain.net as the domain part. I get the whole email address with %s. I want to speed up the lookups by writing better database queries.
I've had no luck finding this in the otherwise well documented postfix.
Thanks in advance.