LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 03-10-2011, 04:13 AM   #1
Jenish_uk
LQ Newbie
 
Registered: Oct 2010
Posts: 25

Rep: Reputation: 0
Postfix and Active Directory Integration


Hello there,

I am trying out few stuff with Linux and Windows. I have a 'Postfix' mail server on CentOS 5.5 with 'dovecot' and 'squirrel' (webmail) working fine. I am just wondering, how can I create bulk mailboxes on CentOS 5.5 (for postscript) so that the the users can access their mail from the browser (squirrel mail)?

How can I integrate with Active Directory? I am also looking for techniques to automatically create bulk users (for example 100 users) on Active Directory with a default passwords (or random passwords if possible) that integrate with Postfix.

Would appreciate you help. Many thanks in advance.

Jenish

Last edited by Jenish_uk; 03-10-2011 at 06:10 AM.
 
Old 03-10-2011, 05:32 AM   #2
Noway2
Senior Member
 
Registered: Jul 2007
Distribution: Gentoo
Posts: 2,125

Rep: Reputation: 781Reputation: 781Reputation: 781Reputation: 781Reputation: 781Reputation: 781Reputation: 781
Postfix will support virtual mailboxes using a SQL database for the account information. This will decouple you from having to use Linux accounts for each mail user. I understand that Postfix will accept LDAP authentication. I have never tried it as it goes way beyond my requirements. The book, Postfix the Definitive Guide would be a good resource, as might the Postfix documentation. There are also lots of how-to documents that will show you how to implement the virtual users.
 
Old 03-10-2011, 07:34 AM   #3
jamrock
Member
 
Registered: Jan 2003
Location: Kingston, Jamaica
Posts: 444

Rep: Reputation: 41
Quote:
I am just wondering, how can I create bulk mailboxes on CentOS 5.5 (for postscript) so that the the users can access their mail from the browser (squirrel mail)?
Postfix can use virtual users. These users are stored in a database such as LDAP or MySQL. They are virtual because they do not have actual accounts on the Linux box.
Quote:
How can I integrate with Active Directory?
The directory services in Active Directory (AD) are based on the LDAP protocol. Postfix supports the use of LDAP.


Quote:
I am also looking for techniques to automatically create bulk users (for example 100 users) on Active Directory with a default passwords (or random passwords if possible) that integrate with Postfix.
I have never tried this. It would be best to post this aspect on a Windows Server mailing list.

Most people who integrate Postfix with AD are running a Windows LAN and need a mail server for the LAN. That does not appear to be your configuration. If you need to create large numbers of virtual accounts using a script or import, I would recommend using OpenLDAP or MySQL.

You may find the following documentation useful

http://www.postfix.org/VIRTUAL_READM...irtual_mailbox

http://www.linuxmail.info/postfix-howtos/
 
Old 03-31-2011, 09:09 AM   #4
Jenish_uk
LQ Newbie
 
Registered: Oct 2010
Posts: 25

Original Poster
Rep: Reputation: 0
I have managed to connect to the Active Directory through CentOS 5.5 but running this command '#postmap -q -v bugsbunny@acme.local ldap:/etc/postfix/ldap-users.cf' but it wouldn't find any users from AD. I have followed the instruction from this website. http://www.linuxmail.info/postfix-do...ldap-centos-5/
What's the difference between Postfix Active Directory/LDAP Integration and Dovecot Active Directory/LDAP Integration can I use either?

Many thanks,
Jenish
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Active Directory Integration ajaypulla Linux - Newbie 2 10-26-2010 08:07 AM
Active Directory Integration haverer Linux - Software 4 09-17-2009 07:31 AM
Active Directory Integration TXLXUser Linux - Security 0 05-29-2009 04:46 PM
Active Directory Integration how-to: kebabbert Solaris / OpenSolaris 0 09-14-2008 04:56 PM
Integration of RHEL with Active directory nj123 Linux - Enterprise 1 10-09-2006 08:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 01:12 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration