Carlos Williams wrote:
I am starting a new mail server for the company (CentOS 5.3 + Postfix)
and was wondering what the best recommendation for user mailboxes are?
I was once told by someone here that we should create a MySQL database
/ user structure on the mail server so each user is virtual or listed
in MySQL
rather than an actual user on the server itself and having their own
home directory. I have always used the useradd command in Linux to
create a new Postfix home directory for a user and it really has been
fine for me since I am not that experienced with Postfix but would
like to know if it is preferred to do a MySQL user base, then perhaps
learn how something like that is possible. I don't want to obviously
if it is so complex to the point it frustrates me and there is no real
basic advantage. Right now I guess I could say having Maildir/ style
home directories has worked this long so why bother changing but
sometimes ignorance is bliss...
Thanks for any help - advice - recommendations and if anyone knows of
a company who supports RHEL / CentOS + Postfix, I would be interested
to hear.
Use whichever works best for you.
- Virtual users stored in MySQL makes for easier management if
you have a large number of users, or if users change
frequently. This is a more complex solution, but is more
flexible and capable of handling a huge number of users.
This also makes it possible to expand to multiple servers if
necessary.
- Local users makes for simple, easy setup. But doesn't scale
as well. I would limit this to 1000 or so users, but that's
just an opinion.
You get to pick which fits your needs best.
-- Noel Jones