[prev in list] [next in list] [prev in thread] [next in thread]
List: postfix-users
Subject: Re: Warning message for mail either delivered in local or relayed to
From: Wietse Venema <wietse () porcupine ! org>
Date: 2010-01-28 16:57:49
Message-ID: 20100128165749.4629C1F3EA2 () spike ! porcupine ! org
[Download RAW message or body]
Henri:
> Hello,
>
> I have a question about a warning message I regularly get in the log :
> > do not list domain mydomain1 in BOTH virtual_mailbox_domains and
> relay_domains
>
> My configuration :
> transport_maps = ldap:/etc/postfix/mail_routing
> relay_domains = mydomain1
> virtual_mailbox_domains = mydomain1
>
> I do understand why I get this warning message but my situation is
> particular.
>
> I do a mail routing based on a LDAP attribute which I get with
> transport_maps and a ldap lookup table.
>
> Mail for the users with mail adress @mydomain1 could either be delivered in
> local or be relayed to another mail server.
> That is why I declare "mydomain1" both in virtual_mailbox_domains and
> relay_domains
>
> Do you have a better solution in order to not see this warning message
> again?
Don't do this. Postfix MUST know where to look so that it can reject
mail for non-existent recipients.
Instead, list mydomain1 in virtual_mailbox_domains, and list the
valid recipients in either virtual_mailbox_maps (for final delivery),
or virtual_alias_maps (for mailboxes on other servers).
Wietse
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic