It sounds like you are wanting to use what some packages call a "smarthost", and relay all of your non-local mail through a particular server.

To use one server as a "smarthost" for all outbound mail, place in smtproutes:

:smarthostip

If you want to relay only specific domains use:

domain.tld:smarthost.ip
domain2.tld:smarthost.ip

If you want to relay specific domains to specific locations use:

domain.tld:smarthost.ip
domain2.tld:smarthost2.ip

If you want to do specific domains to one smarthost, and catchall to another, use:

domain.tld:smarthost.ip
:smarthost2.ip


---
- Nick Bright
  Network Administrator
  Terra World Communications, LLC
  Tel 888-332-1616 x 315
  Fax 620-332-1201


[EMAIL PROTECTED] wrote:
Hi All,

I have a server that is used to authenticated relay and where alsothe local
domains are.

I would like to know if is possible, and how, to do the following:
- a mail is sent to a local domain and it is delivered locally
- a mail is sent to a non-local domain and it is forward to another
machine that will do the relay.

I don't pretend too use this server as a relay to the outside.

Is this configuration possible? Should I use in smtproutes :<ip of other
machine> and it will do the job?

Thanks,
Sérgio Rosa






!DSPAM:489874e332314137136428!

Reply via email to