On Thu, 12 Oct 2000, Soumeyndu S. Mohapatra wrote:
> How to configure sendmail so that it will forward mails (destinated to
> internet domain... but except mails destinated to local domain) without
> trying to resolve their domain name, to the Smart Relay Hosts.
>
there may be other solutions but the following worked for me.
Assuming you have setup the mailer table, put the following after
CPREDIRECT in your sendmail.cf .
CPARPA NATO COM EDU GOV INT MIL NET ORG BITNET IUNET
CPAD AE AF AG AI AL AM AN AO AQ AR AS AT AU AW AZ BA BB BD BE BF BG BH BI
CPBJ BM BN BO BR BS BT BV BW BY BZ CA CC CF CG CH CI CK CL CM CN CO CR CS
CPCU CV CX CY CZ DE DJ DK DM DO DZ EC EE EG EH ER ES ET FI FJ FK FM FO FR
CPFX GA GB GD GE GF GH GI GL GM GN GP GQ GR GS GT GU GW GY HK HM HN HR HT
CPHU ID IE IL IN IO IQ IR IS IT JM JO JP KE KG KH KI KM KN KP KR KW KY KZ
CPLA LB LC LI LK LR LS LT LU LV LY MA MC MD MG MH MK ML MM MN MO MP MQ MR
CPMS MT MU MV MW MX MY MZ NA NC NE NF NG NI NL NO NP NR NT NU NZ OM PA PE
CPPF PG PH PK PL PM PN PR PT PW PY QA RE RO RU RW SA SB SC SD SE SG SH SI
CPSJ SK SL SM SN SO SR ST SU SV SY SZ TC TD TF TG TH TJ TK TM TN TO TP TR
CPTT TV TW TZ UA UG UK UM US UY UZ VA VC VE VG VI VN VU WF WS YE YT YU ZA
CPZM ZR ZW
This will disable forward lookup for domains under these top level
domains and relay the mails to the host as specified by mailertable.
Hope it helps.
--
#!!! If anything can go wrong, _FIX_ it. (To hell with MURPHY)
Ajay kumar Dwivedi
[EMAIL PROTECTED]
----------------------------------------------
An alpha version of a web based tool to manage
your subscription with this mailing list is at
http://lists.linux-india.org/cgi-bin/mj_wwwusr