On Wed, Sep 25, 2013 at 11:34 AM, Klaus Ethgen <Klaus+exim@???> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA512
>
> Hi Srinivas,
>
> Am Mi den 25. Sep 2013 um 8:49 schrieb srinivas kamani:
> > I need to block sender domains in exim4. We are getting lot of spam
> emails
> > from some particular domains. I have done some workaround to block
> > them(blocked their IP in MX).
> >
> > Kindly let me know how to block domains, and how to stop spam emails.
>
> As you seems to use the debian installation (from the name exim4), there
> is still such a mechanism you can use. Just have a look into "man
> exim4-config_files".
>
> Regards
> Klaus Ethgen
>
> Ps. Look for /etc/exim4/local_sender_blacklist.
>
>
Please note that this mechanism is in acl_check_rcpt, after checking
authenticated senders IIRC, which may be a bit later than desirable.
--
Jan