I have a Centos 5 mail server setup with postfix and dovecot (+ postfix admin). Dovecot autentification is trough mysql database (which is updated with postfix admin). Passwords are stored in md5.
Now my smtp server is closed relay, I want to open it for mailboxes/users I've created trough postfix admin. They should input the same username/password I've created with postfix admin to be able to send email trough my smtp server.
Where should I start?
Let me know in the comments what info you need and I'll provide it.
you can easily integrate postfix with dovecot sasl, and interface dovecot with MySQL. Have a look at: http://wiki2.dovecot.org/HowTo/PostfixAndDovecotSASL and http://workaround.org/ispmail
I successfully use postfix+dovecot sasl with password file authentication:
dovecot cfg:
part of postfix cfg: