home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / mail / sendmail / 3030 < prev    next >
Encoding:
Text File  |  1992-12-17  |  1.3 KB  |  30 lines

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