LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-10-2006, 07:33 AM   #1
magobin
LQ Newbie
 
Registered: Mar 2006
Posts: 7

Rep: Reputation: 0
Postfix with Ldap!


hi at all, I trying to configure Postfix with Ldap(fedora ds), but I have some problem about configuration...I read a lot of doc but there are many parameters and I'm a newbe in Postfix Configuration...my goal is to configure Postfix to send mail from users listed in ldap and maintaining their mailbox in maildir format in a vmail directory!...unfortunately it seems doesn't working....below is my conf about main.cf and virtual.cf

Any help is greatly appreciated!
Alex

*******MAIN.CF*********
queue_directory= /var/spool/postfix
command_directory= /usr/sbin
mail_owner= postfix
myhostname= mail.domain.example.com
mydomain= domain.example.com
myorigin= $mydomain
inet_interface= $myhostname, localhost
mydestination= $myhostname, localhost.$mydomain, localhost, $mydomain
unknown_localrecipient_reject_code= 550
mynetworks_style= subnet
mynetworks=192.168.1.0/24, 127.0.0/8
relay_domains= $mydestination
alias_maps= hash:/etc/aliases
virtual_alias_maps= ldap:/etc/postfix/virtual.cf
virtual_mailbox_base= /
virtual_mailbox_maps= /etc/postfix/vmail
alias_database= hash:/etc/aliases


*********VIRTUAL.CF*********
bind=no
server_host= ldap://ldap1.domain.example.com ldap://ldap2.domain.example.com
search_base= ou=people, dc=domain, dc=example, dc=com
scope= sub
query_filter= (mail=%s)
result_attribute= maildrop
special_result_filter= $s@%d
 
  


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
Using Postfix with Ldap magobin Linux - Software 3 05-08-2006 05:06 AM
Postfix with Ldap : how to vipspark Linux - Enterprise 6 05-17-2005 11:03 PM
Ldap for postfix jkmartha Linux - Software 1 05-14-2005 09:46 PM
Using Perdition 1.13-2 with Postfix/LDAP/Courier IMAP topcat Linux - General 1 07-05-2004 02:44 AM
Cyrus, pam_ldap, ldap postfix installation mayankjohri Linux - Software 0 07-18-2002 06:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:13 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