I've been struggling with Postfix for past few days. Finally I managed to set it up with virtual mailboxes listed in MySQL and passwords encrypted with PAM. It was just then that I realized I need the passwords to be stored not-encrypted!
I can't seem to find whether it's possible or not. Can someone please guide me to the right direction?
To explain myself, I'm making a web application and I want the same username and password of a user to be his email's too. So I configured Postfix and Courier to use my webapp's database so users come with an email address once they have an account in the webapp. The thing is, I need to access users' inboxes in the webapp so I have to be able to pass the clear form of users' password through IMAP protocol to Courier in my code. That's why I need all of the parties to use a clear form of password.