sendmail routing

sendmail routing

am 02.08.2007 00:42:30 von LM

How can I get sendmail to route all email from the local domain outside
(i.e. to an outside spam filtering company) instead of instantly delivering
it locally??

Re: sendmail routing

am 02.08.2007 23:11:13 von jack craig

LM wrote:
> How can I get sendmail to route all email from the local domain outside
> (i.e. to an outside spam filtering company) instead of instantly delivering
> it locally??
dont route it, reject it.

--
Jack Craig jackc@imageintegration.com 831-684-1375
-------------------------------------

Re: sendmail routing

am 04.08.2007 10:22:59 von per

In article <46b10c56$0$1339$834e42db@reader.greatnowhere.com> LM
writes:
>How can I get sendmail to route all email from the local domain outside
>(i.e. to an outside spam filtering company) instead of instantly delivering
>it locally??

As asked, the answer to the question is simple: Just take the domain
name out of local-host-names and add a mailertable entry for it pointng
to the filtering host. But if that same mail then comes back to the same
server after filtering, and you want to deliver it locally *then*, it
gets quite a bit trickier. It's possible to write custom rules to route
differently depending on the identity of the client host, and I may even
have posted some such rules here in the past - but it may be simpler to
use two different sendmail setups (possibly running on different IP
addresses on one host).

--Per Hedeland
per@hedeland.org