So I am trying to get my head around how this works in relation to how people can send credentials to authenticate via smtp and send mail. With a typical default set up of postfix and dovecot (with something like http://wiki.dovecot.org/HowTo/PostfixAndDovecotSASL), am I right to understand that this will auth users against /etc/passwd or similar? As such, what is the process or users getting created or is it just done through useradd/adduser? (this would mean that there is no immediate linking of username to email alias, and any forwarding of aliases to a mailbox location would have to somehow be linked to a username successfully).
I also have the issue in that even though I set up a unix account, I am unable to make an SMTP connection to the server and authenticate successfully to send an email (tried via telnet). So what could be a possible limitation there? I know postfix has a concept of a trusted relay node (using the variable "mynetworks"), so the place I am sending from wouldn't need to be in there, right? (otherwise there could almost be no point in doing the auth because "mynetworks" provides you with full relay access).
Sorry if I haven't explained this well but the Postfix/Dovecot documentation is a tad tricky to read.