See Life with qmail:

    http://www.lifewithqmail.org

    LWQ> G.6. qmail doesn't use /etc/hosts.
    LWQ> ----------------------------------

    LWQ> qmail never uses /etc/hosts to determine the IP address
    LWQ> associated with a host name. If you use names in control
    LWQ> files, qmail must have access to a name server.

    LWQ> It is possible to run qmail on systems without access to a
    LWQ> name server, though. Hosts in control files can be specified
    LWQ> by IP address by enclosing them in square brackets ([]),
    LWQ> e.g.:

    LWQ>     [10.1.2.219]

    LWQ> Actually, the square brackets aren't always necessary--but
    LWQ> it's a good idea to use them anyway.

----ScottG.


Rodrigo Camarao <[EMAIL PROTECTED]> writes:

>       Im having some problem with qmail, messages are returning with this error:
> 
> Hi. This is the qmail-send program at domain.com.br.
> I'm afraid I wasn't able to deliver your message to the following addresses.
> This is a permanent error; I've given up. Sorry it didn't work out.
> 
> <[EMAIL PROTECTED]>:
> Sorry. Although I'm listed as a best-preference MX or A for that host,
> it isn't in my control/locals file, so I don't treat it as local. (#5.4.6)
> 
> when the rctp is [EMAIL PROTECTED] no problem, but when rcpt is
> [EMAIL PROTECTED] (ip number) the mail return with the error
> above...
> 
> my locals and rcpthosts file are like that:
> 
> qmail/locals
> localhost.domain.com.br
> 200.xxx.xxx.xx
> 
> qmail/rcpthosts
> domain.com.br
> server.domain.com.br
> 200.xxx.xxx.xx
> 
> Did i do something wrong? why its nor working? someone could help me?? thanks!!

Reply via email to