From: fago (no email)
Date: Sun Jan 04 2004 - 16:37:33 EST
Am So, den 04.01.2004 schrieb Ralf Hildebrandt um 00:46:
> * fago <>:
>
> > OK i've removed the virtual_* stuff from my config. But the behaviour is
> > still the same, all mail is passed to maildrop :(
>
> Good, but now everything is easier to read.
fine :)
> > alias_database = hash:/etc/aliases
> > alias_maps = hash:/etc/aliases
>
> you don't use these, since all goes to maildrop...
> > biff = no
> you don't need this, since local isn't used anyway.
> > local_recipient_maps = ldap:accounts
> OK, what's in here?
> > relayhost =
> That's the default. No need to set it then.
OK
> > virtual_maps = ldap:aliases hash:/etc/aliases
> I'm not sure about this. What does it do?
it's like the alias_maps parameter, it looks for my mail aliases.
(at least i think it does ;) the aliases are looked up correctly.
> > is local_recipient_maps used without using the local delivery agent?
>
> Of course.
fine.
first my updated configuration:
append_dot_mydomain = no
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/lib/postfix
local_recipient_maps = ldap:accounts
mydestination = bimbo.lan, localhost
myhostname = bimbo.lan
mynetworks = 127.0.0.0/8
myorigin = $myhostname
notify_classes = resource, software
program_directory = /usr/lib/postfix
setgid_group = postdrop
smtpd_banner = $myhostname ESMTP $mail_name (Linux/GNU)
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.
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.
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?
fago
|
|
|