[Geir H�gberg <[EMAIL PROTECTED]>:]
> All my clients have configures their client-programs to use my
> qmail-server as SMTP. What i want to do is to route some of the
> clients (or if thats not possible, then all of them) to the
> exchange-server when they're sending outgoing mail (SMTP). I don't
> want to reconfigure the clients, so is there a way to use SMTPROUTES
> or something else to handle this?
The box is a Linux-box, right? What you could do was redirect it
without involving Qmail. Simply check where they are coming from, and
use ipchains/portfw (or something like that) to forward it to the port
on the exchange server. Not an ideal solution, but it should be
doable.
> I still want mail from the outside to be delivered to my
> qmail-server, because all the clients have their mailboxes there. So
> is there a way to do this? or is more information needed here?
An alternative way of doing it is to something like what I outlined in
(1), but make it run on all mail coming from those you relay from
(this can probably be done if you run qmail-smtpd under tcpserver, and
supply various enviromentvariables). You might also need to modify
qmail-smtpd some.
--
Thorkild Stray - LinPro AS <[EMAIL PROTECTED]>