>On Tue, 19 Jan 1999, Craig Burley wrote:
>
>> That's helped some.  I've made the specified changes (defining MAILHOST and
>> QMAILINJECT, but not MAILUSER, since I want to leave that be) to the
>> /etc/profile on my system.  It causes the newly sent "From:" addresses
>> to be "[EMAIL PROTECTED]".
>> 
>> However, maildirsmtp still reports "451 Domain must resolve" errors
>> on new messages, so my ISP is still rejecting them.
>
>Now, set QMAILSHOST to fix that.  Errr...  I think it's QMAILSHOST.

Looks like it does work for qmail-inject, but there's some problem
with /var/qmail/bin/sendmail that prevents it working from there
(though Mate has had slightly different results from me pertaining
the defaulthost file -- for him, it gets into the Return-Path, but
it doesn't seem to for me using Emacs).

>Why don't you read the manual page for qmail-inject, and look at all the
>environment variables that are used for rewriting addresses.

I'd already read that man page several times, and probably all of the
others at least once.  That doesn't mean I am anywhere near fully
understanding them, of course.  :)

But, when I thought that Return-Path was the culprit, I simply *searched*
qmail-inject's man page for "Return-Path".  I found several instances,
none of which seemed to apply to my situation.

It hadn't occurred to me to look for the phrase "envelope sender address"
or recognize that (when re-skimming the page) as meaning "Return-Path",
as I haven't memorized all the email terminology yet.

(When I write documentation, I try to make sure I use consistent
terminology, and, wherever possible, stick to terms and phrases
consistent with what a user will see on his screen, so searches
and indexes are more useful.)

Anyway, if I had tried defining QMAILSHOST, it wouldn't have worked for
the case I care about, though it does (nicely) for the simple
qmail-inject case.

        tq vm, (burley)

Reply via email to