postfix-users October 2010 archive
Main Archive Page > Month Archives  > postfix-users archives
postfix-users: Re: Set relay_domains LDAP.

Re: Set relay_domains LDAP.

From: Victor Duchovni <Victor.Duchovni_at_nospam>
Date: Mon Oct 25 2010 - 18:48:54 GMT

On Mon, Oct 25, 2010 at 04:43:15PM -0200, Lauro Costa G. Borges wrote:

> I'm using Postfix 2.7.0 and Dovecot 1.2.9.
> I don't understand why this machine (imap) is trying to send warning
> emails as if the recipient was local.
> If I set relay_domains to "", it works ok, I can send
> email to * (or any other domain), from imap.
> If I set relay_domains to ldap:/etc/postfix/, it does
> not work, ...

Classic user error #1.

DO NOT ignore the lookup key and return the list of relay domains.

DO lookup the requested domain, and return a non-empty result IF AND ONLY IF
the domain is a relay domain.

-- Viktor.