I stand corrected. I have tried sending to "[EMAIL PROTECTED]" and the 
address is not rewritten.

BUT here is a cut from the QMAIL FAQ regarding host masquerading.
Am I not doing what the FAQ suggests? I (think I) know what I am doing but 
may be using incorrect terminology.

Sendmail does what I am asking with the same kind of setup I want with 
Qmail. ie send from Eudora as [EMAIL PROTECTED] which is "re-written" to 
"[EMAIL PROTECTED]" when sent.

I did think that Qmail would change the host name on sending externally but 
this does not happen.

Many thanks for the reply.

<quote>

1. Controlling the appearance of outgoing messages

1.1. How do I set up host masquerading? All the users on this host, 
zippy.af.mil, are users on af.mil. When joe sends a message to fred, the 
message should say ``From: [EMAIL PROTECTED]'' and ``To: [EMAIL PROTECTED]'', without 
``zippy'' anywhere.

Answer: echo af.mil /var/qmail/control/defaulthost; chmod 644 
/var/qmail/control/defaulthost.

</quote>

At 15:04 25/10/99 , you wrote:
>Carrott <[EMAIL PROTECTED]> wrote:
>
> >defaulthost is set to my node provided by my ISP. This was tested as per
> >the FAQ on my qmail machine and workes perfectly. ie mail sent is rewritten
> >as [EMAIL PROTECTED] when sent as " echo to: me | qmail-inject".
>
>That's not rewriting; qmail-inject is merely appending defaulthost
>because none was specified.
>
> >If I try to send an email, even a local one, from Eudora, the to: or from:
> >headers are not rewritten.
>
>Eudora inject mail via SMTP, and qmail-smtpd doesn't rewrite headers.
>Eudora should be configured with the proper host/domain.
>
>If you absolutely, positively have to rewrite From headers on the
>server side, look at ofmipd from the mess822 package.
>
>-Dave

Reply via email to