[Exim] choose interface

Page principale
Supprimer ce message
Répondre à ce message
Auteur: voodoo
Date:  
À: exim-users
Sujet: [Exim] choose interface
Hi All
how can i choose another intarface in transport section for letter which
bounce remote smtp?
I was did:

from configure file
router
...
dnslookup_next:
driver = dnslookup
condition = ${if def:header_X-ok {yes}{no}}
transport = remote_smtp_next
ignore_target_hosts = 0.0.0.0 : 127.0.0.0/8

dnslookup:
driver = dnslookup
headers_add = X-ok: delivery
transport = remote_smtp
ignore_target_hosts = 0.0.0.0 : 127.0.0.0/8

begin transports
remote_smtp:
driver = smtp
interface = A.A.A.A

remote_smtp_next:
driver = smtp
interface = B.B.B.B

....
from log file only find message
SMTP error from remote mailer: 450 Client host rejected: cannot find your
hostname
and after that mail was dropped

when i recieve letter from this server, i see header X-ok
but it does not work such it must =((

Thanks All