OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: Some errors.

From: Ralf Hildebrandt (Ralf.Hildebrandtcharite.de)
Date: Thu May 01 2003 - 09:17:28 CDT


* stakys <stakyspunktas.lt>:

> The thing is that in /usr/local/etc/postfix/transport all the lines are with
> #

Is /usr/local/etc/postfix/ really the configuration directory for
your Postfix? Usually it's /etc/postfix! Check with
   
   postconf config_directory

> and the file accounts in /usr/local/etc/postfix/ i couldn't find.

Please check LDAP_README to see how LDAP lookups are configured.

From the example section of that file:

ALIASES
-------

Here's a basic example for using LDAP to look up aliases. Assume that in
main.cf, you have these configuration parameters defined:

alias_maps = hash:/etc/aliases, ldap:ldapsource
ldapsource_server_host = ldap.my.com
ldapsource_search_base = dc=my, dc=com

Upon receiving mail for a local address "ldapuser" that isn't found in
the /etc/aliases database, Postfix will search the LDAP server listening
at port 389 on ldap.my.com. It will bind anonymously, search for any
directory entries whose mailacceptinggeneralid attribute is "ldapuser",
read the "maildrop" attributes of those found, and build a list of their
maildrops, which will be treated as RFC822 addresses to which the
message will be delivered.

--
Ralf Hildebrandt Ralf.Hildebrandtcharite.de
my current spamtrap partmaps040102charite.de
http://www.arschkrebs.de/postfix/ Tel. +49 (0)30-450 570-155
When machines and computers, profit motives and property rights are
considered more important than people; the giant triplets of racism,
militarism, and economic exploitation are incapable of being
conquered. -- Martin Luther King