Welcome Guest ( Log In | Register )

Outline · [ Standard ] · Linear+

 Postfix + LDAP, Share your experience

views
     
TS92grad
post Mar 9 2005, 12:11 AM, updated 21y ago

Getting Started
**
Junior Member
60 posts

Joined: Jan 2003
Our email users list just gets bigger and it is tedious to add to the individual address book the new user's information.

Has anyone implemented a directory solution with the email server? Could you please tell me how does the solution solve the above-mentioned problem?


ipserverOne
post Mar 9 2005, 09:08 AM

Getting Started
Group Icon
VIP
221 posts

Joined: Jan 2003
From: KL

Are you intend to use LDAP as your authentication backend as well? Or the LDAP just for address book purposes?
rootlinux
post Mar 9 2005, 11:59 PM

Enthusiast
*****
Senior Member
898 posts

Joined: Jan 2003
From: ph/sbj/slgr
Maybe you can have a look at the below URL: -

http://www.postfix.org/LDAP_README.html

jlchannel
post Mar 16 2005, 08:59 AM

Getting Started
**
Junior Member
290 posts

Joined: Jan 2003
LDAP is complicated.....


Good Luck!

debiankl
post Mar 16 2005, 10:49 AM

On my way
Group Icon
Elite
577 posts

Joined: Dec 2004
From: Inside the CPU core stack register SP


QUOTE(jlchannel @ Mar 16 2005, 08:59 AM)
LDAP is complicated.....
Good Luck!
*
Depends what you want LDAP to function as address book ... easy and authenication still not difficult. In fact there are lots of reading material on the internet about LDAP there are some of the list that I know....

PostFix LDAP HowTo

Using LDAP

Building Address Book with LDAP

LDAP System adminstration by O'relly good book about LDAP can obtain from MPH bookstore about RM139.00

Hope this helps...

This post has been edited by debiankl: Mar 16 2005, 11:30 AM
TS92grad
post Mar 17 2005, 07:30 PM

Getting Started
**
Junior Member
60 posts

Joined: Jan 2003
Just managed to get the LDAP working that interfaces with the Outlook Express clients.

But then not attempting to use LDAP as the authentication system with Postfix. Still trying to resolve problem using MySQL for the user authentication system, especailly hosting multiple domains.

Anyone kind enough to spend some time in training us how to set up the virtual domains in Postfix? Small reward can be negotiated smile.gif


ihsan
post Mar 19 2005, 07:39 PM

Regular
Group Icon
Elite
1,235 posts

Joined: Jan 2003
From: kuala lipis
QUOTE(92grad @ Mar 17 2005, 07:30 PM)
Anyone kind enough to spend some time in training us how to set up the virtual domains in Postfix?  Small reward can be negotiated smile.gif

i've had decent success with postfixadmin, http://www.high5.net/postfixadmin/.

but it's too complicated for me to manage/deploy. can't get quota nor maildrop to work properly on freebsd. overall it's very good but in the end didn't suit my preference. it's liable to cease workingif you screw your SASL settings or even upgrade it. there was once instance where i did a minor point release upgrade for CyrusSASL and suddenly all authentication failed because in the newer version, it no longer accepts user@mydomain.com as valid username which is the default setting in any database-backed virtual domain setup. hilarity ensues.

in the end, i opted for postfix virtual aliasing and use systems account as mail accounts. simpler setup, less complicated, better security. easier procmail, .forward and built-in filesystem quota. the quota is less flexible (if $HOME is full, user disk access will be locked without notice).

pm me if you need my assistance in setting virtual domains.

This post has been edited by ihsan: Mar 19 2005, 07:51 PM
debiankl
post Mar 19 2005, 11:08 PM

On my way
Group Icon
Elite
577 posts

Joined: Dec 2004
From: Inside the CPU core stack register SP


QUOTE(92grad @ Mar 17 2005, 07:30 PM)
Just managed to get the LDAP working that interfaces with the Outlook Express clients.

But then not attempting to use LDAP as the authentication system with Postfix.  Still trying to resolve problem using MySQL for the user authentication system, especailly hosting multiple domains.

Anyone kind enough to spend some time in training us how to set up the virtual domains in Postfix?  Small reward can be negotiated smile.gif
*
Authors quote

postfix is an excellent MTA by Wietse Venema, and has been my choice for years. I have heard some people say that virtual domains are difficult to set up in postfix, but this is certainly no longer the case. The entire process takes less than 5 minutes, as demonstrated in the steps below. I will assume that your postfix configuration directory is /etc/postfix and your postfix version is around 2.0.14

Found a link could be useful Postfix Virutal Domain

arulthas
post May 11 2005, 04:35 PM

Casual
***
Junior Member
402 posts

Joined: Jan 2003
Hi all,

While the topic discuss about ldap, I have the following question: -

1) I couldn't get to search records in my ldap database
2) However when I try adding existence record it prompts records already exist.

I hope someone can point to a right direction.

Thank you.

Best regards,
Arulthas.
kucau
post May 14 2005, 08:03 PM

Casual
***
Junior Member
459 posts

Joined: Apr 2005
From: Mee Bandung Muor


ermmm. postfix is a nice MTA..but there are not many third party program works easy with it..may i suggest QMAIL.. pretty secure and widely available third party addition..i suggest this site www.qmailrocks.org. have been running qmail for 2 years without much prob, virtual acc with mysql , quota is supported, even implementing clamav and spamassasin is not diff..just my 2 cents
robertngo
post May 17 2005, 03:25 PM

Look at all my stars!!
*******
Senior Member
4,027 posts

Joined: Oct 2004


QUOTE(arulthas @ May 11 2005, 04:35 PM)
Hi all,

While the topic discuss about ldap, I have the following question: -

1) I couldn't get to search records in my ldap database
2) However when I try adding existence record it prompts records already exist.

I hope someone can point to a right direction.

Thank you.

Best regards,
Arulthas.
*
what error message does you get?

u can use slapcat to dump the entire content of the LDAP directory and see whether the record is in there.

 

Change to:
| Lo-Fi Version
0.0127sec    0.58    5 queries    GZIP Disabled
Time is now: 24th December 2025 - 08:55 PM