home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.mail.sendmail
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!mp.cs.niu.edu!rickert
- From: rickert@mp.cs.niu.edu (Neil Rickert)
- Subject: Re: Sendmail rule matching ?
- Message-ID: <1992Dec17.183936.7978@mp.cs.niu.edu>
- Organization: Northern Illinois University
- References: <1992Dec16.230543.27790@nobeltech.se>
- Date: Thu, 17 Dec 1992 18:39:36 GMT
- Lines: 19
-
- In article <1992Dec16.230543.27790@nobeltech.se> ppan@nobeltech.se (Per Andersson) writes:
- >Hi.
- >
- >I have a problem a little different to most others here. I need to do MX
- >delivery to some local domains, sweden,norway etc. and go through a relay
- >host for the rest of the mail. I tried rules like this in rule 3 or 13:
- >
- >R$*<@$*.no>$* $#TCP $@ $2.no $:$1<@$2.no>$3 user@any.no
-
- Mailer selection rules, such as this, must go in ruleset 0, or in a
- ruleset called as a subroutine by ruleset 0. Putting this in ruleset 3
- is certainly a mistake.
-
- If, as you indicate, you are using IDA then try the supplied configuration
- package. You can use a RELAY_HOST/RELAY_MAILER to send out most mail,
- use the ISOLATED_DOMAIN option to directly send to your own domain and
- a few others, and for more flexibility you can use MAILERTABLE entries
- to individually select hosts or domains to which you mail directly.
-
-