Nicolas JEAN:
> Feb 24 15:18:38 my.domain postfix/smtp[4628]: B08949E76C: 
> to=<contact@my.domain>, relay=relay2.com[2.2.2.2]:587, delay=0.76, 
> delays=0.04/0.01/0.38/0.33, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued 
> as 29A7484FC6)
> 
> If I'm correct, the contact@my.domain wasn't modified by any alias (as 
> shown by 'to=<'). But this final email address still doesn't match 
> against the "my.domain :" entry in /etc/postfix/local_transport_map, for 
> some reason.

Well there is your problem.

> And so the email gets relayed to relay2.com from the randmap.
> 
> I'm running short of ideas as to what I'm doing wrong, so any idea is 
> welcome.

Instead of arguing what should be in the file, look at what is
actually in there.

    postmap -s /etc/postfix/local_transport_map

If the above is not conclusive, look for "invisible" text with:

    postmap -s /etc/postfix/local_transport_map | od -cb

        Wietse

Reply via email to