[ale] blocking mail from a domain with exim?

Robert L. Harris Robert.L.Harris at rdlg.net
Thu Sep 11 22:53:17 EDT 2003



I need to block email from a domain using just the exim rules.  Does
anyone have anything like this set up?

Going by the docs I have this:

---------------------------------------------------------
# Exim filter
if
  error_message
then
 finish
endif

if $reply_address contains "@moron.net" and
   $reply_address does not contain "postmaster@"
then
   seen finish
endif
---------------------------------------------------------

:wq!
---------------------------------------------------------------------------
Robert L. Harris                     | GPG Key ID: E344DA3B
                                         @ x-hkp://pgp.mit.edu
DISCLAIMER:
      These are MY OPINIONS ALONE.  I speak for no-one else.

Life is not a destination, it's a journey.
  Microsoft produces 15 car pileups on the highway.
    Don't stop traffic to stand and gawk at the tragedy.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available




More information about the Ale mailing list