<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-GB link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'>This is a bespoke solution for their helpdesk who want their own servers incoming and outgoing. They don’t have much SSH experience, so I wanted to allow mailscanner to do the RBL checks and possibly quarantine the RBL emails, so they can see this via mailwatch. I’m thinking that this will fill up the drives for the machine, but the drives are going to be pretty large so I don’t think that would be a problem. <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'>I might just use the mta to run my rbl checks to be honest, because I know this is the best option, but I thought I would ask the question since I have never tried this before. I want to give them some options but I want to give them the correct options. <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'>Or, does anyone know if there is a sendmail plugin that could inject the RBL sql queries into the mailwatch database, or another database I could link to the mailwatch database? <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'>Thanks,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'>Rich<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif'>From:</span></b><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif'> MailScanner [mailto:mailscanner-bounces+richard=fastnet.co.uk@lists.mailscanner.info] <b>On Behalf Of </b>Jorge Amador Arenas Quezada<br><b>Sent:</b> Wednesday, July 6, 2016 20:00<br><b>To:</b> 'MailScanner Discussion' <mailscanner@lists.mailscanner.info><br><b>Subject:</b> RE: RBL Checks within mailscanner - no spam scanning<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span lang=ES-MX style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'>Virus Scanning = yes <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'>Spam checks = yes<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'>Spam List =  spamhaus-ZEN spamhaus.org spamhaus-XBL RATS NJABL spamcop.net             CBL BARRACUDA                JustSpam UCEPROTECT<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'>Spam List To Be Spam = 2<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'>Spam List to Reach High Score = 3<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'>Use Spamassassin = no <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'>Jorge Arenas<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><b><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif'>From:</span></b><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif'> MailScanner [<a href="mailto:mailscanner-bounces+jorgeaaq=gmail.com@lists.mailscanner.info">mailto:mailscanner-bounces+jorgeaaq=gmail.com@lists.mailscanner.info</a>] <b>On Behalf Of </b>Martin Hepworth<br><b>Sent:</b> miércoles, 6 de julio de 2016 01:07 p. m.<br><b>To:</b> MailScanner Discussion <<a href="mailto:mailscanner@lists.mailscanner.info">mailscanner@lists.mailscanner.info</a>><br><b>Subject:</b> Re: RBL Checks within mailscanner - no spam scanning<o:p></o:p></span></p><p class=MsoNormal><span lang=ES-MX><o:p> </o:p></span></p><p class=MsoNormal><span lang=ES-MX>Sure its possible and you can set to a min. Number of rbls before its marked as spam<br><br>but why is the client asking for this? Seems like youve got a solution to a problem but whats the problem?<o:p></o:p></span></p><div><div><p class=MsoNormal><span lang=ES-MX>On Wed, 6 Jul 2016 at 18:13, Peter Lemieux <<a href="mailto:mailscanner@replies.cyways.com">mailscanner@replies.cyways.com</a>> wrote:<o:p></o:p></span></p></div><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt'><p class=MsoNormal style='margin-bottom:12.0pt'><span lang=ES-MX>I prefer to let SpamAssassin do the RBL checks since they give the different<br>RBLs varying weights.  Using a milter or some other method requires you to<br>make a yes or no decision during the SMTP exchange.  Leaving it to SA lets<br>you put the RBL results into a bigger context.<br><br>However your client's request might work better at the SMTP level though<br>since they only want to use blacklists.  So you could use some form of<br>milter with your mail exchanger (sendmail, Postfix, exim, etc.) and turn off<br>spam scanning in MailScanner altogether.<br><br>Alternatively, you could put a copy of /usr/share/spamassassin/<a href="http://72_scores.cf" target="_blank">72_scores.cf</a><br>in /etc/mail/spamassassin and set all the scores to zero except for the<br>RBL-related ones.  Then you can let MailScanner invoke SpamAssassin and only<br>the RBL scores will apply.<br><br>I definitely agree with Kevin that bouncing either spam or viruses back to<br>their alleged "senders" is a bad idea. You'll just flood your outbound mail<br>queue with undeliverable messages directed to bogus spamming accounts.<br><br>Peter<br><br><br>On 07/06/2016 12:43 PM, Kevin Miller wrote:<br>> You don’t want to bounce mail from w/in MailScanner – so much of it (close<br>> to all I’d wager) has a forged from address and/or envelope sender address<br>> that the bounce will end up going to someone that had nothing to do with the<br>> spam.  That’s a good way to get yourself blacklisted.  An old trick of<br>> spammers is to send to bogus addresses with a good from address.  The spam<br>> is bounced to the from address who is the real target, disguised as a<br>> non-delivery report.  Pretty sleazy.<br>><br>> The proper way is to reject at the MTA rather than in MailScanner, as that<br>> deals directly with the sending server.<br>><br>> ...Kevin<br>><br>> --<br>><br>> Kevin Miller<br>><br>> Network/email Administrator, CBJ MIS Dept.<br>><br>> 155 South Seward Street<br>><br>> Juneau, Alaska 99801<br>><br>> Phone: (907) 586-0242, Fax: (907) 586-4588 Registered Linux User No: 307357<br>><br>> *From:*MailScanner<br>> [mailto:<a href="mailto:mailscanner-bounces%2Bkevin.miller" target="_blank">mailscanner-bounces+kevin.miller</a>=<a href="mailto:juneau.org@lists.mailscanner.info" target="_blank">juneau.org@lists.mailscanner.info</a>]<br>> *On Behalf Of *Richard Mealing<br>> *Sent:* Wednesday, July 06, 2016 7:57 AM<br>> *To:* MailScanner discussion (<a href="mailto:mailscanner@lists.mailscanner.info" target="_blank">mailscanner@lists.mailscanner.info</a>)<br>> *Subject:* RBL Checks within mailscanner - no spam scanning<br>><br>> Hi everyone,<br>><br>> I have a request from a client who wants to see all the RBL checks within<br>> mailscanner, but they don’t want to do any SA spam scanning, just AV scanning.<br>><br>> Is this possible?<br>><br>> I’ve never done RBL checks on mailscanner before. I’m wondering how it<br>> works. I read somewhere that is quarantines the emails, is that correct? Is<br>> there any way to bounce the emails back to the sender?<br>><br>> Thanks,<br>><br>> Rich<br>><br>><br>><br>><br>><br><br><br>--<br>MailScanner mailing list<br><a href="mailto:mailscanner@lists.mailscanner.info" target="_blank">mailscanner@lists.mailscanner.info</a><br><a href="http://lists.mailscanner.info/listinfo/mailscanner" target="_blank">http://lists.mailscanner.info/listinfo/mailscanner</a><o:p></o:p></span></p></blockquote></div></div></body></html>