On Wed, Mar 07, 2001 at 11:07:12PM -0500, Martin Gignac wrote:
> If I have a mail server behind a firewall, I know I can use the SMART_HOST
> feature in Sendmail to send all non-local outgoing mail to a predetermined
> relay somewhere beyond the firewall who will take care of sending mail out
> onto the Internet.
>
> Now in qmail, how do I achieve the same behaviour? Do I need to use the
> 'smtproute' file, or is there a more 'standard' way of doing it?
echo :your.smart.server.name > /var/qmail/control/smtproutes
That's it! All non-local mail will be forwarded to your.smart.server.name. You
don't even have to restart anything.
Chris
PGP signature