LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 07-18-2010, 08:07 AM   #1
rashid_47010
LQ Newbie
 
Registered: Nov 2004
Location: Saudi Arabia
Distribution: CentOS/Fedora
Posts: 27

Rep: Reputation: 16
Postfix and Active directory


I want to integrate the postfix with active directory that postfix can get the user information from active directory.
 
Old 07-18-2010, 08:50 AM   #2
lsteacke
Member
 
Registered: Jul 2007
Distribution: Ubuntu
Posts: 99

Rep: Reputation: 16
Hey Rashid,
This can be done, but I want to reference you correct information so I guess my question is, to what end? What is your end goal or functionality you are looking to implement?
 
Old 07-19-2010, 12:49 AM   #3
rashid_47010
LQ Newbie
 
Registered: Nov 2004
Location: Saudi Arabia
Distribution: CentOS/Fedora
Posts: 27

Original Poster
Rep: Reputation: 16
I WANT TO CONFIGURE MAIL SERVER IN CENTOS AND INTEGRATE IT WITH THE ACTIVE DIRECTORY SO THAT ITS TAKE THE USERS INFO[Username/Password] from ACTIVE DIRECTORY.

I have two virtual machines one is win2k3 and other is centos 5.3

DOMAIN NAME: xyz.com
WIN2K3 SETUP:
Computer Name: test.xyz.com
ACTIVE DIRECTORY
DNS
entries in DNS
CNAME mail.xyz.com
MX 10 centos.xyz.com

***********************
Centos[Mail Server]
Computer name: centos.xyz.com
IP address: 192.168.xx.6/24
Install and configure the postfix [with SASL], dovecot[SASL],squirrelmail
below is my complete configuration files etc
**************************************************************************************************** ***
/etc/postfix/main.cf
**********************
queue_directory = /var/spool/postfix


command_directory = /usr/sbin

daemon_directory = /usr/libexec/postfix

mail_owner = postfix


myhostname = centos.saudivalves.com
mydomain = saudivalves.com


myorigin = $myhostname
myorigin = $mydomain


inet_interfaces = all
#inet_interfaces = $myhostname
#inet_interfaces = $myhostname, localhost
#inet_interfaces = localhost

mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain

mynetworks = 192.168.12.0/24, 127.0.0.0/8

alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases


home_mailbox = Maildir/

relayhost = $mydomain
sendmail_path = /usr/sbin/sendmail.postfix
newaliases_path = /usr/bin/newaliases.postfix
mailq_path = /usr/bin/mailq.postfix
setgid_group = postdrop
html_directory = no
manpage_directory = /usr/share/man
sample_directory = /usr/share/doc/postfix-2.3.3/samples
readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES

**************************************************************************************************** *****

/etc/dovecot.conf
*******************************

mail_debug = yes

mail_log_prefix = "%Us(%u): "

{ imap_client_workarounds = outlook-idle
}

##
## POP3 specific settings
##

protocol pop3 {
pop3_uidl_format = %08Xu%08Xv
pop3_client_workarounds = outlook-no-nuls oe-ns-eoh
}
dict {
quota = mysql:/etc/dovecot-dict-quota.conf
}
**************************************************************************************************** *****
and I have standard squirrelmail configuration.
*************
 
Old 07-19-2010, 01:25 AM   #4
saifkhan123
Member
 
Registered: Apr 2009
Distribution: Red Hat/CentOS
Posts: 108

Rep: Reputation: 19
This can be achieved using ldap authentication, may be this will help out
http://www.linuxmail.info/postfix-do...ldap-centos-5/
 
Old 07-19-2010, 05:51 AM   #5
pswen
LQ Newbie
 
Registered: Dec 2008
Posts: 27

Rep: Reputation: 0
Quote:
Originally Posted by rashid_47010 View Post
I WANT TO CONFIGURE MAIL SERVER IN CENTOS AND INTEGRATE IT WITH THE ACTIVE DIRECTORY SO THAT ITS TAKE THE USERS INFO[Username/Password] from ACTIVE DIRECTORY.

I have two virtual machines one is win2k3 and other is centos 5.3

DOMAIN NAME: xyz.com
WIN2K3 SETUP:
Computer Name: test.xyz.com
ACTIVE DIRECTORY
DNS
entries in DNS
CNAME mail.xyz.com
MX 10 centos.xyz.com

***********************
Centos[Mail Server]
Computer name: centos.xyz.com
IP address: 192.168.xx.6/24
Install and configure the postfix [with SASL], dovecot[SASL],squirrelmail
below is my complete configuration files etc
**************************************************************************************************** ***
/etc/postfix/main.cf
**********************
queue_directory = /var/spool/postfix


command_directory = /usr/sbin

daemon_directory = /usr/libexec/postfix

mail_owner = postfix


myhostname = centos.saudivalves.com
mydomain = saudivalves.com


myorigin = $myhostname
myorigin = $mydomain


inet_interfaces = all
#inet_interfaces = $myhostname
#inet_interfaces = $myhostname, localhost
#inet_interfaces = localhost

mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain

mynetworks = 192.168.12.0/24, 127.0.0.0/8

alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases


home_mailbox = Maildir/

relayhost = $mydomain
sendmail_path = /usr/sbin/sendmail.postfix
newaliases_path = /usr/bin/newaliases.postfix
mailq_path = /usr/bin/mailq.postfix
setgid_group = postdrop
html_directory = no
manpage_directory = /usr/share/man
sample_directory = /usr/share/doc/postfix-2.3.3/samples
readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES

**************************************************************************************************** *****

/etc/dovecot.conf
*******************************

mail_debug = yes

mail_log_prefix = "%Us(%u): "

{ imap_client_workarounds = outlook-idle
}

##
## POP3 specific settings
##

protocol pop3 {
pop3_uidl_format = %08Xu%08Xv
pop3_client_workarounds = outlook-no-nuls oe-ns-eoh
}
dict {
quota = mysql:/etc/dovecot-dict-quota.conf
}
**************************************************************************************************** *****
and I have standard squirrelmail configuration.
*************
hi ,rashid
are u tested successly?
 
Old 07-19-2010, 09:02 AM   #6
rashid_47010
LQ Newbie
 
Registered: Nov 2004
Location: Saudi Arabia
Distribution: CentOS/Fedora
Posts: 27

Original Poster
Rep: Reputation: 16
no I am just reading your reply
please be in touch.

regards,

rashid
 
Old 07-19-2010, 10:17 AM   #7
rashid_47010
LQ Newbie
 
Registered: Nov 2004
Location: Saudi Arabia
Distribution: CentOS/Fedora
Posts: 27

Original Poster
Rep: Reputation: 16
[root@centos jxplorer-3.2.1]# ./jxplorer.sh
starting JXplorer...
Use "jxstart.sh console" if you want logging to the console

=========================
JXplorer failed to start
=========================
Please ensure that you have appropriate "xhost" access to the machine you are
running this from. Make sure the DISPLAY environment variable is set correctly.
Otherwise, ask your Unix Systems Administrator for more information on running
X Windows applications.

If you require more information run "./jxplorer.sh console" and check the
error produced.


HOW TO GET OUT THIS PROBLEM
 
  


Reply



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
postfix authentication against Active Directory mardanian Slackware 3 07-19-2010 12:55 AM
Username & Password Sync Fedora Directory and Microsoft Active Directory karnac01 Fedora 4 07-19-2010 12:51 AM
Postfix Aliases & Active Directory paul_mat Linux - Networking 0 11-16-2005 11:09 PM
Postfix LDAP lookups with Active Directory paul_mat Linux - Networking 1 11-02-2005 08:44 PM
Postfix, Active Directory Services and Authentication weazy Linux - Software 1 04-28-2003 03:38 PM

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

All times are GMT -5. The time now is 07:17 PM.

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