Re: [Exim] Block email address

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Xander D Harkness
Date:  
À: ketvin, exim list
Sujet: Re: [Exim] Block email address
On Wed, 2003-08-13 at 08:51, ketvin wrote:
> This is a multi-part message in MIME format.
> --
> --
> [ Picked text/plain from multipart/alternative ]
> Hi, I am having problem with the famous MiMail virus that send admin@??? emails. How do I block any email that is started with "admin" ? And is there anyway to protect Exim from that virus?
>

This can be done using an acl

  deny    message       = This message has been denied as you are \
sending to an email address that has been sold by a spammer. :-)
          local_parts   = nospamthankyou : nospam: \
 /etc/mail/ban_localpart
          domains       = /etc/mail/local-domains


I receive email to users such as phil or eong (there are no users phil
or eong at this domain). They have obviously been added to a number of
spammers lists.

#############################

You could also use:

  deny    message = Your email has been rejected probably because \
                    your domain or host has been sending spam. \
                    Please try resending to postmaster at the domain you
want.
          senders = /etc/mail/sender_reject



where sender_reject has the following format:
ruk1.com
test@???
trafficbbs.net
wiildaccess.com
members@???
*@mail.nfbg.co.uk


Kind regards
Xander

>
> Thank you.
>
>
> --
>
> --
>
>
> --
>
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim details at http://www.exim.org/ ##
>