procmail
[Top] [All Lists]

Wrong To: addr

2001-05-02 10:06:32

    How can I refuse mail that comes in that doesn't have a valid TO:
address for our domain?

    Take the following header for example:

Return-Path: <replyhere4(_at_)flashmailbox3(_dot_)com>
Received: from users.pcraft.com (mx1.pcraft.com [206.168.220.51])
        by speedy.pcraft.com (8.11.2/8.11.2-humbug) with ESMTP id
f42GsLl32408
        for <kirash(_at_)speedy(_dot_)pcraft(_dot_)com>; Wed, 2 May 2001 
10:54:22 -0600
Received: from localhost.localdomain (185.flashmailbox.com
[212.107.196.185] (may be forged))
        by users.pcraft.com (8.9.3/8.9.3-MX1) with ESMTP id KAA12982;
        Wed, 2 May 2001 10:51:00 -0600
From: replyhere4(_at_)flashmailbox3(_dot_)com
Date: Thu, 3 May 2001 03:47:33 +1100
Message-Id: <200105021647(_dot_)f42GlXI07568(_at_)localhost(_dot_)localdomain>
To: irvrfmrvrd(_at_)bellatlantic(_dot_)net
Reply-To: replyhere4(_at_)flashmailbox3(_dot_)com
Subject: Barely Legal
Schoolgirls                                                   enlow


    Our domain is pcraft.com, and the To: field has bellatlantic.net in
it.  How can I refuse these emails?  Or should I?  Would this cause
problems for mailing lists that send out email with a To: field of the
list address, as opposed to the actual user address?  If so, is there
any other way of filtering out these types of spam and still allowing
for lists to come through with no problem?

--
W |
  |  I haven't lost my mind; it's backed up on tape somewhere.
  |____________________________________________________________________
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  Ashley M. Kirchner <mailto:ashley(_at_)pcraft(_dot_)com>   .   303.442.6410 
x130
  SysAdmin / Websmith                           .     800.441.3873 x130
  Photo Craft Laboratories, Inc.             .        eFax 248.671.0909
  http://www.pcraft.com                  .         3550 Arapahoe Ave #6
  .................. .  .  .     .               Boulder, CO 80303, USA


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>