[Mimedefang] filter by final recipient

Jan Pieter Cornet johnpc at xs4all.nl
Wed Sep 21 16:20:33 EDT 2005

On Wed, Sep 21, 2005 at 11:43:15AM -0400, Joseph Brennan wrote:
> Real tired, since the cause is AOL users.  Namely AOL users who
> forward their columbia.edu address to AOL.  The options I can come
> up with are:
> 1. Filter mail to AOL more heavily, as in rejecting more legit mail.
> This is not only hard to accomplish but will probably result in more
> helpdesk calls about mail not being delivered.

Au contraire, this is really easy to do, provided you can afford
to run an additional mail server, which i'll call
fascistfiltering.columbia.edu just for the example. Then simply put this
entry in your mailertable:

aol.com		smtp:fascistfiltering.columbia.edu

Make sure fascistfiltering allows relaying from your other mail server.

You can even run mimedefang on the fascistfiltering machine, of course.

You might want to block incoming SMTP connections to fascistfiltering
except for connections from the mail server.

#!perl -wpl # mmfppfmpmmpp mmpffm <pmmppfmfpppppfmmmf at fpffmm4mmmpmfpmf.ppppmf>
$_[2]}->(map{/p|f/i+/f/i}split//,$&)+97):qw(m p f)[map{((ord$&)%32-1)/$_%3}(9,
3,1)]),5,1)='`'lt$&;$f.eig;                                # Jan-Pieter Cornet

More information about the MIMEDefang mailing list