I don't believe the hosts file will be of any help. There are 2
different ways of resolving names. I don't recall the details, but IIRC
one includes the hosts file and the other doesn't. I expect that chkuser
uses the one that doesn't include hosts, and even if chkuser used the
method that includes the hosts file, it would fail obtaining the MX
record for the domain.
I'm curious to know, Amit, do you have a caching-nameserver on your
host, and do you have "nameserver 127.0.0.1" listed first in your
resolv.conf file?
--
-Eric 'shubes'
Maxwell Smart wrote:
I don't know how large your network is so adding an entry in the hosts
file may not be an option, but if it's not too much trouble that is
certainly a partial solution if domain/ip's that are being accessed
don't change that frequently. It has some limitations, but if it's all
local intranet it won't be an issue.
On 06/25/2010 09:49 AM, Eric Shubert wrote:
Amit,
There's a difference between an immediate error and a bounce. I think
what you have here is a failure to submit (immediate error), not a
bounce. A bounce would be a message that has been successfully
submitted, but failed to be delivered within a certain time period.
This is an interesting dilemma. The first thought that came to my mind
was that if they used MS Outlook, they wouldn't have this problem,
since Outlook has its own mail queue. That's not really a good thing
imo, and don't recommend it as a solution. Outlook is riddled with
other problems I'd rather not get into.
Your real problem here is internet availability. Solve that, and this
problem goes away with it.
You should have a caching nameserver (resolver) on your QMT. If you
don't, install the caching-nameserver package (CentOS) and set your
resolv.conf file accordingly (nameserver 127.0.0.1). This will cache
domain names, so if someone sends to a domain that was looked up
recently, they wouldn't get this error. I expect this might help a
little, but not entirely.
Unfortunately, there doesn't appear to be a way to disable this check
in the tcp.smtp file.
Hey Tonino (the chkuser author sometimes lurks here), am I right on
this? Do you have a suggestion? I was thinking that perhaps chkuser
shouldn't return an error on 4xx conditions, only 5xx conditions. What
yo you think?
If Tonino doesn't see this, you might want to contact him on the
vpopmail users list.
--
-Eric 'shubes'
---------------------------------------------------------------------------------
Qmailtoaster is sponsored by Vickers Consulting Group
(www.vickersconsulting.com)
Vickers Consulting Group offers Qmailtoaster support and installations.
If you need professional help with your setup, contact them today!
---------------------------------------------------------------------------------
Please visit qmailtoaster.com for the latest news, updates, and packages.
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]