On Mon, Nov 8, 2010 at 7:25 PM, Stan Hoeppner <s...@hardwarefreak.com> wrote:
> ahmad riza h nst put forth on 11/8/2010 4:08 AM:
>
>>> You won't have local system accounts.  Just setup Postfix and Dovecot to
>>> query your current mysql domain and user database.  It may take some
>>> tweaking, but what doesn't? ;)
>>>
>>
>> thanks for your reply stan,
>>
>> the problem is we have to use webmin + virtualmin for user interface
>> (control panel), and it seems virtualmin doesn't support postfix
>> virtual user via mysql db, indeed they do it alias with unix system
>> users.
>
> "Have to"?  There are alternatives, such as
> http://www.ispconfig.org/ispconfig-3/
>
> In the absence of Virtualmin support for your mysql user db, how are you
> going to populate the local UNIX user account database on the new
> system?  Does a tool already exist allowing you to do so?  If not, and
> you will have to write such a tool, I suggest you focus your efforts on
> writing a tool/plugin to allow Virtualmin to directly read/write your
> mysql user db.

actually the user isn't there yet, i ask these questions in order what
if in the future our customer emails reach to some thousands users
(like on the other servers), no email  to migrate or to create at this
moment, so at this time i don't need to migrate any user from mysql to
unix system user.
we just need to know/understand any limitations or possible problems
in the future if we choose to go on with this setup.

>
>>> Are you using Dovecot for IMAP and POP or just POP?
>>
>> IMAP and POP.
>>
>>>
>>>> our hardware is hp dl180 g6 (a xeon quad core + raid 1 + 4G ram)
>>>
>>> Ok, that answers one of my previous questions.  This system isn't nearly
>>> strong enough for thousands of users.  You should:
>>>
>>> 1.  Bump the RAM up to at least 8GB
>>> 2.  Install the second matching quad core processor
>>>
>>
>> i understand, but we only use this server for mailboxes only, so there
>> will be no spamassassin or clamav etc on the server, we have separate
>> mail filtering (mx) on another servers.
>
> As you should.  So, can you disable those buttons so your users can't
> access them?  Or will you allow them to press the buttons, but they
> won't really do anything?  The SA config in Virtualmin is per user is it
> not?
>

yes, if spamassassin module disabled then there are no spamassassin
button available.
actually we never use spamassassin on virtualmin before, so i don't
have any ide about that.


>> currently we have another mailbox server (it hp dl 180 g6 too) with
>> qmail and vpopmail, there are about 11 thousands virtual user on the
>> server and it still running well at this time, thats why we think
>> postfix and dovecot can do it with same hardware.
>
> Ahh, then you're ignorant of IMAP processing and communications
> patterns.  The load generated by IMAP clients versus POP clients cat be
> well over 100 fold, especially if the clients are not syncing messages
> locally.  Each click on a mail folder or email generates a packet to the
> IMAP server and a response packet back to the client.  Multiply that by
> 1000 concurrent clients.  The communication pattern is more akin to
> telnet or SSH.  POP is more similar to FTP.  One is constantly
> interactive.  The other creates a burst as is then done.  IMAP generates
> an order of magnitude more load on a server than POP does.  You've
> apparently not heard of body searches on IMAP mailboxes.  Once client
> can tie up an entire server CPU core for 10-20 seconds at a time
> searching an IMAP folder containing 5,000-10,000 messages in it.  This
> is probably the heaviest hitting IMAP feature your users could take
> advantage, although there are others that will suck up server resources.
>  POP has none of these features, so load is directly correlated to the
> number of concurrent logins and new messages in the queue.  There are
> many more performance variables WRT IMAP servers.
>

the users mainly use pop to access their emails.
i understand about what imap can do to the system, we  have another
servers with lots of user (thousands) running qmail vpopmail that just
find to carry that loads and then i think postfix and dovecot can do
it too, thats what i mean.
yes we don't have any experience on postfix dovecot, but i don't think
there are any gap on performance compare to qmail vpopmail, or it is ?


>> i will read this, thanks.
>>
>>> http://wiki2.dovecot.org/LDA
>>> http://wiki2.dovecot.org/LDA/Postfix
>>> http://wiki2.dovecot.org/Pigeonhole/Sieve
>>> http://wiki2.dovecot.org/Pigeonhole/ManageSieve
>
> Join the Dovecot mailing list.  Post what you're requirements are, how
> many users you have, what you plan to do, and what hardware you plan to
> use.  Ask for advice on the mysql userdb issue WRT Virtualmin.  Ask for
> opinions on what hardware you need to host 11,000 IMAP users.
>
> http://www.dovecot.org/mailinglists.html
>
> --
> Stan
>



-- 
http://blog.rizahnst.org

Reply via email to