Mailing List Archive

forcing remote delivery
I'm in the process of migrating our site from sendmail to qmail. Our
current setup involves approximately 100 client machines that send all
mail to our mailhost for delivery. If the recipient is local to our
domain, then the mailhost performs the local delivery. If the recipient
is outside our domain, the mailhost relays the message to our
mailgateway for delivery.

I'm trying to ensure that mail for machine.ind.tansu.com.au is always
handled by the mailhost rather than the client machine. For example, if
I send mail from grizzly.ind.tansu.com.au to
psamuel@grizzly.ind.tansu.com.au, the qmail system running on grizzly
delivers the mail to my ~/Mailbox which is exactly what I DON'T want as
my home directory is NFS mounted from the mailhost.

I've tried a number of ways to do this and two have worked but I'm not
sure if there is a preferred method.

1) put a blank line into /var/qmail/control/me. This ensures that
the recipients address will never match the local hostname.

2) remove qmail-lspawn from the client and make it a symbolic link
to qmail-rspawn

While I'm on the subject, how do I rewrite the To: header to ensure that
any mail sent to user@machine.ind.tansu.com.au is rewritten as
user@ind.tansu.com.au (our current sendmail setup does this). Do I have
to do this?

--
Regards
Peter
----------
Peter Samuel peter@uniq.com.au
Technical Consultant or at present:
Uniq Professional Services
Peter.Samuel@ind.tansu.com.au
Phone: +61 2 9206 3439 Fax: +61 2 9281 1301
Re: forcing remote delivery [ In reply to ]
I think I've figured out yet another way to force remote delivery. Put
an empty file in /var/qmail/control/locals. How does this stack up
against the other two methods I mentioned previously:

1) put a blank line into /var/qmail/control/me. This ensures that
the recipients address will never match the local hostname.

2) remove qmail-lspawn from the client and make it a symbolic link
to qmail-rspawn

--
Regards
Peter
----------
Peter Samuel peter@uniq.com.au
Technical Consultant or at present:
Uniq Professional Services
Peter.Samuel@ind.tansu.com.au
Phone: +61 2 9206 3439 Fax: +61 2 9281 1301