Re: [exim] BLOCK EMAIL

Top Pagina
Delete this message
Reply to this message
Auteur: Fred Viles
Datum:  
Aan: exim-users
Onderwerp: Re: [exim] BLOCK EMAIL
On 3 May 2005 at 13:22, ppp2005@??? wrote about
    "[exim] BLOCK EMAIL":


| Hi all,
|
| Sorry, but I am a beginner in Exim.


I hope you will take the time to read the Fine Manual, spec.txt.

| First Help:
| ------------------
| How can I block e-mails with exim in initial greeting and drop connection?


With a "drop" stanza in an acl_smtp_connect ACL. For example:

hostlist bad_hosts = 4.3.2.1 : 1.2.3.0/24 : smtp.spamhaven.com
...
acl_smtp_connect = acl_check_connect
...
begin acl
...
acl_check_connect:
  drop    message        = Connection rejected, go away.
    hosts        = bad_hosts


accept
...

|...
| Another Help: ------------------ Is it possible to drop connections in
| initial greeting by host too? 2005-05-03 13:20:01 H=(inform100)


If you mean by a name that resolves to their IP address, sure (as
above example). If you mean by their HELO/EHLO name, then no, not
without a time machine. The HELO/EHLO command has not been sent yet.

- Fred