Koozali.org: home of the SME Server

forward mail to smtp server

Offline Kobus

  • *****
  • 153
  • +0/-0
    • http://www.fullnet.co.uk
forward mail to smtp server
« 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
Kobus............

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: forward mail to smtp server
« Reply #1 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.