qmail DOES NOT use /etc/hosts.  EVER!  You either have to run DNS or you
have to use /var/qmail/control/smtproutes to provide fake MX records.
'man qmail-remote' for the details.  There are NO other choices.

On Wed, 2 Jun 1999, Lanik, Laurenz (21) 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:07 smiley qmail: 925228567.901397 new msg 8517
> Apr 27 17:56:07 smiley qmail: 925228567.902014 info msg 8517: bytes 213
> from <[EMAIL PROTECTED]> qp 445 uid 0
> Apr 27 17:56:08 smiley qmail: 925228568.114571 starting delivery 2: msg
> 8517 to remote [EMAIL PROTECTED]
> Apr 27 17:56:08 smiley qmail: 925228568.115143 status: local 0/10 remote
> 1/20
> 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)/
> Apr 27 17:56:08 smiley qmail: 925228568.142410 status: local 0/10 remote
> 0/20
> 
> 
> At the moment I dont have DNS, - I just have my /etc/hosts with the
> following content:
> 
> 127.0.0.1               localhost localhost.localdomain
> 172.16.7.1              smiley.mydomain.at smiley
> 172.16.1.2              hercules.mydomain.at hercules
> 
> So what name he couldn't find ? - All names which are involved in this
> transaction are listed. - Help !
> 
> 
> 
> [EMAIL PROTECTED] wrote:
> >
> >mail.isp.at  <-- dial-up -->  smiley.mydomain.at  <-- LAN -->
> >hercules.mydomain.at
> >smiley runs qmail on linux
> >hercules runs MS-Exchange on NT
> >
> >Can anyone tell me what control files I need to setup this scenario ?
> 
> smtproutes:
> 
>     .mydomain.at:hercules.mydomain.at
>     mydomain.at:hercules.mydomain.at
>     :mail.isp.at
> 
> rcpthosts:
> 
>     .mydomain.at
>     mydomain.at
> 
> Should do it.
> 
> -Dave
> 
> 
> 
> Laurenz Lanik
>       IntelliNet EDV Dienstleistungsges.m.b.H.
>       A-1060, Mariahilferstra�e 103
>       Tel.: 595 2388/21, Mobil: 0664/432 5571, Fax: 595 2390
>       E-Mail: [EMAIL PROTECTED]
>       WWW: www.IntelliNet.at/intellinet
> 
> 

---------------------------------
Timothy L. Mayo                         mailto:[EMAIL PROTECTED]
Senior Systems Administrator
localconnect(sm)
http://www.localconnect.net/

The National Business Network Inc.      http://www.nb.net/
One Monroeville Center, Suite 850
Monroeville, PA  15146
(412) 810-8888 Phone
(412) 810-8886 Fax

Reply via email to