how to configure squirrelmail to access virtual domains configured under POSTFIX?

I have installed Postfix mail server in CentOS 5.0 and configured virtual users/domains under postfix. with squirrelmail ( the webmail client) i am able to access the mail box for real users i have created under postfix/linux. Dovecot is my POP3/IMAP server. i have created simple text files for virtual users/domains
( i am not using mysql or ldap or postgres or anything for virtual domain/user creation)

now how do i configure squirrelmail to access my virtual users/virtual domains created under postfix?

My software details:
Cent OS version 5.0
Postfix version 2.3.3
Dovecot version 1.0
squirrelmail version 1.4.8
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Hi, gurubaysoft.

Squirrelmail knows nothing about your file system layout, it log's in to your server via IMAP protocol. So, once you are able to login to your user account via IMAP, you are able to log in via squirrelmail.
Read the manual:

Dovecot in it's turn can be configured to access standard mbox files (that uses postfix by default) or maildir. I don't know what is tour configuration. But I assume that you use standard postfix mbox like a /var/mail/virtual/domain/user file.

When you configure Dovecot, use alternative mail location in dovecot.conf:
mail_location = /var/mail/virtual/%d/%n
Read here:
And then configure your virtual user database as described here:
read 'static userdb'
Also configure your password database so, that it would preserve @domain part of the user. Read more here

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Email Protocols

From novice to tech pro — start learning today.