Hi Carl, Yes, it goes in the $default$.junkmail, and you can specify a complete email address for the REDIRECT statement for per-user config.
It works for both accounts and aliases. This is the feature designed to do exactly what you wanted. Darin. From: Carl Wagar Sent: Saturday, November 08, 2014 10:11 AM To: [email protected] Subject: [MBF] Re: change weights or SKIP for a particular TO address I have been creating per-domain config by having a subfolder under the Declude folder that has the domain name such as example.com and then I put a $default$.junkmail file in the folder. So this is an interesting alternative. Does this go in global.cfg? REDIRECT @example.com F:\IMail\Declude\$example.com$.junkmail But what I am looking for is a per user configuration. We have a lot of domains on this server and a lot of users in each domain. I don’t want to mess things up for everyone, due to one complaining user. If a particular user is sensitive to false positives, is uncooperative about whitelisting and concerned that they cannot whitelist people they haven’t heard from yet, I have to be able to do something without ruining everyone else. I would like to either turn off ALL filtering on incoming mail for that particular user, or even better, be able to remove the just the upper threshold HOLD directive, for incoming mail to that one user only. The rest of their domain would stay the same. Can one redirect by RCPT-TO address? Something like this would be great: REDIRECT [email protected] F:\IMail\Declude\$user.example.com$.junkmail I would also want it to work for an alias as well. Thanks. Carl J. Carl Wagar EntreNet Communications Inc www.entrenet.com www.thehostingservice.com 24 Swain Ave, Ottawa, ON, K1G 4T1, Canada Email: [email protected], skype: jcwagar Tel: +1 613-737-7327, Fax: +1 613-737-5801 Cel: +1 613-818-8898 From: [email protected] [mailto:[email protected]] On Behalf Of Darin Cox Sent: Saturday, November 8, 2014 9:47 AM To: [email protected] Subject: [MBF] Re: change weights or SKIP for a particular TO address We’ve had something like this for over 10 years for generic negative weighting when specific negative weights are difficult to determine: IPBLACKLIST ipfile F:\IMail\Declude\ipblacklist.txt x 200 0 IPWHITELIST ipfile F:\IMail\Declude\ipwhitelist.txt x -300 0 FROMBLACKLIST fromfile F:\IMail\Declude\fromblacklist.txt x 200 0 FROMWHITELIST_LOW fromfile F:\IMail\Declude\fromwhitelist_low.txt x -100 0 FROMWHITELIST_MED fromfile F:\IMail\Declude\fromwhitelist_med.txt x -200 0 FROMWHITELIST_HIGH fromfile F:\IMail\Declude\fromwhitelist_high.txt x -500 0 Our hold weight is 100. However, for Carl’s per-user config issue, I think the best way to handle it is the per-domain or per-user config support in Declude: In the $default$.junkmail file set up REDIRECT @example.com F:\IMail\Declude\$example.com$.junkmail and create $example.com$.junkmail to have appropriate actions for the tests, e.g. WARN only. We have a few domains and special purpose addresses that we want no filtering for, so this works perfectly for that. We created a $nofilter$.junkmail that we use for those, and also have a few junkmail configs that are domain specific. Darin. From: Randy Armbrecht Sent: Saturday, November 08, 2014 9:10 AM To: [email protected] Subject: [MBF] Re: change weights or SKIP for a particular TO address I set up a simple filter file like this year's ago. I call it GoodMailingList.txt with -50 points to start Works very well Randy A. Sent from my mobile device. Please excuse any brevity or misspellings -------- Original message -------- From: Carl Wagar Date:11/08/2014 12:04 AM (GMT-05:00) To: [email protected] Subject: [MBF] Re: change weights or SKIP for a particular TO address Thanks, that’s a start. So you mean I’d have to put this in my custom FILTER_SCAM.txt etc? Is there way to bypass SNIFFER and BHL’s as well? I guess you’re saying there is nothing I can put in global.cfg or $default$.junkmail for a domain to do it globally. Hmm. I wonder if I could put the following in just a single custom filter and have it work: HEADERS -400 PCRE (?:X-RCPT-TO.*[email protected]) So if that person [email protected] is the recipient would it subtract -400 off the weight and surely reduce the weight so much as to counteract every other test, and so, then allow everything through to that person without filtering? Carl J. Carl Wagar EntreNet Communications Inc www.entrenet.com www.thehostingservice.com 24 Swain Ave, Ottawa, ON, K1G 4T1, Canada Email: [email protected], skype: jcwagar Tel: +1 613-737-7327, Fax: +1 613-737-5801 Cel: +1 613-818-8898 From: [email protected] [mailto:[email protected]] On Behalf Of David Barker Sent: Friday, November 7, 2014 9:43 PM To: [email protected] Subject: [MBF] Re: change weights or SKIP for a particular TO address If you use the following line in a filter the filter will not run for that user. ALLRECIPS END CONTAINS [email protected] David On 11/7/2014 5:38 PM, Carl Wagar wrote: I have a particular legacy user who has a mailbox for a domain where I do not want to change the weightings for the whole domain (making a domain-name-matching folder with a $default$.junkmail). Is there a way for me to have weights set or SKIP filtering for a particular user? Thanks. Carl J. Carl Wagar EntreNet Communications Inc www.entrenet.com www.thehostingservice.com 24 Swain Ave, Ottawa, ON, K1G 4T1, Canada Email: [email protected], skype: jcwagar Tel: +1 613-737-7327, Fax: +1 613-737-5801 Cel: +1 613-818-8898 -- David BarkerMail’s Best FriendEmail : [email protected] : www.mailsbestfriend.comOffice : 866.919.2075Mobile : 978.518.6461
