Le 14/08/2010 23:48, Christopher Koeber a écrit :
I am having problems setting up Postfix with LDAP.
I have a valid OpenLDAP database with users that I would like to have
mailboxes.
The problem is that I get this error when I send mail to all users
besides the root/postmaster/etc. mailboxes:
------------------------------------------------------------------------------------------------------------------------------------
#< #5.1.1 X-Postfix; unknown user: "username
<mailto:sbiswas9...@students.wesleyseminary.edu>"> #SMTP#
------------------------------------------------------------------------------------------------------------------------------------
Eash user entry looks like the following:
[snip]
What do I need to fix or change to get this working?
Please show
- the output of 'postconf -n' instead of main.cf (postconf -n tells you
what postfix sees. main.cf may contain typos or may have changed without
postfix reload... etc).
- full log lines. The error you show is incomplete at best (not to say
useless...).
now to the crystall ball:) if the adress you're trying to send mail to
is usern...@mydomain and mydomain is in mydestination, then the list of
valid addresses is specified by local_recipient_maps, which doesn't use
LDAP in your config.
PS. Remove your smtpd_banner setting. the default is good and your is
not (not only it doesn't do what you think, but if it did, it would be
horrible).
(note: I didn't check all your main.cf. so don't assume I "validated"
your other settings. I prefer reading "postconf -n", because it comes in
alpha order...).