Re: [Exim] add hosts to a do not allow email to get through

Top Page
Delete this message
Reply to this message
Author: Dave C.
Date:  
To: john jaikovski
CC: exim-users
Subject: Re: [Exim] add hosts to a do not allow email to get through
On Mon, 30 Sep 2002, john jaikovski wrote:

>
>
> "Dave C." wrote:
> On Thu, 26 Sep 2002, john jaikovski wrote:


In the future, you should reply back to the list instead of to
individuals directly, that way more people see your question and can
help.

>
> > --
> > [ Picked text/plain from multipart/alternative ]
> >
> >
> > i have looked in the exim and manual and think that i am missing this.
> > what i am trying to do is any email address that are spamming us we would like exim to not send that to rect but just delete or drop it somewhere w/o making it to the recpt nor sending it back to the sender?
> > is this possible. i think i remeber something like this in sendmail but cannot remember.
> > thanks
> > John
>
> You should indicate if you are using exim3 or exim4.
>
> if exim4, you'd want to add an appropriate DENY to an SMTP ACL..
>
> for exim3, I think 'host_reject' might be what you are looking for..
>
>


> i looked in this file, but i thought this is the hosts.deny file to
> not allow users to use any of the services such as ftp, telnet. we
> have it set to deny all


Well, thats related to tcp_wrappers. Exim _can_ use that if so
configured, but I'm not sure how off the top of my head. Plus, exim has
much more powerful facilities builtin, so I wouldnt recommend it.

> what i am looking for is the file(not sure) where i can put spmmers
> email address or ip address for it to automatially deny the mail
> from known spammers.


Uhm.. You never did specify which version of exim you were using, but
please re-read what I said above.

Also note that 'spammers email addresses' is a misnomer - spammers dont
actually use their own personal email addresses in their spam - the
"From:" addresss used in spam are usually either fake, forged, or some
innocent third party's address. Blocking on those is of very little use.

Anyway, all exim configuration is done in its own config file. Sounds
like you need to read the exim spec.txt documentation file, as it
explains all this quite clearly.

Oh, btw, if you are using exim locally only, and are using fetchmail or
something to get your mail, then the spammers IP addresses never connect
to you so that wont work either. Only if you actually have an exim
server receiving its mail by SMTP for a domain will that work.



> >
> >
> >
> > ---------------------------------
> > Do you Yahoo!?
> > New DSL Internet Access from SBC & Yahoo!
> > --
> >
> > --
> >
> > ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim details at http://www.exim.org/ ##
> >
> >
>
>
>
>
>
> --
>
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim details at http://www.exim.org/ ##
>
>
>
>
> Thanks
>
> John Jaikovski
>
>
>
> ---------------------------------
> Do you Yahoo!?
> New DSL Internet Access from SBC & Yahoo!