peter green <[EMAIL PROTECTED]> writes:

> I have a client that has been using sendmail and some proprietary management
> interface. He's very comfortable with it, but it isn't the best performer
> for a mass mailer, which he is also doing on the same machine. I have
> installed qmail on there, and he is extremely happy. Except...
> 
> whenever qmail is chugging along and encounters an email address with a
> domain hosted on that machine (by the sendmail configuration) qmail can't
> deliver it. I've tried w/ the domain *not* in locals, virtualdomains,
> rcpthosts, &c. w/ no luck. I tried putting ``domain:[127.0.0.1]'' in
> smtproutes w/ no luck.
> 
> I have temporarily lost access to the server in question, so I don't have a
> good example bounce. I will post again later once I have that info, but I
> wanted to know if anyone had any initial thoughts on what I'm seeing. Seen
> it before? Does it sound wrong, like a misconfiguration on my part?

The problem might be that qmail sees that the MX record for the
domains in question pointing to the IP address of the machine it's
running on, so to prevent mail loops, it refuses to connect to itself.

If this is the problem, the bounce message will say:

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)

If this is what's happening, hack ipme.c so that it doesn't add
anything at all to the list of local IP addresses.  There is no other
way around this problem, besides putting qmail on a different machine
than sendmail.

----ScottG.


Reply via email to