<div dir="ltr"><div><div><div><div><div><div>You can do it at MTA level. If you're using postfix you could just do something like this:<br><br></div>smtpd_recipient_restrictions =<br></div>  check_sender_access hash:/etc/postfix/blacklist<br><br></div>The contents of the /etc/postfix/blacklist file:<br><br></div><a href="mailto:her@badlullaby.com">her@badlullaby.com</a> DISCARD<br><br></div>You will only see a postfix log like this:<br><br>Sep  9 11:10:49 mailserver postfix/smtpd[11981]: NOQUEUE: discard: RCPT from <a href="http://mail.badlullabies.com">mail.badlullabies.com</a>[69.69.69.69]: <<a href="http://mail.badlullabies.com">mail.badlullabies.com</a>[69.69.69.69]>: Client host triggers DISCARD action; from=<<a href="mailto:her@badlullaby.com">her@badlullaby.com</a>> to=<<a href="mailto:someone@yourdomain.com">someone@yourdomain.com</a>> proto=ESMTP helo=<<a href="http://mail.badlullabies.com">mail.badlullabies.com</a>><br><br></div>Does that make sense for you?<br><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Sep 9, 2016 at 7:32 AM, Fa. Dellschau Robert Dellschau <span dir="ltr"><<a href="mailto:robert@dellschau.de" target="_blank">robert@dellschau.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  

    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <p>Hello @ list !
      <br>
      I'm using mailscanner since .... 2003? 2005?
      <br>
      <br>
      But now there is a new "obstacle" I try to understand:
      <br>
      I want to keep out emails from my stalking / hoovering
      ex-girlfriend.
      <br>
      I tried to set her adress to the blacklist .... and yes, the are
      marked as highscored spam and delivered to quarantine
      <br>
      but .. I want them to be deleted at first sight, so that I'm not
      in the risk of reading them the first moment.
      <br>
      otherwise .... if I would like to announce her misbehavior to
      court, I'd should have copies of all the rubbish, she sendt.
      <br>
      <br>
      My Idea is to set in the "scan.mail.rules" file a line with
      <br>
      from:  <a href="mailto:her@badlullaby.com" target="_blank">her@badlullaby.com</a>  archive
      delete    --> would that archive & delete all emails from
      her? 
      <br>
      <br>
      any ideas ?
      <br>
      <br>
      Kind regards
      <br>
      robert
      <br>
      nearby cologne / germany.
      <br>
    </p>
    <br>
    <div>-- <br>
      
      
      
      <br>
      <div>
        <div>
          <div>
            <div>
              <table style="width:622px;height:43px" border="0" cellpadding="2" cellspacing="2">
                <tbody>
                  <tr>
                    <td valign="top">
                      <hr style="width:100%;min-height:2px"><small><small><a style="font-family:Helvetica,Arial,sans-serif" href="http://www.dellschau.de/richel-folienhallen-allzweckhallen-tierzuchthallen.html" target="_blank">RICHEL-Folienhallen</a>-<a style="font-family:Helvetica,Arial,sans-serif" href="http://www.dellschau.de/multibloc-betonblocksteine.html" target="_blank">MULTIBLOC-<wbr>BetonBlocksteine</a>-<a style="font-family:Helvetica,Arial,sans-serif" href="http://www.folienhallen-industrie.de/cms/" target="_blank">Folienhallen-<wbr>fuer-die-Industrie</a>-<a href="http://www.dellschau.de/gebrauchte-technik.html" target="_blank"><span style="font-family:Helvetica,Arial,sans-serif">Gebrauchte
                              Technik</span> </a></small></small></td>
                  </tr>
                </tbody>
              </table>
              <span></span>
              <table style="width:624px;height:169px" border="0" cellpadding="2" cellspacing="2">
                <tbody>
                  <tr>
                    <td valign="top"><small><font face="Helvetica,
                          Arial, sans-serif"><u><b><big><big><i>DELLSCHAU
                                    Bauhandel & Recyclingbedarf GmbH</i></big></big></b></u></font></small><b><br>
                        <small><span style="font-family:Helvetica,Arial,sans-serif">Brechen
                            - Sieben- Sortieren - Baumaschinenhandel. </span></small><br>
                      </b><small><span style="font-family:Helvetica,Arial,sans-serif">Professionelles
                          für's Recycling - Aufbereitungstechnik -
                          Consulting</span></small><br style="font-family:Helvetica,Arial,sans-serif">
                      <span style="font-family:Helvetica,Arial,sans-serif"> 5<small>0129
                          Bergheim Glessen - Im Brauweiler Feld 6</small><br>
                      </span><small><span style="font-family:Helvetica,Arial,sans-serif">Tel : 02238 /
                          942074
                          Fax : 02238 / 942075</span><br>
                        <a href="http://www.dellschau.de/" target="_blank">www.dellschau.de</a>
                        <a href="mailto:info@dellschau.de" target="_blank">info@dellschau.de
                        </a>-- </small><small><a href="http://www.dellschau.de/impressum.html" target="_blank">impressum</a><br>
                      </small><small><small>Sitz der Gesellschaft: 50126
                          Bergheim,
                          Handelsregister Köln HRB 40328<br>
                          Geschäftsführung : Dipl. Ing. R.Dellschau,
                          J.M. Dellschau </small></small><br>
                    </td>
                    <td valign="top"><img style="width:121px;min-height:110px" alt="." title="." src="cid:part9.6D2941F9.39C5D428@dellschau.de"><br>
                    </td>
                  </tr>
                  <tr>
                    <td style="vertical-align:top">
                      <hr> </td>
                    <td style="vertical-align:top"><br>
                    </td>
                  </tr>
                </tbody>
              </table>
              <small><br>
              </small><br>
            </div>
          </div>
        </div>
      </div>
    </div>
  <br> <table style="border-top:1px solid #d3d4de">
        <tbody><tr>
      <td style="width:55px;padding-top:18px"><a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient" target="_blank"><img src="https://ipmcdn.avast.com/images/icons/icon-envelope-tick-round-orange-animated-tick-v1.gif" style="width:46px;min-height:29px" height="29" width="46"></a></td>
                <td style="width:470px;padding-top:17px;color:#41424e;font-size:13px;font-family:Arial,Helvetica,sans-serif;line-height:18px">Virenfrei. <a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient" style="color:#4453ea" target="_blank">www.avast.com</a>                </td>
        </tr>
</tbody></table>
</div>

<br><br>
<br>
--<br>
MailScanner mailing list<br>
<a href="mailto:mailscanner@lists.mailscanner.info">mailscanner@lists.mailscanner.<wbr>info</a><br>
<a href="http://lists.mailscanner.info/mailman/listinfo/mailscanner" rel="noreferrer" target="_blank">http://lists.mailscanner.info/<wbr>mailman/listinfo/mailscanner</a><br>
<br>
<br></blockquote></div><br></div>