On Fri, Oct 30, 2020 at 09:53:59AM +0100, Luca Fornasari wrote:

> On Fri, Oct 30, 2020 at 9:50 AM Pierre Couderc <pie...@couderc.eu> wrote:
> >
> > postmap -q "yahoo.fr" pgsql:/etc/postfix/sql/transport_map.cf
> > yahoo.fr,relay:[mx-eu.mail.am0.yahoodns.net]
> 
> In the SQL table substitute relay with smtp ...

NO.  The "relay" part is not ideal, but largely harmless.
The real problem is that the lookup returns:

    yahoo.fr,relay:[mx-eu.mail.am0.yahoodns.net]

instead of the correct:

    relay:[mx-eu.mail.am0.yahoodns.net]

There is no "yahoo.fr,relay" transport in master.cf.  The problem is
with the query format or data in the Postgres transport table.

-- 
    Viktor.

Reply via email to