"Lanik, Laurenz (21)" <[EMAIL PROTECTED]> wrote:
>
>I configured qmail as you told me. I left out the "mail.isp.at" because
>I want to test it locally.
>I tested it with 
>       "echo To: [EMAIL PROTECTED] | /var/qmail/bin/qmail-inject"
>and got the following lines in /var/qmail/maillog:
>
>Apr 27 17:56:08 smiley qmail: 925228568.141845 delivery 2: deferral:
>Sorry,_I_couldn't_find_any_host_by_that_name._(#4.1.2)/
>
>So what name he couldn't find ? - All names which are involved in this
>transaction are listed [in /etc/hosts]. - Help !
>
>smtproutes:
>
>    .mydomain.at:hercules.mydomain.at
>    mydomain.at:hercules.mydomain.at
>    :mail.isp.at

The name it couldn't find is hercules.mydomain.at. qmail doesn't use
/etc/hosts. It uses DNS and hardcoded IP addresses only. You need to
change your smtproutes to specify the relays by IP address. Say
hercules is 10.10.10.10. Change the entry to:

    mydomain.at:[10.10.10.10]

-Dave

Reply via email to