LinuxQuestions.org
Help answer threads with 0 replies.
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-08-2006, 02:26 AM   #1
magobin
LQ Newbie
 
Registered: Mar 2006
Posts: 7

Rep: Reputation: 0
Using Postfix with Ldap


Hi,
after succesfully configured ldap (Fedora DS) now I would install Postfix and use it with ldap....the problem is that at this point I'm a litte bit confuse about Documentation....I have a domain (example.com) and all my mail accounts will use that domain to send mail through the internet...at this point I'm not sure that I have to use virtual_map.

So...for a good configuration about Postfix with ldap....what values I have to use?....at this moment I'm not interesting about smtp_auth..may be in the future...


Thanks in advance

Alex
 
Old 05-08-2006, 03:34 AM   #2
paul_mat
Member
 
Registered: Nov 2004
Location: Townsville, Australia
Distribution: Fedora Core 5, CentOS 4, RHEL 4
Posts: 855

Rep: Reputation: 30
okay well one option would be to use the ldap client on the unix machine to authenticate against ldap

http://www.yourhowto.org/content/view/35/9/

then use ldap aliases with postfix

http://www.yourhowto.org/content/view/18/9/

it's accually writtern for openldap but i'm sure you can use it for Fedora Directory Server.
 
Old 05-08-2006, 04:52 AM   #3
magobin
LQ Newbie
 
Registered: Mar 2006
Posts: 7

Original Poster
Rep: Reputation: 0
thanks...I have seen your howto....ten minutes ago :-)...ok, I already can authenticate linux client against ldap....and this, with ssl....I populate my Fedora DS with ldapimport tool....that import groups passwd and shadow file....I have two question:
1) Is it important to import aliases file in Ldap?...ldapimport can't.....if yes, in which way do I import this file??

2) I saw in your howtos (that in you link and other howto about ldap+postfix+Dovecot+squirremail) some difference about ldap entry in postfix...for example ldapalias_query_filter
In my case I have only one domain and my user will send mail whith that...what have I to use ??

Thanks in advance

Alex
 
Old 05-08-2006, 05:06 AM   #4
paul_mat
Member
 
Registered: Nov 2004
Location: Townsville, Australia
Distribution: Fedora Core 5, CentOS 4, RHEL 4
Posts: 855

Rep: Reputation: 30
as far as i aware you can not import the postfix alias file into a ldap server, i'm guessing thats what you mean by alaises file. I think you'd use tbe same filter, that is just looking for the username to match to the alias and in my case the attribute that openldap users to store it's usernames in is 'uid'
 
  


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 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
postfix/ldap/monit : where does the problem lie topcat Linux - Software 1 11-23-2004 10:28 PM
Adding Postfix And LDAP to SUSE 9.0 Pro ombill Linux - Software 2 08-02-2004 04:39 AM
Using Perdition 1.13-2 with Postfix/LDAP/Courier IMAP topcat Linux - General 1 07-05-2004 02:44 AM

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

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