[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mail delivered to wrong Virtual Domain



Ron Gage <ron@xxxxxxxxxxx> wrote:
> Quoting Charles Cazabon <qmail@xxxxxxxxxxxxxxxxxxxx>:
> 
> >>Any mail sent to ron@xxxxxxxxxxx gets delivered to ron@xxxxxxxxxxxx
> >>
> >>What am I doing wrong?
> >[...]
> >>locals:
> >>Messages for host-l1.mi-connect.com are delivered locally.
> >[...]
> >>virtualdomains:
> >>Virtual domain: test1.local:test1.local
> >>Virtual domain: test2.local:test2.local
> >
> >Nothing looks wrong here.  There's a few possibilities, though.  Send a
> >message to the test2.local domain and show us the complete qmail-send 
> >logs for
> >that message (everything from the "new msg" line, the deliveries, etc, to 
> >the
> >"end msg" line for that message).
> 
> Here is the log snippet..

Okay.

> Sep  8 13:26:49 host-l1 qmail: 1126200409.504913 starting delivery 4: msg
> 65598 to local test1.local-ron@xxxxxxxxxxx

There's the problem.  The envelope recipient address is being rewritten.  I'm
betting it's a DNS problem on your end, and that "test2.local" is a CNAME for
test1.local.  If that's the case, this domain-rewriting behaviour is
/required/.  You cannot therefore use CNAMEs in mail envelope addresses this
way.

Charles
-- 
--------------------------------------------------------------------------
Charles Cazabon                               <qmail@xxxxxxxxxxxxxxxxxxxx>
Read http://pyropus.ca/personal/writings/12-steps-to-qmail-list-bliss.html
My services include qmail consulting.  See http://pyropus.ca/ for details.
--------------------------------------------------------------------------