Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: Kobus on December 29, 2005, 03:21:03 PM

Title: forward mail to smtp server
Post by: Kobus on December 29, 2005, 03:21:03 PM
Hi all

In sendmail there is an option called mailertable. In mailertable you can use something like this

friendsdomain.com      smtp:[mx1.friendsdomain.com]

to forward mail for a specific domain to another smtp server. Is there a similar feature in qmail?

I have tried looking but was unable to find anything.

Thanks Kobus
Title: Re: forward mail to smtp server
Post by: CharlieBrady on December 30, 2005, 09:18:43 PM
Quote from: "kbensch"

... to forward mail for a specific domain to another smtp server. Is there a similar feature in qmail?


Yes, qmail uses an smtproutes file. See Life with Qmail to get the big picture on how qmail routes mail.

Quote

I have tried looking but was unable to find anything.


SME server makes two uses of smtproutes. See "Delegate mail server" to direct mail for local domains to a specific mail server inside your network. You can also direct all non-local mail to a specific external mail server (SMTP SmartHost) - usually your ISP's mail server.