On Tue, 13 Apr 1999, David Lindes wrote:
> 
> I've got a setup on my ISP's machine using qmail where they are
> hosting several virtualdomains for me, and I am setting up
> mailing lists within some of those domains with ezmlm.
> 
> The problem I'm seeing is that the envelope from header on
> messages going out from ezmlm to me or other people on the same
> ISP are getting re-written (or written in the first place by
> ezmlm, I'm not sure which) such that instead of having
> listname-return-id-user=domain, they have
> listname-return-id-qmaildeliverexpansion=domain
> 
> For example, when sending mail to [EMAIL PROTECTED], which
> [EMAIL PROTECTED] is a subscriber of, instead of having:
> 
> [EMAIL PROTECTED]
> 
> I get:
> 
> [EMAIL PROTECTED]
> 
> Because the virtualdomains entry (in /var/qmail/control) for
> daveltd.com looks like this:
> 
> daveltd.com:lindes-daveltd.d/com/q

You're subscribed as [EMAIL PROTECTED] which is a local address.  It
locally translates to lindes-daveltd.d/com/q-lindes=daveltd.com.  It
seems to me it shouldn't be translating it because translating the
local part without changing the host part to a local host (as opposed
to a virtual host) often makes it an invalid address.

qmail-send is the program that rewrites foo-return-@host-@[] to
foo-return-recip=domain@host.  qmail-send is also the program that
translates the address according to the rules in virtualdomains.

It sounds to me like there's an order of operations error here.

If your address -were- to start bouncing, I don't think ezmlm would know
because the bounce will be coming back with an invalid address embedded
in the envelope.  That doesn't seem right.

After a quick glance at qmail-send.c, it's not immediately obvious how
to change the order of operations.

Cheers,
Vern
-- 
\ \   / __| _ \  \ |   Vern Hart
 \ \ /  _|    / .  |   [EMAIL PROTECTED]
  \_/  ___|_|_\_|\_|

Reply via email to