[Exim] Problem with smtp-Transport

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Michael Prohm
Date:  
À: exim-users
Sujet: [Exim] Problem with smtp-Transport
Hello,

I have a problem with a transport. If I have in one Mail more then one
recipient
which use the same transport, I become the errormessage:
    retry time not reached for any host after a long failure period
But if I send to only one adress, anything ist okay.


With exim -d9 I have detected, that he make a wrong lookup in the transport:
t_relay transport entered
mprohm@???
prohm@???
using the transport's hosts: ${lookup {${local_part}@${domain}} dbm
{/etc/exim/relay.db} {$value} }
search_open: dbm "/etc/exim/relay.db"
search_find: file="/etc/exim/relay.db"
key="@cypostest.de" partial=-1
LRU list:
1/etc/exim/relay.db
End
internal_search_find: file="/etc/exim/relay.db"
type=dbm key="@cypostest.de"
file lookup required for @cypostest.de
in /etc/exim/relay.db
lookup failed

With only one address is all okay:

t_relay transport entered
prohm@???
using the transport's hosts: ${lookup {${local_part}@${domain}} dbm
{/etc/exim/relay.db} {$value} }
search_open: dbm "/etc/exim/relay.db"
search_find: file="/etc/exim/relay.db"
key="prohm@???" partial=-1
LRU list:
1/etc/exim/relay.db
End
internal_search_find: file="/etc/exim/relay.db"
type=dbm key="prohm@???"
file lookup required for prohm@???
in /etc/exim/relay.db
lookup yielded: www.prohm.de
Expanded host list ${lookup {${local_part}@${domain}} dbm
{/etc/exim/relay.db} {$value} } to www.prohm.de


The director:
d_relay:
  driver                = aliasfile
  include_domain        = true
  file                  = /etc/exim/relay.db
  search_type           = dbm
  transport             = t_relay
  expand                = true


The transport:
t_relay:
  driver                = smtp
  hosts                 = "${lookup {${local_part}@${domain}} dbm \
                          {/etc/exim/relay.db} {$value} }"
  gethostbyname         = true




Have somebody a tip for me ?


Thanks.

Best regards,
Michael Prohm