How to correct Dovecot user login to use full domain email in this format "[email protected]" [duplicate]

all what i had to do was edit 10-auth.conf and uncomment auth_username_format and add %n.. That fixed my issue..

auth_username_format = %n