hi,

you can use sendmail's mailertable feature. make sure you generate your .cf
with this feature on.

a trivial mailertable file looks like this:

# mailertable
domain1         smtp:[smtp1]
domain2         smtp:[smtp2]

you should convert this into a database file using makemap.

hope this helps,
ronald


On Sun, 1 Dec 2002, Ina Patricia Lopez wrote:

> hi!
>  i have a redhat and sendmail. i want to separate smtp traffic to 2
> smtp servers such that if the destination is domain1.com it will go out
> on smtp1  and if its domain2.com it will go out on smtp2.
>
>
>                         |----------------smtp1---
>           internal smtp-+
>                         |----------------smtp2---
>
> pweded ba yun?
>
> thanks,
> ina
>
>
>
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
> http://mailplus.yahoo.com
> _
> Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
> To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]
>
> Fully Searchable Archives With Friendly Web Interface at http://marc.free.net.ph
>
> To subscribe to the Linux Newbies' List: send "subscribe" in the body to 
>[EMAIL PROTECTED]
>


--
[Never be afraid to try something new.
        Remember, amateurs built the ark,
                and professionals built the Titanic.]

_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

Fully Searchable Archives With Friendly Web Interface at http://marc.free.net.ph

To subscribe to the Linux Newbies' List: send "subscribe" in the body to 
[EMAIL PROTECTED]

Reply via email to