----- Original Message ----- From: "Robin Lynn Frank (SA)" <[EMAIL PROTECTED]>
> Rodney Richison wrote: > > I'm having a bit of trouble finding information on, and using > > > > loadplugin Mail::SpamAssassin::Plugin::RelayCountry > > > > Though, I've installed the module needed via cpan, and enabled it in > my > > local.cf file, > > I do not know what it does exactly. > > > > I would like to give a score based on country's outside the US since > 99% > > of my mail comes from the us. > > > > Is this possible? > > > One question, why would you install something if you don't know what it > does? While it is a worthwhile plugin to provide data to bayes, if your > intention was to create rules based on country of origin, it won't be > helpful. Indeed! Better to look at something like http://countries.nerd.dk/more.html for adding weight based on message source country. Here is a sample of how to implement these in SA as RBL tests: header __RCVD_IN_NERDS eval:check_rbl('nerds', 'zz.countries.nerd.dk.') describe __RCVD_IN_NERDS Received from a spam country tflags __RCVD_IN_NERDS net header RCVD_IN_NERDS_AR eval:check_rbl_sub('nerds', '127.0.0.32') describe RCVD_IN_NERDS_AR Received from Argentina tflags RCVD_IN_NERDS_AR net score RCVD_IN_NERDS_AR 2.5 header RCVD_IN_NERDS_BR eval:check_rbl_sub('nerds', '127.0.0.76') describe RCVD_IN_NERDS_BR Received from Brazil tflags RCVD_IN_NERDS_BR net score RCVD_IN_NERDS_BR 3.5 header RCVD_IN_NERDS_CL eval:check_rbl_sub('nerds', '127.0.0.152') describe RCVD_IN_NERDS_CL Received from Chile tflags RCVD_IN_NERDS_CL net score RCVD_IN_NERDS_CL 2.5 header RCVD_IN_NERDS_CN eval:check_rbl_sub('nerds', '127.0.0.156') describe RCVD_IN_NERDS_CN Received from China tflags RCVD_IN_NERDS_CN net score RCVD_IN_NERDS_CN 3.5 header RCVD_IN_NERDS_HK eval:check_rbl_sub('nerds', '127.0.1.88') describe RCVD_IN_NERDS_HK Received from Hong Kong tflags RCVD_IN_NERDS_HK net score RCVD_IN_NERDS_HK 2.0 header RCVD_IN_NERDS_IN eval:check_rbl_sub('nerds', '127.0.1.100') describe RCVD_IN_NERDS_IN Received from India tflags RCVD_IN_NERDS_IN net score RCVD_IN_NERDS_IN 2.5 header RCVD_IN_NERDS_JP eval:check_rbl_sub('nerds', '127.0.1.136') describe RCVD_IN_NERDS_JP Received from Japan tflags RCVD_IN_NERDS_JP net score RCVD_IN_NERDS_JP 2.0 header RCVD_IN_NERDS_KP eval:check_rbl_sub('nerds', '127.0.1.152') describe RCVD_IN_NERDS_KP Received from North Korea tflags RCVD_IN_NERDS_KP net score RCVD_IN_NERDS_KR 3.5 header RCVD_IN_NERDS_KR eval:check_rbl_sub('nerds', '127.0.1.154') describe RCVD_IN_NERDS_KR Received from South Korea tflags RCVD_IN_NERDS_KR net score RCVD_IN_NERDS_KR 3.5 header RCVD_IN_NERDS_MY eval:check_rbl_sub('nerds', '127.0.1.202') describe RCVD_IN_NERDS_MY Received from Malaysia tflags RCVD_IN_NERDS_MY net score RCVD_IN_NERDS_MY 2.5 header RCVD_IN_NERDS_MX eval:check_rbl_sub('nerds', '127.0.1.228') describe RCVD_IN_NERDS_MX Received from Mexico tflags RCVD_IN_NERDS_MX net score RCVD_IN_NERDS_MX 2.0 header RCVD_IN_NERDS_NG eval:check_rbl_sub('nerds', '127.0.2.54') describe RCVD_IN_NERDS_NG Received from Nigera tflags RCVD_IN_NERDS_NG net score RCVD_IN_NERDS_NG 3.5 header RCVD_IN_NERDS_RU eval:check_rbl_sub('nerds', '127.0.2.131') describe RCVD_IN_NERDS_RU Received from Russia tflags RCVD_IN_NERDS_RU net score RCVD_IN_NERDS_RU 2.5 header RCVD_IN_NERDS_SG eval:check_rbl_sub('nerds', '127.0.2.190') describe RCVD_IN_NERDS_SG Received from North Singapore tflags RCVD_IN_NERDS_SG net score RCVD_IN_NERDS_SG 2.0 header RCVD_IN_NERDS_TW eval:check_rbl_sub('nerds', '127.0.0.158') describe RCVD_IN_NERDS_TW Received from South Taiwan tflags RCVD_IN_NERDS_TW net score RCVD_IN_NERDS_TW 2.5 header RCVD_IN_NERDS_TH eval:check_rbl_sub('nerds', '127.0.2.252') describe RCVD_IN_NERDS_TH Received from Thailand tflags RCVD_IN_NERDS_TH net score RCVD_IN_NERDS_TH 2.5 header RCVD_IN_NERDS_TR eval:check_rbl_sub('nerds', '127.0.3.24') describe RCVD_IN_NERDS_TR Received from Turkey tflags RCVD_IN_NERDS_TR net score RCVD_IN_NERDS_TR 2.0 Bill