a week ago a friend of mine asked me to help him (read: side income ;)) to reconfigure his mail server to support smtp authentication.
so, for the past 3 days I've been trying to reconfigure the above combination but with no success especially to make postfix + sasl to use openldap for authentication. but after a lotttttt of googling, countless try an errors, few mugs of nescafe tarik etc... I've finally managed to resolve the issue :)
here is the configurations:
[root@mail ~]# uname -a FreeBSDmail.domain.com.my 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 10:40:27 UTC 2007 email@example.com:/usr/obj/usr/src/sys/GENERIC i386
recompile postfix with these options:
[root@mail ~]# cat /var/db/ports/postfix/options # This file is auto-generated by 'make config'. # No user-servicable parts inside! # Options for postfix-2.5.1_2,1 _OPTIONS_READ=postfix-2.5.1_2,1 WITH_SASL2=true WITH_TLS=true WITH_OPENLDAP=true