Saturday, January 29, 2011

postfix mail server setup for 8000 users using active directory

hi , i wanna to setup postfix mail server instead of ms exchange server . we have around 8000 users , and we want to use active directory for users . how many servers do we need ? what kind of strategy we should choose ? how to use ad users in mail server ?

  • Let me ask you this - why are you using MS Exchange?

    If you doing more than just email with Exchange, postfix is not likely a good solution. You need to find a mail solution that is comparable to Exchange - something like "Zimbra":

    http://www.zimbra.com/

    Ansari : tnx , the most important things for me are stability and trust
    Jim B : More importantly if stability and trust why aren't you using exchange?
    Ansari : we used exchange , but with a powerful server we didn't get ours goals
    Rilindo : Exchange isn't just an email server - it is also a collaborative service where people can share calendars, contacts, and tasks. If your users utilize any of these features, they will not be happy when they get migrated over to Postfix and lose them. That is why I suggested Zimbra - its a postfix solution with calendaring + other Exchange-like features. That said, what is your email infrastructure like? A postfix front-end to Exchange may be more appropriate, as it will allow you to load virus-scanning/spam detecting for inbound/outbound msg and reduce load on the Exchange server itself.
    Ansari : yes , tell me how many servers (and their properties)we need to have a optimized exchange server ? and also can you answer this question too ? http://serverfault.com/questions/97347/active-directory-squid-planning-for-a-large-network-with-over-than-7000-users
    Rilindo : There is a slew of technical articles from Microsoft on planning your Exchange architecture. Here is one for Exchange 2007. http://technet.microsoft.com/en-us/library/bb124518(EXCHG.80).aspx HTH.
    From Rilindo
  • it more depends on how many messages/sec will you have to handle rather than number of users. 8k users is not a lot and you can handle such load for typical home users without problems on any modern hardware.

    remember that postfix is MTA - will handle nicely mail routing / sending, but it does not provide access to the local mail store - you'll need something like courier or dovecot for pop3/imap access.

    so if you look for exchange replacement - it'll have two layers [ which can run on one machine.. ]:

    1. mail routing - postfix: messages come here from the content filters; at this level decision is taken to which server mail should be delivered.
    2. mail storage - postfix + courier or similar: messages get delivered here, end-users connect to those servers to check their inboxes.

    and possibly 3rd group of machine for outgoing mails

    at this scale you probably want to make all the levels redundant. at the beginnign you can start with running all of those on two virtualization servers with reasonably fast io subsystem and reasonable amounts of memory [ it all depends on usage pattern - but i would start with 32GB per box, 8x 15krpm disks ].

    such approach should give you quite nice scalability if you might have more users in the future.

    i suggest you do not let postfix query ldap continuously to check if given mail address is valid or not. instead - use batch job that will extract all valid mail address from active directory every few hours and populates local sql database that postfix will query.

    this script can give you idea how to extract addreses from ad.

    Ansari : tnx , instead of postfix , what mail server do you offer me ?
    From pQd
  • Postfix with fedora directory server easy install and config/manage http://studyhat.blogspot.com/2009/10/how-to-setup-fedora-directory-server.html

    From Rajat
  • I am very happy with Atmail Server at the moment. And according to their website they can handle that many users easily (My environment is smaller so I can't tell you if they really scale that well.)

    Ansari : tnx . can answer this question too ? http://serverfault.com/questions/97347/active-directory-squid-planning-for-a-large-network-with-over-than-7000-users

0 comments:

Post a Comment