From: fago (no email)
Date: Mon Jan 05 2004 - 17:35:46 EST
Am Mo, den 05.01.2004 schrieb Ralf Hildebrandt um 10:31:
> > local_recipient_maps = ldap:accounts
> > mydestination = bimbo.lan, localhost
> mydestination = $myhostname, localhost
> > myorigin = $myhostname
> That's the default.
yes
> > transport_maps = hash:/etc/postfix/transport
> > virtual_maps = ldap:aliases hash:/etc/aliases
> >
> >
> > i think i had a configuration failur in my ldap look-up. Because i used
> > the same lookup as before for the virtual_mailbox_maps parameter, which
> > retrieved the mailbox attribute.
>
> a) Your virtual_maps must not contain a catchall, otherwise all mail
> will be accepted.
i 've never added a catchall, is this done by adding a mail address i.e.
@bimbo.lan?
> b) What is your domain? I think you have a "real" domain that gets
> mapped to
at the moment i've no real domain. i am just setting up a local config
for testing and learning purposes, so that i can apply it to my
future-real-server ;)
i send my test-mail to addresses in bimbo.lan, so i test with mail
addresses like (exist), (not exist), etc.
> b) local_recipient_maps only list the localpart, and mydestination is
> appended. So this can only work for -- and I guess
> nobody sends mail there...
for now, it should it work here!
> > i think local_recipient_maps needs a list of all my mail adresses, so i
> > changed the look-up to (just for testing without aliases):
> >
> > accounts_server_host = localhost
> > accounts_search_base = o=hosting,dc=lan
> > accounts_query_filter = (objectClass=CourierMailAccount)
> > accounts_result_attribute = mail
> > accounts_cache = yes
> > accounts_bind = yes
> > accounts_bind_dn= ou=Reader,dc=lan
> > accounts_bind_pw= secret
> >
> > but i can't find this lookup in the logs!?? postfix is only looking for
> > my aliases when it delivers a mail.
>
> In which logs do you look?
in syslog, where i can find messages from postfix and slapd.
i've configured slapd to log the searches, so i can see postfix is only
looking for my aliases
> > so i 've tried to set local_recipient_maps to and fago,
> > to allow only this address, but postfix still passed all mail to
> > maildrop :(
> >
> > what is wrong here?
>
> Try without LDAP first.
i tried with
local_recipient_maps =
and
local_recipient_maps = fago
but i really don't know if this makes any sense.
also "local_recipient_maps = hash:/etc/aliases" hasn't changed anything.
perhaps its important that i use the woody postfix package which is
version 1.1.11?
thank you for helping me,
fago
|
|
|