On Wed, Feb 24, 1999 at 02:00:33PM -0500, Mark E Drummond wrote:

> By putting my top domain in the defaulthost file on my external hub (MX
> for the domain) will that automagically rewrite the _sender_ address on
> outgoing email? Rewriting will not be necesary for 99% of my users but
> there are a few who might be running thier own Unices and need to have
> headers rewitten. Will it affect anything else?

qmail-smtpd does not do any header rewriting. defaulthost only affects mail
injected via qmail-inject. If you want to rewrite SMTP mail, you will have
to install DJB's mes822 package, which comes with ofmipd, which you can use
for rewriting. ofmipd is like and SMTP server, but allows rewriting. You
could run it on say port 26 of the qmail machine and make your netscape
server route all outgoing mail to that port.

> Another question, I want all mail for my domain forwarded to my internal
> hub _except_ for mail directed to the external hub itself. There is a
> mailing list server on the external hub, so mail sent to
> [EMAIL PROTECTED] must be managed locally.
> 
> Now lists.mydomain is an alias for the external hubs real name. But I
> have the following in my smtproutes file:
>       rmc.ca:sol1.rmc.ca
>       .rmc.ca:sol1.rmc.ca

Put lists.mydomain in the control/locals file, and all list mail will be
handled by the qmail mailhub. You don't need to modify smtproutes.

-- 
Anand
System Administrator
Africa Online Ltd
http://www.anand.org

Reply via email to