this is ubuntu's official doc. https://help.ubuntu.com/community/PostfixDovecotSASL#Installation i also followed this but no help at all. still i can send messages with out authentication.