Re: qmail-send rewriting the envelope?

Charles Cazabon <[email protected]> Tue, 14 May 2019 08:45:17 -0600
Newsgroups gmane.mail.qmail.general
Message-ID <[email protected]>
Brian Reichert <[email protected]> wrote:
> For one of my qmail servers, I'm running binaries based on the sources
> hosted at Untroubled:
> 
>   http://untroubled.org/qmail+patches/FEATURES.html

That's Bruce Guenter's qmail distribution.  Don't worry, Bruce wouldn't do
something as stupid as random rewriting in qmail-send ;)

> The qmail delivery logs show that qmail-send is using a different
> address than what is associated with the message.
[...]
>   [root@away root]# cat /var/qmail/queue/remote/20/60832; echo
>   [email protected]
[...]
>   163.172.47.55_does_not_like_recipient./Remote_host_said:_454_4.7.1_<[email protected]>:_Relay_access_denied/Giving_up_on_163.172.47.55./

You're running into RFC821-mandated behaviour.  lists.ltb-project.org is a
CNAME for mail.ltb-project.org, so senders *have* to rewrite the recipient
address.

So this looks like a misconfiguration at the receiving site.

Charles
-- 
--------------------------------------------------------------------------
Charles Cazabon
GPL'ed software available at:                  http://pyropus.ca/software/
Read http://pyropus.ca/personal/writings/12-steps-to-qmail-list-bliss.html
--------------------------------------------------------------------------